mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diagnostics for misconfigured passes in tests
This commit is contained in:
+1
@@ -209,6 +209,7 @@ public class DaemonCodeAnalyzerImpl extends DaemonCodeAnalyzer implements JDOMEx
|
||||
TextEditorBackgroundHighlighter highlighter = (TextEditorBackgroundHighlighter)textEditor.getBackgroundHighlighter();
|
||||
final List<TextEditorHighlightingPass> passes = highlighter.getPasses(toIgnore);
|
||||
HighlightingPass[] array = passes.toArray(new HighlightingPass[passes.size()]);
|
||||
assert array.length != 0: "Highlighting is disabled for the file "+file;
|
||||
|
||||
final DaemonProgressIndicator progress = createUpdateProgress();
|
||||
progress.setDebug(LOG.isDebugEnabled());
|
||||
|
||||
Reference in New Issue
Block a user