Commit Graph

7 Commits

Author SHA1 Message Date
c69ebc240f WIP: making Buffers so they can be given LineFormatters.
A LineFormatter determines how a line of text is visually displayed in
2d space.  This allows both the Console and GUI version of the editor
to share the same buffer code whilst still handling the differing ways
in which both handle visual display.
2015-01-24 14:35:49 -08:00
0941339906 Basic line-ending detection when opening files.
Buffers now store what line-ending type they consider themselves to be,
and the ui uses that when adding new lines while editing.
2015-01-03 15:15:14 -08:00
7099e4d0d3 Sped up file loading and saving. 2015-01-01 13:14:32 -08:00
02fdbcf027 Files loading/saving is working again. 2014-12-31 20:36:23 -08:00
a56ff95221 WIP: building a proper UI for editing a file.
Some things don't quite work properly yet...
2014-12-20 17:23:47 -08:00
421b5288a4 Split buffer.rs into various sub-modules for better organization. 2014-12-19 23:22:30 -08:00
a31a0a2c41 Basic file loading/saving. 2014-12-19 22:43:31 -08:00