Skip to content

Commit

Permalink
Auto indentation: fix cursor position calculation, fixes #459
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Nov 7, 2019
1 parent 2fb9845 commit b2bb7b5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2190,10 +2190,11 @@ private void removeIndentation() {
if (buf.currChar() == ' ') {
buf.delete();
} else {
buf.move(1);
break;
}
}
endOfLine();
buf.move(1);
}
}

Expand Down

0 comments on commit b2bb7b5

Please sign in to comment.