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 (#2478)
This commit is contained in:
parent
64ded4f5fd
commit
a2294a0c87
src/main/kotlin/com/github/izhangzhihao/rainbow/brackets/action
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user