cosmic-text/src
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
..
edit Fixed Tab indenting the line instead of adding Tab or spaces (#403) 2025-07-16 14:39:48 -06:00
font Variable font support (#400) 2025-07-07 08:50:40 -06:00
attrs.rs fix for test.sh 2025-03-31 17:03:51 +11:00
bidi_para.rs Add more Debug implementations 2023-07-07 21:44:21 -07:00
buffer.rs Fix scroll when vertical offset is exactly layout_height (#401) 2025-07-02 10:29:54 -06:00
buffer_line.rs fix for test.sh 2025-03-31 17:03:51 +11:00
cached.rs resolve all lints, update MSRV 2025-01-22 17:00:01 -07:00
cursor.rs resolve all lints, update MSRV 2025-01-22 17:00:01 -07:00
glyph_cache.rs Add pixel font flag (#402) 2025-07-08 08:58:24 -06:00
layout.rs Variable font support (#400) 2025-07-07 08:50:40 -06:00
lib.rs fix for test.sh 2025-03-31 17:03:51 +11:00
line_ending.rs resolve all lints, update MSRV 2025-01-22 17:00:01 -07:00
math.rs Support expanding tabs 2024-06-10 08:12:42 -06:00
shape.rs Variable font support (#400) 2025-07-07 08:50:40 -06:00
shape_run_cache.rs resolve all lints, update MSRV 2025-01-22 17:00:01 -07:00
swash.rs Add pixel font flag (#402) 2025-07-08 08:58:24 -06:00