cosmic-text/src/edit
Vancha 7646989d6f
Fixed Tab indenting the line instead of adding Tab or spaces (#403)
* Update editor.rs

* Makes sure indent_required is calculated according to the selection type

removed the redundant check for required_indent == 0,
introduced a slightly different path for when no selection = None, and calculated the required tab width and indent position accordingly.

* Undo typo

undid an accidental move of a redraw call outside of a loop

* Corrected indenting with rustfmt

formatted the code with rustfmt to pass the failing CI checks
2025-07-16 14:39:48 -06:00
..
editor.rs Fixed Tab indenting the line instead of adding Tab or spaces (#403) 2025-07-16 14:39:48 -06:00
mod.rs resolve all lints, update MSRV 2025-01-22 17:00:01 -07:00
syntect.rs fix for test.sh 2025-03-31 17:03:51 +11:00
vi.rs resolve all lints, update MSRV 2025-01-22 17:00:01 -07:00