-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REPL: tab/backspace aligns to 4 (#22939)
* REPL: tab/backspace aligns to 4 * when pressing tab, compute the number of spaces to insert so that the cursor is aligned to a multiple of 4 chars * when pressing backspace, delete up to 4 spaces so that the cursor is aligned to a multiple of 4 chars * multispaces defaults to false, and de-activate in search-mode * tab: jump to end of line; backspace: try to keep right side aligned * cosmetic changes
- Loading branch information
1 parent
271f210
commit 67f3fc0
Showing
2 changed files
with
165 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters