Jeremy Soller
a30576e1eb
Skip blank words at start of line
2022-12-08 10:31:44 -07:00
Hojjat
cd64388451
Added BiDi example to demonstrate reordering works
...
and disabled `wrap simple` since it's not working properly.
2022-12-02 08:30:16 -07:00
Hojjat
c344eec936
This fixes the bidi layout issue.
...
Needs more testing and cleaning up the previous algorithm.
2022-12-02 08:30:16 -07:00
Jeremy Soller
ee54e7626b
Vi-style editor and other editor improvements ( #40 )
...
* WIP VI wrapper for editor
* WIP: block cursor
* Create Edit trait, run CI on all feature options
* Add prints describing build steps to ci.sh
* Custom rendering for Vi editor
* Clippy fixes
* More clippy fixes
* Show clippy results in CI
* Fix for Redox
* Fix clippy lint
* Add vi feature to enable vi-style editor
* Add escape to libcosmic text box
2022-11-15 12:26:59 -07:00
Andrew Wheeler(Genusis)
271ca5cf7a
Converted attr range to use RangeMap BTree ( #41 )
...
* Converted attr range to use RangeMap BTree
* Change get_span() to use First index instead of range.
* update doc comment
2022-11-14 11:05:34 -07:00
Jeremy Soller
268805ba0c
no_std support
2022-11-08 13:24:14 -07:00
Ian Douglas Scott
0d3fb1dd9d
Use ouroboros in FontSystem to avoid lifetime bound
...
Perhaps not quite what ouroboros is expected to be used for, but it's
not too bad, and avoiding the lifetime bound can be a huge help.
2022-11-04 10:37:32 -06:00
Jeremy Soller
ac354c3a2a
Remove AttrsList lifetime bound
2022-11-04 09:44:54 -06:00
Jeremy Soller
d49e8881fd
Use image renderer for iced text widget
2022-10-31 12:04:33 -06:00
Jeremy Soller
e4c8d4ba6b
Make attribute spans use ranges and update docs
2022-10-27 09:56:53 -06:00
Jeremy Soller
6f7e59e092
Add TODO to fix bidi ordering when character wrapping
2022-10-26 20:14:27 -06:00
Jeremy Soller
87c12b11ae
Combine both simple and word wrapping into one layout function
2022-10-26 20:10:38 -06:00
Jeremy Soller
5d1aa8b814
Add simple per-glyph wrapping option
2022-10-26 19:56:13 -06:00
Jeremy Soller
ea64291abb
Make it possible to set attributes per glyph
2022-10-26 15:16:06 -06:00
Jeremy Soller
4798c7ee1a
Add initial rich text example
2022-10-26 14:16:48 -06:00