Commit Graph

14 Commits

Author SHA1 Message Date
fec361ad29 Refactored event loop.
This allows large numbers of events to be handled in bulk, but without
the program eating up CPU when idle.
2014-12-19 21:10:03 -08:00
ef64bd8f1c Fixed bug in tree balancing. Text rope is now fully self-balancing. 2014-12-19 00:23:08 -08:00
4f987ffa16 First attempt at self-balancing rope. Totally broken, though. 2014-12-16 23:40:28 -08:00
ab992301fd Updated todo file. 2014-12-14 23:24:41 -08:00
3154d626ff Escape quits, return inserts a new line. 2014-12-14 23:11:13 -08:00
b78501f983 Super simple text editing interface!
No cursor yet, just always appends to the end of the current buffer.
But still!
2014-12-14 21:06:48 -08:00
9c4e11bc9c Created an iterator for TextBuffers.
In the process, I've also changed all of the text interfaces to work in
term of unicode code-points instead of bytes.  This ensures that editing
operations never corrupt utf8 data.
2014-12-14 16:43:17 -08:00
4a93800780 Added readme and todo files. 2014-12-13 19:22:40 -08:00
8b62f01222 Better node splitting for large text insertions. 2014-12-13 19:16:28 -08:00
f85dd9c1db Text removal now works on text ropes. 2014-12-13 18:54:56 -08:00
65c900a237 Beginnings of a rope text buffer implementation. 2014-12-13 15:27:47 -08:00
b1dd62f8db Fleshing out TextBlock's APIs. 2014-12-13 11:51:12 -08:00
05a9016714 Beginnings of a text buffer. 2014-12-13 02:02:51 -08:00
8ce0631155 Getting dependencies and such setup properly. 2014-12-12 23:33:13 -08:00