move trimRight from fixoldbrowers to lang

This commit is contained in:
Fabian Jakobs 2011-03-31 09:40:35 +02:00
commit c84ec61daf
2 changed files with 2 additions and 2 deletions

View file

@ -869,7 +869,7 @@ var EditSession = function(text, mode) {
TAB_SPACE = 5;
this.$computeWrapSplits = function(textLine, wrapLimit, tabSize) {
textLine = textLine.trimRight();
textLine = lang.stringTrimRight();
if (textLine.length == 0) {
return [];
}