use general toggleCommentLines for all modes

This commit is contained in:
nightwing 2013-02-18 12:02:19 +04:00
commit e71fd47153
42 changed files with 321 additions and 680 deletions

View file

@ -57,10 +57,7 @@ oop.inherits(Mode, TextMode);
(function() {
this.toggleCommentLines = function(state, doc, startRow, endRow) {
return 0;
};
this.blockComment = {start: "<!--", end: "-->"};
this.getNextLineIndent = function(state, line, tab) {
return this.$getIndent(line);