Commit graph

13 commits

Author SHA1 Message Date
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
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
92cad6fe13
Decouple editing from buffer 2022-10-31 11:24:36 -06:00
Jeremy Soller
b9c01f1a81
Make rich text example editable 2022-10-27 14:52:10 -06:00
Jeremy Soller
e4c8d4ba6b
Make attribute spans use ranges and update docs 2022-10-27 09:56:53 -06:00
Jeremy Soller
3ece9236b3
Use Color in more places 2022-10-27 09:07:47 -06:00
Jeremy Soller
559a83faa5 Improve attribute setting 2022-10-26 18:45:31 -06:00
Jeremy Soller
536c24355c
Always redraw on resize 2022-10-26 18:13:14 -06:00
Jeremy Soller
99ae0d1bee
Scale rich-text and syntax examples 2022-10-26 18:05:38 -06:00
Jeremy Soller
851e55d950
Add markdown sample 2022-10-26 15:37:26 -06:00
Jeremy Soller
77d416b2fd
Add ligatures and increase text size for rich text example 2022-10-26 15:21:30 -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