remove traces of elastic tabstops from editor.js

This commit is contained in:
nightwing 2013-02-21 00:19:38 +04:00
commit 1228b2d30d

View file

@ -462,21 +462,6 @@ var Editor = function(renderer, session) {
// update cursor because tab characters can influence the cursor position
this.$cursorChange();
console.log(e);
/*if (this.$useElasticTabstops) {
if (this.ElasticTabstops === undefined) {
var ElasticTabstops = require("./elastic_tabstops").ElasticTabstops;
this.ElasticTabstops = new ElasticTabstops(this, this.session);
}
if (!this.ElasticTabstops.$inChange) {
// todo: support multicursor
var row = this.getCursorPosition().row;
// block event calling, because this method makes changes
this.ElasticTabstops.processRow([row]);
}
}*/
};
this.onTokenizerUpdate = function(e) {
@ -1227,7 +1212,6 @@ var Editor = function(renderer, session) {
indentString = lang.stringRepeat(" ", count);
} else
indentString = "\t";
return this.insert(indentString);
}
};