mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
turn off html tree highlighting in tests
This commit is contained in:
@@ -17,6 +17,7 @@ package com.intellij.application.options.editor;
|
||||
|
||||
import com.intellij.codeInsight.template.impl.TemplateSettings;
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
import com.intellij.openapi.application.ex.ApplicationEx;
|
||||
import com.intellij.openapi.components.*;
|
||||
import com.intellij.util.xmlb.XmlSerializerUtil;
|
||||
import com.intellij.xml.XmlBundle;
|
||||
@@ -53,6 +54,10 @@ public class WebEditorOptions implements PersistentStateComponent<WebEditorOptio
|
||||
return ServiceManager.getService(WebEditorOptions.class);
|
||||
}
|
||||
|
||||
public WebEditorOptions(ApplicationEx application) {
|
||||
setTagTreeHighlightingEnabled(!application.isUnitTestMode());
|
||||
}
|
||||
|
||||
public void setBreadcrumbsEnabled(boolean b) {
|
||||
myBreadcrumbsEnabled = b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user