mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Scope should always be highlighted if caret positioned on close marker.
This option is for highlighting scope while typing inside of it.
This commit is contained in:
+1
-2
@@ -229,8 +229,7 @@ public class IdentifierHighlighterPass extends TextEditorHighlightingPass {
|
||||
* In brace matching case this is done from {@link BraceHighlightingHandler#highlightBraces(com.intellij.openapi.util.TextRange, com.intellij.openapi.util.TextRange, boolean, boolean, com.intellij.openapi.fileTypes.FileType)}
|
||||
*/
|
||||
private void doAdditionalCodeBlockHighlighting() {
|
||||
if (!CodeInsightSettings.getInstance().HIGHLIGHT_SCOPE ||
|
||||
myCodeBlockMarkerRanges.size() < 2 ||
|
||||
if (myCodeBlockMarkerRanges.size() < 2 ||
|
||||
myDocument == null ||
|
||||
!(myEditor instanceof EditorEx)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user