mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't use editor highlighter from editor as it is built with other options
This commit is contained in:
@@ -522,7 +522,7 @@ public class FindManagerImpl extends FindManager implements PersistentStateCompo
|
||||
|
||||
try {
|
||||
if (editorHighlighter instanceof LayeredLexerEditorHighlighter) {
|
||||
lexer = LexerEditorHighlighterLexer.getLexerBasedOnLexerHighlighter(text, file, myProject);
|
||||
lexer = new LexerEditorHighlighterLexer(editorHighlighter, false);
|
||||
} else {
|
||||
lexer = highlighter.getHighlightingLexer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user