rhysd
|
b7facac135
|
return if text was modified or not from methods to edit text
|
2022-06-15 20:16:47 +09:00 |
|
rhysd
|
6ebd099f28
|
add text editor example
|
2022-06-15 10:28:05 +09:00 |
|
rhysd
|
c019f10431
|
implement FromIterator for TextArea
|
2022-06-14 22:23:10 +09:00 |
|
rhysd
|
c1598c5600
|
add TextArea::is_empty()
|
2022-06-14 16:49:42 +09:00 |
|
rhysd
|
32c31c7b9b
|
return if TextArea::undo and TextArea::redo modified contents
|
2022-06-14 14:27:00 +09:00 |
|
rhysd
|
1c5350905f
|
add documents to Input and CursorMove
|
2022-06-14 12:35:08 +09:00 |
|
rhysd
|
3eb57106b5
|
run unit tests on CI
|
2022-06-13 20:27:59 +09:00 |
|
rhysd
|
f592f59f71
|
refactor logic to move cursor with *::checked_sub
|
2022-06-13 20:26:23 +09:00 |
|
rhysd
|
35b4fb3fd9
|
add contributing guide
|
2022-06-13 20:25:59 +09:00 |
|
rhysd
|
77e8bd5f76
|
add documents for TextArea
|
2022-06-13 20:25:44 +09:00 |
|
rhysd
|
f85822b191
|
add instructions for installation and basic/advanced usage in readme
|
2022-06-13 01:27:29 +09:00 |
|
rhysd
|
c59bff2d26
|
improve block titles to examples and simplify crossterm example
|
2022-06-12 18:03:35 +09:00 |
|
rhysd
|
ebc3eb8e6f
|
fix enter key is not recognized with termion support
|
2022-06-12 18:03:35 +09:00 |
|
rhysd
|
a104799b3f
|
add minimal termion example
|
2022-06-12 18:03:35 +09:00 |
|
rhysd
|
b00061d4e6
|
add support for termion
|
2022-06-12 15:43:04 +09:00 |
|
rhysd
|
03fcccc34a
|
add missing shortcuts and methods
|
2022-06-12 15:27:45 +09:00 |
|
rhysd
|
8d754dd53d
|
support line numbers
|
2022-06-11 22:15:21 +09:00 |
|
rhysd
|
b3f235ff06
|
delete previous/next word
|
2022-06-11 21:31:15 +09:00 |
|
rhysd
|
b75306c787
|
move cursor between paragraphs forward/back
|
2022-06-11 15:30:58 +09:00 |
|
rhysd
|
fd7a6e96f2
|
yank removed strings
|
2022-06-11 14:28:00 +09:00 |
|
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 |
|