1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-03 22:35:50 +03:00
Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
rhysd
2bd0665615 move Edit and EditKind into history.rs
since they are used only for undo/redo
2022-06-11 14:13:31 +09:00
rhysd
b30caba358 make crossterm optional 2022-06-11 14:07:14 +09:00
rhysd
164a60195a delete next char and add more ways to create TextArea instance 2022-06-11 13:58:17 +09:00
rhysd
17d7494197 move cursor forward/backward by word 2022-06-11 01:34:49 +09:00
rhysd
6e6a3183be remove trailing spaces invariant 2022-06-10 20:36:23 +09:00
rhysd
108b1a7685 delete line by end/head 2022-06-10 18:28:27 +09:00
rhysd
389aea85ff scroll to top/bottom 2022-06-10 14:44:29 +09:00
rhysd
f4ee02d858 handle horizontal/vertical scrolls 2022-06-10 13:53:05 +09:00
rhysd
bac44ae105 add cursor line highlight 2022-06-10 00:07:35 +09:00
rhysd
d847061951 implement undo as redo of inverted edit 2022-06-09 23:27:55 +09:00
rhysd
05eec63bac remove duplicate in undo/redo implementation 2022-06-09 23:06:36 +09:00
rhysd
58b0381ec7 separate logic to move cursor 2022-06-09 22:56:43 +09:00
rhysd
fc9f017db3 implement undo/redo 2022-06-09 22:39:03 +09:00
rhysd
d3a7806df2 separate sources 2022-06-09 12:27:28 +09:00
rhysd
3c088fd15f implement basic cursor moves 2022-06-09 12:18:28 +09:00
rhysd
a928aec4ee insert newline 2022-06-09 10:05:39 +09:00
rhysd
f28fbefd79 implement inserting tab character 2022-06-09 00:45:09 +09:00
rhysd
e393c3f90a implement conversion from crossterm event to textarea input 2022-06-09 00:04:15 +09:00
rhysd
3cdfa050e5 add first minimal example 2022-06-09 00:01:19 +09:00
rhysd
d6eb01e233 minimal implementation 2022-06-08 21:47:49 +09:00
rhysd
44ec726db1 prepare CI workflow 2022-06-08 20:53:25 +09:00
rhysd
589838ee40 setup rustfmt 2022-06-08 20:51:37 +09:00
rhysd
c9f78ea091 add license 2022-06-06 22:25:48 +09:00