rhysd
18610dc58c
measure and monitor coverage with codecov
2023-11-12 23:27:55 +09:00
rhysd
f0370e850c
add more tests for deleting text
2023-11-12 23:06:25 +09:00
rhysd
f28f417e06
fix insert_char and set_yank_text does not consider newline
2023-11-12 23:06:02 +09:00
rhysd
a54ce36d22
refactor text selection and add more tests ( fix #6 )
2023-11-12 18:22:17 +09:00
pm100
5a2649abe9
implement select ( #45 )
...
* select, second go using new multiline code
* implemented internal delete_str, added tests
* delete_str_internal must not put non deleted strings into history. Ie ctrlc should not change history
* delete_str was taking lines out in the non delete case
* corrected comment
* fixes after feedback. Plus multichar bugs. change modal sample
2023-11-10 21:10:04 +09:00
rhysd
9ec2f32edf
fix disabling/enabling raw mode in editor example ( fix #44 )
2023-11-06 19:21:31 +09:00
rhysd
2740b89a51
update changelog for v0.3.1 changes
2023-11-05 01:09:31 +09:00
rhysd
efdfc13445
simplify unit tests for DisplayTextBuilder
2023-11-04 19:48:28 +09:00
rhysd
2e6697e54a
perfer for to while
2023-11-04 19:36:33 +09:00
rhysd
4d16fcb8fa
Merge branch 'issue-43' ( fix #43 )
2023-11-04 19:31:07 +09:00
rhysd
25bfdbc42b
refactor building display text and add tests where start offset is not zero
2023-11-04 19:29:54 +09:00
rhysd
37d42cd545
fix start offset of line text is always zero when calculating tab width
2023-11-04 19:29:49 +09:00
rhysd
0b4c5ee137
use io::Result<T> instead of Result<T, io::Error> in bench
2023-11-03 23:54:27 +09:00
rhysd
06f676014b
fix dummy backend for benchmark and add insert::long::* benches
2023-11-03 23:51:19 +09:00
rhysd
069e1351a7
add insert_delete fuzzing target
2023-11-03 23:10:48 +09:00
rhysd
217c5079f0
fix pasting yanked text when it contains multiple lines
2023-11-03 02:39:58 +09:00
rhysd
b6056484d8
suppress clippy warning caused by * 1
2023-11-03 02:35:12 +09:00
rhysd
a2e6aedbb7
Merge branch 'multiline' ( fixes #42 )
2023-11-03 02:33:36 +09:00
rhysd
a7731be860
add tests for multi-bytes characters
2023-11-03 02:31:27 +09:00
rhysd
2e51246ba5
fix start position of EditKind::DeleteChunk is wrong when it is used in undo
...
this needs some refactoring later
2023-11-03 02:15:40 +09:00
rhysd
6d68ba128d
add --why to cargo watch commands
2023-11-02 22:55:28 +09:00
rhysd
1283081f82
keep yanked lines in Vec
2023-11-02 22:54:28 +09:00
rhysd
9db8a3d31a
test TextArea::undo after insert_str and delete_str
2023-11-02 21:08:21 +09:00
rhysd
b324ccd9fd
allow TextArea::delete_str to delete across newlines
2023-11-02 21:01:27 +09:00
rhysd
8bc9ff4dba
add tests for TextArea::insert_str
2023-11-01 21:32:15 +09:00
rhysd
2a447d45c2
add EditKind::InsertChunks and EditKind::DeleteChunk edit kinds
2023-11-01 20:15:42 +09:00
Linda_pp
1330c55e4e
Merge pull request #40 from fritzrehde/main
...
Fixed some spelling mistakes
2023-10-31 18:31:23 +09:00
fritzrehde
addf3e9656
fixed some spelling mistakes
2023-10-30 12:02:23 +01:00
rhysd
60a57b3899
convert backends' key/mouse events into Key
2023-10-25 22:34:19 +09:00
rhysd
5a5a308c88
always ignore key release event from crossterm
2023-10-25 22:07:30 +09:00
rhysd
18d709f1d9
add unit tests for converting backend input events into Input
2023-10-25 21:21:44 +09:00
rhysd
60ed6f8693
ignore crossterm's press event only on Windows ( #14 )
2023-10-25 20:43:56 +09:00
rhysd
a19562a96f
move Input backends support to respective modules in input/
2023-10-25 19:35:21 +09:00
rhysd
80e1db129a
update changelog for v0.3.0 changes
2023-10-25 00:10:56 +09:00
rhysd
0d74f96ffe
bump up version to v0.3.0
2023-10-25 00:08:10 +09:00
rhysd
6b6bb68567
enable termwiz and termion features on generating API doc
2023-10-24 17:25:29 +09:00
rhysd
6982f2d1e6
fix crash in split example
2023-10-24 17:18:27 +09:00
rhysd
a0aade4800
allow ratatui >=0.23.0, <1 ( fix #36 )
2023-10-24 17:02:37 +09:00
rhysd
70f7b95874
simplify ratatui/tui-rs feature groups by adding ratatui and tuirs features
2023-10-24 16:24:58 +09:00
rhysd
42c76a9d45
rename your-backend features to no-backend
2023-10-24 16:02:43 +09:00
rhysd
9882974669
remove tuirs_popup_placeholder example
2023-10-24 16:00:21 +09:00
rhysd
8f2594bbc5
Merge branch 'invert'
2023-10-24 15:32:39 +09:00
rhysd
1625ad6bc8
fix benchmark to use ratatui
2023-10-24 15:32:26 +09:00
rhysd
989be96aa9
invert tui-rs and ratatui in document
2023-10-24 15:32:26 +09:00
rhysd
08b538e39b
fix CI for inverting ratatui-* features to tuirs-*
2023-10-24 14:28:58 +09:00
rhysd
953ec9b295
move doc tests from tui-rs to ratatui
2023-10-24 14:26:50 +09:00
rhysd
330b7074ae
fix examples to invert ratatui and tui-rs
2023-10-24 13:15:16 +09:00
rhysd
ef3b3188f4
invert ratatui-* features with tuirs-*
2023-10-24 13:15:16 +09:00
rhysd
e3783d1baf
update changelog for v0.2.4 changes
2023-10-22 01:24:05 +09:00
rhysd
1c32ed7227
bump up version to v0.2.4
2023-10-22 01:09:20 +09:00