Reputation: 7941
I have the next issue : in the plugin's console is highlighted only the file name, but not the line. However, when I click on the link, the editor opens the specified file, and the cursor is placed in the specified line :
The RegexpFilter is initialised in the next way :
console.addMessageFilter(new RegexpFilter(project, RegexpFilter.FILE_PATH_MACROS + ":" + RegexpFilter.LINE_MACROS));
Thank you in advance.
Upvotes: 0
Views: 67
Reputation: 401905
This behavior is by design of the RegexpFilter
implementation, see how the highlightEndOffset
is defined.
Line number is not highlighted, only the file path. If you want it to be highlighted as well, create your own Filter
implementation that will use different logic for the result highlighting.
Upvotes: 1