Update the activeLine on fold changes.
This commit is contained in:
parent
95a9744c53
commit
811ba3ee11
1 changed files with 3 additions and 0 deletions
|
|
@ -381,6 +381,9 @@ var Editor =function(renderer, session) {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.onChangeFold = function() {
|
this.onChangeFold = function() {
|
||||||
|
// Update the active line marker as due to folding changes the current
|
||||||
|
// line range on the screen might have changed.
|
||||||
|
this.$updateHighlightActiveLine();
|
||||||
// TODO: This might be too much updating. Okay for now.
|
// TODO: This might be too much updating. Okay for now.
|
||||||
this.renderer.updateFull();
|
this.renderer.updateFull();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue