mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-27 19:07:24 +00:00
Previously, pressing Shift+Tab would indent the line if no selection was given. While with a selection, it would be unindented. With this change, pressing Shift+Tab with no selection unindents the current line. For this, add unindent_line() helper function. This function unindents the current line by at most one tab width if it starts with whitespace, regardless of cursor position.
16 KiB
16 KiB