disable broken r behaviors
This commit is contained in:
parent
5e2ee7a45e
commit
d7b62038c0
2 changed files with 6 additions and 4 deletions
|
|
@ -36,7 +36,9 @@ define(function(require, exports, module) {
|
||||||
|
|
||||||
(function()
|
(function()
|
||||||
{
|
{
|
||||||
this.tokenRe = new RegExp("^["
|
this.lineCommentStart = "#";
|
||||||
|
// todo import codeModel from RStudio
|
||||||
|
/*this.tokenRe = new RegExp("^["
|
||||||
+ unicode.packages.L
|
+ unicode.packages.L
|
||||||
+ unicode.packages.Mn + unicode.packages.Mc
|
+ unicode.packages.Mn + unicode.packages.Mc
|
||||||
+ unicode.packages.Nd
|
+ unicode.packages.Nd
|
||||||
|
|
@ -126,7 +128,7 @@ define(function(require, exports, module) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
};
|
};*/
|
||||||
}).call(Mode.prototype);
|
}).call(Mode.prototype);
|
||||||
exports.Mode = Mode;
|
exports.Mode = Mode;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -56,10 +56,10 @@ oop.inherits(Mode, HtmlMode);
|
||||||
return this.$session.getState(position.row).match(/^r-/) ? 'R' : 'HTML';
|
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);
|
return this.codeModel.getNextLineIndent(row, line, state, tab, tabSize);
|
||||||
};
|
}; */
|
||||||
|
|
||||||
}).call(Mode.prototype);
|
}).call(Mode.prototype);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue