17 Commits

Author SHA1 Message Date
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