disable broken r behaviors

This commit is contained in:
nightwing 2013-05-08 15:04:16 +04:00
commit d7b62038c0
2 changed files with 6 additions and 4 deletions

View file

@ -36,7 +36,9 @@ define(function(require, exports, module) {
(function()
{
this.tokenRe = new RegExp("^["
this.lineCommentStart = "#";
// todo import codeModel from RStudio
/*this.tokenRe = new RegExp("^["
+ unicode.packages.L
+ unicode.packages.Mn + unicode.packages.Mc
+ unicode.packages.Nd
@ -126,7 +128,7 @@ define(function(require, exports, module) {
}
}
return false;
};
};*/
}).call(Mode.prototype);
exports.Mode = Mode;
});

View file

@ -56,10 +56,10 @@ oop.inherits(Mode, HtmlMode);
return this.$session.getState(position.row).match(/^r-/) ? 'R' : 'HTML';
};
this.getNextLineIndent = function(state, line, tab, tabSize, row)
/* this.getNextLineIndent = function(state, line, tab, tabSize, row)
{
return this.codeModel.getNextLineIndent(row, line, state, tab, tabSize);
};
}; */
}).call(Mode.prototype);