fix problem with the row cache

This commit is contained in:
Fabian Jakobs 2011-07-28 16:52:00 +02:00
commit b8c0563d62
6 changed files with 61 additions and 20 deletions

View file

@ -254,7 +254,7 @@ var Editor =function(renderer, session) {
var pos = self.session.findMatchingBracket(self.getCursorPosition());
if (pos) {
var range = new Range(pos.row, pos.column, pos.row, pos.column+1);
self.session.$bracketHighlight = self.session.addMarker(range, "ace_bracket");
self.session.$bracketHighlight = self.session.addMarker(range, "ace_bracket", "text");
}
}, 10);
};