|
65be7c3a6f
|
Add Buffer::n_lines()
|
2018-03-26 10:34:19 -04:00 |
|
|
3c6b3bc49e
|
Add Buffer::Iterator functions to move forward/backward on/up to characters in a line
|
2017-11-21 22:02:53 -05:00 |
|
|
32b272b75c
|
Change Buffer::erase_range() to take a Range argument
|
2017-11-21 19:10:31 -05:00 |
|
|
c3852e950a
|
Add Buffer::erase_range()
|
2017-11-17 16:58:28 -05:00 |
|
|
89687100f3
|
add another BUffer unit test
|
2017-01-28 12:24:26 -05:00 |
|
|
d1b2350e1a
|
Fix unit tests broken by 08529fc
|
2017-01-19 15:05:32 -05:00 |
|
|
62e127d400
|
add extra undo test
|
2017-01-15 21:35:38 -05:00 |
|
|
cd0efc431d
|
test more undo/redo change unit combinations
|
2017-01-15 21:16:55 -05:00 |
|
|
af77c97394
|
test that non-adjacent inserts make a single change operation
|
2017-01-15 21:01:13 -05:00 |
|
|
edf29f0bac
|
add tests for modifying uncommitted insert change units
|
2017-01-15 20:46:09 -05:00 |
|
|
4e03fbc3de
|
fix bug of undo/redo creating new change operations themselves
|
2017-01-15 20:33:37 -05:00 |
|
|
3e50e8a3b3
|
test number of change operations created in basic undo/redo tests
|
2017-01-15 20:27:26 -05:00 |
|
|
861aaed940
|
add unit test for coalescing erase change units within a change operation
|
2017-01-15 20:23:27 -05:00 |
|
|
6ba280e75d
|
add unit test for basic undo/redo of erases
|
2017-01-15 20:06:08 -05:00 |
|
|
441c33821e
|
add unit test for basic undo/redo of inserts
|
2017-01-15 20:02:12 -05:00 |
|
|
e98454c771
|
add unit tests for buffer insert/erase character
|
2017-01-15 19:46:33 -05:00 |
|
|
85dbf75b11
|
add Buffer::add_cursor()
|
2017-01-07 15:03:51 -05:00 |
|
|
743bfa5179
|
test Buffer::Iterator::go_{start,end}_of_line() on blank lines
|
2016-12-24 14:44:13 -05:00 |
|
|
1862d867f6
|
Fix Buffer::Iterator::go_previous_line()
|
2016-12-24 14:41:25 -05:00 |
|
|
252f4121f3
|
turn on unit tests for iterators instead of cursors
|
2016-12-21 23:47:26 -05:00 |
|
|
6b27fafb26
|
test no EOL at EOF with CRLF-formatted files
|
2016-12-18 19:52:41 -05:00 |
|
|
968db413e6
|
Remove Cursor and move line-tracking into Iterator
|
2016-12-18 14:51:52 -05:00 |
|
|
6c8e860fb5
|
Test that files consisting of just 1 or 2 newline characters are written correctly
|
2016-12-07 22:20:41 -05:00 |
|
|
abb11a0b8c
|
Fix cursor go_up()/go_down(), turn on unit tests
|
2016-11-07 22:42:54 -05:00 |
|
|
5c9f7a7645
|
turn on tests for Buffer::write_to_file()
|
2016-11-07 22:36:32 -05:00 |
|
|
fbca1f995a
|
remove PieceTable
|
2016-11-01 21:44:01 -04:00 |
|
|
e5c4ee00c0
|
test return values from check_go_*() cursor movement functions
|
2016-10-28 21:56:04 -04:00 |
|
|
261cc9abf8
|
adjust cursor movement to optionally allow moving to EOL
|
2016-10-15 18:07:58 -04:00 |
|
|
33a190c495
|
complete cursor movement routines taking Encoding and tabs into account
|
2016-08-27 21:38:48 -04:00 |
|
|
3c5a7b7341
|
add initial cursor movement support
|
2016-08-08 22:40:47 -04:00 |
|
|
f6338da8d0
|
add PieceTable::Cursor::operator*(), add unit test
|
2016-08-04 22:38:18 -04:00 |
|
|
10a0b33dbe
|
Add Buffer unit tests
- test that writing a buffer with no changes results in the identical
file being written
|
2016-07-24 17:25:21 -04:00 |
|