1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-08-28 19:46:17 +03:00

Граф коммитов

  • ee72b48fea add first benchmark rhysd 2022-07-09 18:44:00 +09:00
  • 2ed0df07cf add project-local cargo aliases rhysd 2022-07-09 17:44:37 +09:00
  • 8ec321f9dd fix cursor line style is not applied when cursor is at end of line rhysd 2022-07-09 12:39:55 +09:00
  • ea377db4ee prefer Into::into to From::from rhysd 2022-07-09 12:38:05 +09:00
  • e11a97ce49 update changelog for v0.1.3 changes rhysd 2022-07-08 18:30:44 +09:00
  • dd59e8edb4 bump up version to v0.1.3 rhysd 2022-07-08 17:50:22 +09:00
  • 259a626c97 Merge branch 'search' rhysd 2022-07-08 17:44:38 +09:00
  • fee107847e use ↓/↑ instead of ^←/^→ to search next/previous in editor example rhysd 2022-07-08 14:58:51 +09:00
  • 81da9ce094 describe usage for text search in document rhysd 2022-07-08 14:56:29 +09:00
  • e78171913a fix CI failure since termion does not support Windows rhysd 2022-07-08 12:53:46 +09:00
  • 1db4830a3c fix cursor position on searching backward rhysd 2022-07-08 12:50:59 +09:00
  • 358e9dbc52 search forward/back with ^N/^P in editor example rhysd 2022-07-08 12:43:07 +09:00
  • 5aa25ea24d show 'match not found' error in search box title in editor example rhysd 2022-07-08 12:08:38 +09:00
  • dd409d6c4d fix search text highlight on zero width match rhysd 2022-07-08 12:08:05 +09:00
  • 8320fcdbb8 add tests and document for text search rhysd 2022-07-08 11:59:59 +09:00
  • 86bd8dd6ef report pattern error in title of search box in editor example rhysd 2022-07-08 10:22:54 +09:00
  • 7bc9a959f2 keep undo history on closing search box in editor example rhysd 2022-07-08 10:12:49 +09:00
  • 8008c0ebda fix search_forward/search_back should finally match to the cursor position rhysd 2022-07-08 10:06:26 +09:00
  • 5b08d16214 implement text search in editor example rhysd 2022-07-08 10:05:53 +09:00
  • 460c51a796 fix warnings when no feature is enabled rhysd 2022-07-07 23:03:01 +09:00
  • 4bd2b0819d search rest of current line on search_forward/search_back rhysd 2022-07-07 20:08:45 +09:00
  • 043f5b9525 fix rendering cursor at end of line rhysd 2022-07-07 15:49:53 +09:00
  • 0ed3dc2081 add match_current parameter to search_forward/search_back rhysd 2022-07-07 13:02:06 +09:00
  • 68a18b2ae0 highlight searched text rhysd 2022-07-01 23:07:02 +09:00
  • 5914238724 implement minimal text search rhysd 2022-06-30 19:26:03 +09:00
  • b5a475ba65 forbid unsafe code and debug prints rhysd 2022-07-01 23:08:22 +09:00
  • 6badc119be add docs.rs badge to readme rhysd 2022-06-29 12:52:18 +09:00
  • 6a5e92c10e update changelog for v0.1.2 changes rhysd 2022-06-25 11:53:33 +09:00
  • 8f632d5ef5 bump up version to v0.1.2 rhysd 2022-06-25 11:42:58 +09:00
  • f8c12a8bf6 include all features at building doc on docs.rs rhysd 2022-06-25 11:41:33 +09:00
  • db0a6c9cc9 fix Vim-like key mappings usage in doc rhysd 2022-06-24 14:52:42 +09:00
  • 9f54a6758e rename set_hard_tab/hard_tab to set_hard_tab_indent/hard_tab_indent rhysd 2022-06-22 22:50:49 +09:00
  • 08bcc50e11 support hard tab indent by TextArea::set_hard_tab rhysd 2022-06-22 09:01:22 +09:00
  • fdd48efb39 update changelog for v0.1.1 changes rhysd 2022-06-21 16:02:34 +09:00
  • 1ec2b04884 bump up version to v0.1.1 rhysd 2022-06-21 15:54:45 +09:00
  • bccf8e5413 fix hard tabs are not rendered (fix #1) rhysd 2022-06-21 12:36:27 +09:00
  • 35f141e770 describe how to report bugs in contribution guide and add missing Jump(row, col) to readme rhysd 2022-06-21 10:14:37 +09:00
  • b001959b77 add CursorMove::Jump(row, col) to jump cursor to arbitrary position rhysd 2022-06-20 20:18:36 +09:00
  • 51a75a86bf add TextArea::yank_text and TextArea::set_yank_text for operating yanked text rhysd 2022-06-20 00:36:11 +09:00
  • 12140e4167 tweak examples section style in readme rhysd 2022-06-20 00:35:49 +09:00
  • a852f84fbc add changelog for v0.1.0 release rhysd 2022-06-19 21:27:30 +09:00
  • 96ea719eea add badges to README rhysd 2022-06-19 21:18:15 +09:00
  • c6609056b2 run CI on Windows and macOS as well as Linux rhysd 2022-06-19 20:59:53 +09:00
  • 279473013b release v0.1.0 rhysd 2022-06-19 20:54:56 +09:00
  • da83cee419 add package metadata to Cargo.toml rhysd 2022-06-19 20:54:08 +09:00
  • e357799759 rename multi example to split rhysd 2022-06-19 20:45:35 +09:00
  • f93e90fc3f add screenshot of examples to README rhysd 2022-06-19 20:39:47 +09:00
  • 7a6fc78dae at least 3 lines height to variable example and tweak some variable names rhysd 2022-06-19 11:42:43 +09:00
  • 08caec05d6 render cursor position in editor example rhysd 2022-06-18 19:17:19 +09:00
  • f10b5d52be remove unnecessary layout calculation from examples rhysd 2022-06-18 16:19:02 +09:00
  • 3ba3a559ca add an example for simple textarea with variable height rhysd 2022-06-18 15:52:31 +09:00
  • 2f98482ef4 remove Ctrl+V shortcut for paste rhysd 2022-06-18 15:29:46 +09:00
  • 5e7d4daf5b do not remove yanked text after paste rhysd 2022-06-18 15:25:24 +09:00
  • 8ca7cb427c fix delete_line_by_end and delete_line_by_head don't remove newline rhysd 2022-06-18 15:21:31 +09:00
  • 6822fa499f support F1, F2, ... keys rhysd 2022-06-18 00:08:54 +09:00
  • f9a07f6c33 derive Arbitrary to generate better random inputs on fuzzing rhysd 2022-06-17 13:20:14 +09:00
  • 30bd068b34 handle Key::Char('\n' | '\r') as Key::Enter rhysd 2022-06-17 12:52:13 +09:00
  • f166eb794f fuzzing tests rhysd 2022-06-17 12:51:22 +09:00
  • 3e09d9a300 improve message in error example and remove unnecessary block in single input example rhysd 2022-06-17 10:54:11 +09:00
  • 5fde013747 add single_line example rhysd 2022-06-17 02:07:12 +09:00
  • f7e56c61b1 simplify minimal example rhysd 2022-06-16 21:07:35 +09:00
  • d4978cd82c add multi example rhysd 2022-06-16 20:20:26 +09:00
  • 8278e1b85a add missing Key::Esc variant rhysd 2022-06-16 20:18:29 +09:00
  • 2f38bc46a5 allow to change cursor style rhysd 2022-06-16 18:30:25 +09:00
  • b7facac135 return if text was modified or not from methods to edit text rhysd 2022-06-15 20:15:28 +09:00
  • 6ebd099f28 add text editor example rhysd 2022-06-15 10:27:45 +09:00
  • c019f10431 implement FromIterator for TextArea rhysd 2022-06-14 22:15:38 +09:00
  • c1598c5600 add TextArea::is_empty() rhysd 2022-06-14 16:48:54 +09:00
  • 32c31c7b9b return if TextArea::undo and TextArea::redo modified contents rhysd 2022-06-14 13:45:04 +09:00
  • 1c5350905f add documents to Input and CursorMove rhysd 2022-06-14 12:35:08 +09:00
  • 3eb57106b5 run unit tests on CI rhysd 2022-06-13 20:27:59 +09:00
  • f592f59f71 refactor logic to move cursor with *::checked_sub rhysd 2022-06-13 20:26:23 +09:00
  • 35b4fb3fd9 add contributing guide rhysd 2022-06-13 20:25:59 +09:00
  • 77e8bd5f76 add documents for TextArea rhysd 2022-06-13 20:25:44 +09:00
  • f85822b191 add instructions for installation and basic/advanced usage in readme rhysd 2022-06-13 00:58:13 +09:00
  • c59bff2d26 improve block titles to examples and simplify crossterm example rhysd 2022-06-12 17:47:02 +09:00
  • ebc3eb8e6f fix enter key is not recognized with termion support rhysd 2022-06-12 17:46:02 +09:00
  • a104799b3f add minimal termion example rhysd 2022-06-12 17:45:54 +09:00
  • b00061d4e6 add support for termion rhysd 2022-06-12 15:43:04 +09:00
  • 03fcccc34a add missing shortcuts and methods rhysd 2022-06-12 15:17:40 +09:00
  • 8d754dd53d support line numbers rhysd 2022-06-11 22:12:34 +09:00
  • b3f235ff06 delete previous/next word rhysd 2022-06-11 21:31:15 +09:00
  • b75306c787 move cursor between paragraphs forward/back rhysd 2022-06-11 15:13:47 +09:00
  • fd7a6e96f2 yank removed strings rhysd 2022-06-11 14:24:32 +09:00
  • 2bd0665615 move Edit and EditKind into history.rs rhysd 2022-06-11 14:13:31 +09:00
  • b30caba358 make crossterm optional rhysd 2022-06-11 14:07:14 +09:00
  • 164a60195a delete next char and add more ways to create TextArea instance rhysd 2022-06-11 13:58:17 +09:00
  • 17d7494197 move cursor forward/backward by word rhysd 2022-06-11 01:34:49 +09:00
  • 6e6a3183be remove trailing spaces invariant rhysd 2022-06-10 20:36:23 +09:00
  • 108b1a7685 delete line by end/head rhysd 2022-06-10 18:28:27 +09:00
  • 389aea85ff scroll to top/bottom rhysd 2022-06-10 14:44:29 +09:00
  • f4ee02d858 handle horizontal/vertical scrolls rhysd 2022-06-10 13:53:05 +09:00
  • bac44ae105 add cursor line highlight rhysd 2022-06-10 00:07:35 +09:00
  • d847061951 implement undo as redo of inverted edit rhysd 2022-06-09 23:27:33 +09:00
  • 05eec63bac remove duplicate in undo/redo implementation rhysd 2022-06-09 23:06:36 +09:00
  • 58b0381ec7 separate logic to move cursor rhysd 2022-06-09 22:56:43 +09:00
  • fc9f017db3 implement undo/redo rhysd 2022-06-09 22:39:03 +09:00
  • d3a7806df2 separate sources rhysd 2022-06-09 12:27:28 +09:00
  • 3c088fd15f implement basic cursor moves rhysd 2022-06-09 12:14:27 +09:00
  • a928aec4ee insert newline rhysd 2022-06-09 10:05:39 +09:00