1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-08-31 04:46:18 +03:00
Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
rhysd
b54fe5c01d implement vertial mouse scroll with both crossterm and termion supports 2022-07-23 20:09:26 +09:00
rhysd
ea377db4ee prefer Into::into to From::from 2022-07-09 12:38:05 +09:00
rhysd
fee107847e use ↓/↑ instead of ^←/^→ to search next/previous in editor example 2022-07-08 17:40:59 +09:00
rhysd
358e9dbc52 search forward/back with ^N/^P in editor example 2022-07-08 12:43:07 +09:00
rhysd
5aa25ea24d show 'match not found' error in search box title in editor example 2022-07-08 12:17:53 +09:00
rhysd
8320fcdbb8 add tests and document for text search 2022-07-08 12:17:53 +09:00
rhysd
86bd8dd6ef report pattern error in title of search box in editor example 2022-07-08 10:22:54 +09:00
rhysd
7bc9a959f2 keep undo history on closing search box in editor example 2022-07-08 10:12:49 +09:00
rhysd
5b08d16214 implement text search in editor example 2022-07-08 10:05:53 +09:00
rhysd
9f54a6758e rename set_hard_tab/hard_tab to set_hard_tab_indent/hard_tab_indent 2022-06-22 22:50:49 +09:00
rhysd
08bcc50e11 support hard tab indent by TextArea::set_hard_tab 2022-06-22 09:01:22 +09:00
rhysd
e357799759 rename multi example to split 2022-06-19 20:45:35 +09:00
rhysd
7a6fc78dae at least 3 lines height to variable example and tweak some variable names 2022-06-19 11:42:43 +09:00
rhysd
08caec05d6 render cursor position in editor example 2022-06-18 19:17:19 +09:00
rhysd
f10b5d52be remove unnecessary layout calculation from examples 2022-06-18 16:21:05 +09:00
rhysd
3ba3a559ca add an example for simple textarea with variable height 2022-06-18 15:52:31 +09:00
rhysd
3e09d9a300 improve message in error example and remove unnecessary block in single input example 2022-06-17 10:54:11 +09:00
rhysd
5fde013747 add single_line example 2022-06-17 02:07:12 +09:00
rhysd
f7e56c61b1 simplify minimal example 2022-06-16 21:07:35 +09:00
rhysd
d4978cd82c add multi example 2022-06-16 21:01:02 +09:00
rhysd
2f38bc46a5 allow to change cursor style 2022-06-16 19:40:34 +09:00
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
c59bff2d26 improve block titles to examples and simplify crossterm example 2022-06-12 18:03:35 +09:00
rhysd
a104799b3f add minimal termion example 2022-06-12 18:03:35 +09:00
rhysd
6e6a3183be remove trailing spaces invariant 2022-06-10 20:36:23 +09:00
rhysd
fc9f017db3 implement undo/redo 2022-06-09 22:39:03 +09:00
rhysd
3c088fd15f implement basic cursor moves 2022-06-09 12:18:28 +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