mirror of
https://github.com/chylex/IntelliJ-AceJump.git
synced 2025-05-12 04:34:05 +02:00
Remove only the highlighters added by AceJump when the jump session ends #406
This commit is contained in:
parent
1341c6aff4
commit
176d450855
@ -148,7 +148,9 @@ internal class TextHighlighter {
|
||||
}
|
||||
|
||||
fun reset() {
|
||||
previousHighlights.keys.forEach { it.markupModel.removeAllHighlighters() }
|
||||
previousHighlights.forEach { (editor, highlighters) ->
|
||||
highlighters.forEach(editor.markupModel::removeHighlighter)
|
||||
}
|
||||
previousHighlights.clear()
|
||||
previousHint?.hide()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user