* Added active line highlighting for the gutter

This commit is contained in:
Ruben Daniels 2012-04-08 13:17:03 +02:00 • committed by Fabian Jakobs
commit d6c3e006b6
3 changed files with 25 additions and 13 deletions

View file

@ -68,11 +68,11 @@ var Gutter = function(parentEl) {
this.addGutterDecoration = function(row, className){
if (!this.$decorations[row])
this.$decorations[row] = "";
this.$decorations[row] += " ace_" + className;
this.$decorations[row] += " " + className;
};
this.removeGutterDecoration = function(row, className){
this.$decorations[row] = this.$decorations[row].replace(" ace_" + className, "");
this.$decorations[row] = this.$decorations[row].replace(" " + className, "");
};
this.setBreakpoints = function(rows) {