Update the activeLine on fold changes.

This commit is contained in:
Julian Viereck 2011-05-20 19:17:25 +02:00
commit 811ba3ee11

View file

@ -381,6 +381,9 @@ var Editor =function(renderer, session) {
};
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.
this.renderer.updateFull();
};