Hi, I am trying to make a plugin that highlights several lines in any ConsoleView created.
I tried implementing my own com.intellij.execution.filters.Filter
and attach this to a ConsoleView in the contentSelected method of a RunContentListener using addMessageFilter method
This seems to work well, but only once.
When you execute a program again the contentRemoved method will be called on the RunContentListener with a reference to the removed ConsoleView but no reference to the ConsoleView that will replace it. ContentSelected wont be called again.
I would kind of expect something like a contentReplaced method being there. Is there some other way to get a reference to the new ConsoleView ?