Commit Graph

18 Commits

Author SHA1 Message Date
c4fa72405f Switch to new backend buffer for text, cursor, and undo management. 2020-02-23 19:56:08 +09:00
82df4d64bd Handle grapheme width more robustly. 2020-02-16 22:26:31 +09:00
bfeaee602c A bunch more work on refactoring how formatting works.
This compiles, but does not yet work correctly again. Tons of bugs.
2020-02-16 17:03:37 +09:00
19adb08170 Reworking the text formatting code.
It's a mess of indirection and over-abstraction, and this commit
is the first step at cleaning that up.  In addition to making the
code easier to follow, it's also notably faster.

The only downside is we've (temporarily) lost indentation
continuation on line wrapping.  But that can be added back without
too much trouble later.
2020-02-11 20:24:34 +09:00
6e8f132563 Don't visually freeze the UI on an onslaught of input. 2020-02-11 08:33:22 +09:00
dab1c9ed1b Updated to Rust 2018.
No functional changes.
2020-01-23 18:47:27 +09:00
2f5adfad75 Run rustfmt. No functional changes. 2018-08-17 20:36:24 -07:00
b713b72e72 Updating for latest Ropey master. 2018-08-10 16:08:11 -07:00
bba508a814 Forgot to run rustfmt. 2018-07-14 01:32:58 -07:00
a3d98a59fb Updated to lastest master Ropey. 2018-07-14 01:32:24 -07:00
868aa3363f Updated some code for Ropey API changes. 2018-07-05 20:13:00 -07:00
9348a9a916 Another small optimization. 2018-07-05 05:01:57 -07:00
b19997b975 Did some basic optimizations that made things fast again. Yay!
The basis for the optimizations were some less basic changes made
in Ropey.
2018-07-05 04:41:58 -07:00
5ca0f5e406 Fomatted with recent rustfmt. No actual code changes. 2018-07-05 02:00:10 -07:00
de625e71dc Updated to ropey git master, and got everything working again.
However, everything is very, very slow now.
2018-07-05 01:53:17 -07:00
9c302620e9 Updating to use the new Ropey.
This is mainly just for kicks and giggles, since it really won't
work quite properly anyway, due to the lack of grapheme indexing.
The next real thing is to... well, start from scratch.
2017-12-30 23:10:56 -08:00
45e6125bbc Updated to work with more recent library versions. Also RustFmt. 2016-03-05 02:40:01 -08:00
902d93e957 Line numbers are now displayed in left-hand gutter. 2015-02-08 19:17:48 -08:00