backspace should eat 4 spaces when the cursor is positioned after a tab
(also for navigation and selection)
This commit is contained in:
parent
16b12da3e3
commit
b6bd3fb726
4 changed files with 52 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue