backspace should eat 4 spaces when the cursor is positioned after a tab

(also for navigation and selection)
This commit is contained in:
Fabian Jakobs 2010-12-18 16:24:48 +01:00
commit b6bd3fb726
4 changed files with 52 additions and 5 deletions

View file

@ -160,6 +160,10 @@ var Document = function(text, mode) {
this.getTabSize = function() {
return this.$tabSize;
};
this.isTabStop = function(position) {
return this.$useSoftTabs && (position.column % this.$tabSize == 0);
};
this.getBreakpoints = function() {
return this.$breakpoints;