Call updateHighlightActiveLine in onSelectionChange instead to catch all edge cases.
This commit is contained in:
parent
811ba3ee11
commit
5af76c310c
1 changed files with 2 additions and 0 deletions
|
|
@ -346,6 +346,8 @@ var Editor =function(renderer, session) {
|
|||
var range = this.selection.getRange();
|
||||
var style = this.getSelectionStyle();
|
||||
session.$selectionMarker = session.addMarker(range, "ace_selection", style);
|
||||
} else {
|
||||
this.$updateHighlightActiveLine();
|
||||
}
|
||||
|
||||
if (this.$highlightSelectedWord)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue