no hyperlink highlighting in empty console (CPP-7682)

This commit is contained in:
peter
2016-09-28 16:39:58 +02:00
parent 52cc629ea8
commit 821b19e875
@@ -56,6 +56,8 @@ class AsyncFilterRunner {
}
void highlightHyperlinks(final Filter customFilter, final int startLine, final int endLine) {
if (endLine < 0) return;
Computable<FilterResults> bgComputation = highlightHyperlinksAsync(customFilter, startLine, endLine);
if (ApplicationManager.getApplication().isWriteAccessAllowed()) {
bgComputation.compute().applyHighlights(myHyperlinks);