18 Commits

Author SHA1 Message Date
f14db217d2 add Buffer::Cursor type alias for GapBuffer::Cursor 2016-11-30 21:06:59 -05:00
e57c71855a add Buffer::get_string() and GapBuffer::get_string() 2016-11-27 18:54:03 -05:00
abb11a0b8c Fix cursor go_up()/go_down(), turn on unit tests 2016-11-07 22:42:54 -05:00
d5e3fdf919 implement Buffer::write_to_file() 2016-11-07 22:34:10 -05:00
0cbc36c5ff change Buffer to start using GapBuffer 2016-11-01 22:46:44 -04:00
fbca1f995a remove PieceTable 2016-11-01 21:44:01 -04:00
490505faa1 detect file encoding when loading it 2016-08-11 20:11:13 -04:00
382d155e40 add LineEndings module 2016-07-26 22:36:22 -04:00
a416a47b29 add Buffer::write_to_file() 2016-07-24 12:50:27 -04:00
0780659c8c Buffer: keep track of eol_at_eof flag from TextLoader 2016-07-24 12:27:15 -04:00
20a2786755 Render from the piece table! 2016-07-19 22:34:11 -04:00
aa45f6d6dc Add a PieceTable to Buffer 2016-07-18 22:04:57 -04:00
cae0b581a2 Buffer owns the file buffer 2016-07-14 20:09:35 -04:00
e562f77dab replace FileReader with File class; prepare for removing FileLoader 2016-07-14 18:44:18 -04:00
b1684f1341 scroll through file with J/K keys 2016-07-10 20:13:40 -04:00
5da9cde758 Buffer: hold on to the FileLoader for now so the memory is not released 2016-07-10 17:23:30 -04:00
6d6988c027 expose line iteration in Buffer API 2016-06-29 22:03:40 -04:00
fdcba81a3d most rudimentary Buffer class imaginable 2016-06-29 20:54:08 -04:00