1
0
mirror of https://github.com/chylex/IntelliJ-Rainbow-Brackets.git synced 2025-05-12 06:34:03 +02:00

Fix scope highlighting does not work issus ()

This commit is contained in:
张志豪 2022-06-07 13:21:31 +08:00
parent 64ded4f5fd
commit a2294a0c87
No known key found for this signature in database
GPG Key ID: 9507D6A6DD737384
2 changed files with 3 additions and 3 deletions
src/main/kotlin/com/github/izhangzhihao/rainbow/brackets/action

View File

@ -25,7 +25,7 @@ class ScopeHighlightingAction : AbstractScopeHighlightingAction() {
highlightManager.addRangeHighlight(this,
rainbowInfo.startOffset,
rainbowInfo.endOffset,
create("ScopeHighlightingAction", attributes),
attributes, //create("ScopeHighlightingAction", attributes),
false, //hideByTextChange
RainbowSettings.instance.pressAnyKeyToRemoveTheHighlightingEffects, //hideByAnyKey
highlighters)

View File

@ -29,7 +29,7 @@ class ScopeOutsideHighlightingRestrainAction : AbstractScopeHighlightingAction()
highlightManager.addRangeHighlight(this,
0,
startOffset,
create("ScopeOutsideHighlightingRestrainAction", attributes),
attributes, //create("ScopeOutsideHighlightingRestrainAction", attributes),
false, //hideByTextChange
RainbowSettings.instance.pressAnyKeyToRemoveTheHighlightingEffects, //hideByAnyKey
highlighters)
@ -41,7 +41,7 @@ class ScopeOutsideHighlightingRestrainAction : AbstractScopeHighlightingAction()
highlightManager.addRangeHighlight(this,
endOffset,
lastOffset,
create("ScopeOutsideHighlightingRestrainAction", attributes),
attributes, //create("ScopeOutsideHighlightingRestrainAction", attributes),
false, //hideByTextChange
RainbowSettings.instance.pressAnyKeyToRemoveTheHighlightingEffects, //hideByAnyKey
highlighters)