Commit Graph

59 Commits

Author SHA1 Message Date
Tony Garnock-Jones 0882ddb896 Repair line-clearing bug. 2014-12-28 11:40:48 -05:00
Tony Garnock-Jones 370b35a273 Line wrap. 2014-12-28 11:25:54 -05:00
Tony Garnock-Jones 791ff539b5 Expose ->pos as buffer-pos 2014-12-28 09:45:28 -05:00
Tony Garnock-Jones 25d61d7ac9 Information about clearing bug 2014-12-28 09:45:19 -05:00
Tony Garnock-Jones b6bbe560f3 It's possible for the cursor to be "further right" than the right margin 2014-12-28 09:25:08 -05:00
Tony Garnock-Jones 0fb9fcc616 Better column tracking. 2014-12-28 09:12:52 -05:00
Tony Garnock-Jones f8de16aba7 Better layout, with width-tracking 2014-12-28 08:16:09 -05:00
Tony Garnock-Jones cd2bba7c2d Add dump-buffer-to-stderr command 2014-12-28 01:05:32 -05:00
Tony Garnock-Jones d34a230ca6 Add newlines to scratch buffer; start point at bottom of scratch buffer 2014-12-28 01:05:25 -05:00
Tony Garnock-Jones 8d92bb8c13 Fix edge condition in clear-mark 2014-12-28 01:05:12 -05:00
Tony Garnock-Jones b7d54ef1f7 Slow terminals prefer minimal changes; don't gratuitously alter statusline. 2014-12-28 00:21:06 -05:00
Tony Garnock-Jones 0d61ef7de7 Stay in parent window after split 2014-12-28 00:14:55 -05:00
Tony Garnock-Jones 21dae19500 Propagate command parameters when delegating to self-insert-command 2014-12-28 00:14:38 -05:00
Tony Garnock-Jones 67949add74 Correct silly mistake in TODO 2014-12-28 00:14:12 -05:00
Tony Garnock-Jones 2ee70a5ea5 Terminate after 3 exceptions, for ease of debugging during initial development 2014-12-28 00:13:50 -05:00
Tony Garnock-Jones 45ddd82e21 Fix mark-dropping bug in rope-split 2014-12-28 00:13:26 -05:00
Tony Garnock-Jones 1cdf0900b6 Give windows each their own top/point/mark marks. Basic window split/close/switch commands. 2014-12-27 23:59:12 -05:00
Tony Garnock-Jones a512da0d7b Accept file names on the command line 2014-12-27 18:18:55 -05:00
Tony Garnock-Jones 0c559238da Bundle up all mutable command context into a single record, to let the
command handler have everything it needs even in the face of change
2014-12-27 18:16:28 -05:00
Tony Garnock-Jones 04f7da73e2 Make keyspec parsing/printing properly use byte-strings in unknown-escape-sequence. 2014-12-27 17:22:59 -05:00
Tony Garnock-Jones 5fae56dc78 The most recent changes have fixed the odd framing behaviour. 2014-12-27 17:16:40 -05:00
Tony Garnock-Jones 1cf71a4a4c Make top-of-window-mtype left-sticky, to track newlines at top of window properly. 2014-12-27 17:16:12 -05:00
Tony Garnock-Jones fb463959cb Export buffer-rope. 2014-12-27 17:15:57 -05:00
Tony Garnock-Jones 731d99a7b0 Debugging utility. 2014-12-27 17:15:28 -05:00
Tony Garnock-Jones 02b037b42e Change signature of find-mark. 2014-12-27 17:15:18 -05:00
Tony Garnock-Jones 8af07c0abd Fix bug in clear-mark. 2014-12-27 17:14:55 -05:00
Tony Garnock-Jones 492f7a3105 Fix bug in find-mark*. 2014-12-27 17:14:30 -05:00
Tony Garnock-Jones 46d97f0926 Better explicit control over utf-8 input mode 2014-12-27 15:23:46 -05:00
Tony Garnock-Jones 45b89d9682 Using the default style helps with cursor visibility on many terminals. 2014-12-26 19:38:01 -05:00
Tony Garnock-Jones 578b759a2a Clean up revised diff implementation 2014-12-26 19:30:47 -05:00
Tony Garnock-Jones 3a20f707c2 Only use the intra-line patch when it's short. 2014-12-26 19:19:15 -05:00
Tony Garnock-Jones 8071410fc9 Default to black background for text 2014-12-26 18:57:09 -05:00
Tony Garnock-Jones c03bf183a0 Profiling infrastructure. 2014-12-26 18:57:01 -05:00
Tony Garnock-Jones 7fcd3587b5 Intraline diffs for more efficient display on slow terminals. Fixes cut/paste, too. 2014-12-26 18:56:49 -05:00
Tony Garnock-Jones f91e66e623 Cosmetic 2014-12-26 18:41:04 -05:00
Tony Garnock-Jones a18533a2ab Switch to Myers-Ukkonen diff 2014-12-26 18:40:48 -05:00
Tony Garnock-Jones 0bd8657693 Hunt-McIlroy diff is very slow for intra-line diffing 2014-12-26 18:05:41 -05:00
Tony Garnock-Jones 2c21bcd58a Add apply-patch! to diff.rkt 2014-12-26 18:05:21 -05:00
Tony Garnock-Jones 4dc90fb218 Note re: cut and paste 2014-12-25 22:40:33 -05:00
Tony Garnock-Jones bf0e56b963 Incremental redisplay. 2014-12-23 22:01:18 -05:00
Tony Garnock-Jones 7b7676b1ab Use lists instead of sets in diff.rkt to reduce consing slightly 2014-12-23 22:00:31 -05:00
Tony Garnock-Jones 29be136d06 Fix boundary conditions of diff-indices 2014-12-23 22:00:14 -05:00
Tony Garnock-Jones 480773c23a Provide diff-indices from diff.rkt 2014-12-23 21:59:40 -05:00
Tony Garnock-Jones 88dd1e7d2e Reset style to normal on exit. 2014-12-23 18:16:19 -05:00
Tony Garnock-Jones c6f15b6881 Invert editor-->buffer so it's buffer-->editor instead, and make
commands take a buffer instead of an editor.
2014-12-23 11:50:44 -05:00
Tony Garnock-Jones 79e994ef9c Belatedly test compute-range-index in isolation 2014-12-23 11:47:53 -05:00
Tony Garnock-Jones 695e8720db Fix pythonic index conversion 2014-12-23 11:44:18 -05:00
Tony Garnock-Jones cd8f5ad6e8 Remove logging output 2014-12-23 11:13:29 -05:00
Tony Garnock-Jones bc62d6f415 Update TODO 2014-12-23 11:12:39 -05:00
Tony Garnock-Jones d4689ff9c3 Cursor at EOL 2014-12-23 11:12:22 -05:00