toggleLineComment no longer has to return the remove characters

Also make the change as minimal as possible
This commit is contained in:
Fabian Jakobs 2011-02-11 11:34:21 +01:00
commit cfc553f66f
8 changed files with 61 additions and 51 deletions

View file

@ -55,7 +55,7 @@ oop.inherits(Mode, TextMode);
(function() {
this.toggleCommentLines = function(state, doc, startRow, endRow) {
return this.$delegate("toggleCommentLines", arguments, function() {
this.$delegate("toggleCommentLines", arguments, function() {
return 0;
});
};