Commit Graph

91 Commits

Author SHA1 Message Date
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
Tony Garnock-Jones fe7185b321 More progress 2014-12-23 11:09:22 -05:00
Tony Garnock-Jones 887155e5ec Much progress 2014-12-23 01:43:01 -05:00
Tony Garnock-Jones c548c60bb5 Provide add-modifier 2014-12-23 01:42:50 -05:00
Tony Garnock-Jones 67dba5444b Prefab structs for everything 2014-12-22 17:17:05 -05:00
Tony Garnock-Jones f59080e6bf Much interesting progress 2014-12-22 17:14:13 -05:00
Tony Garnock-Jones 3c17ddd755 Fixes wrt empty ropes 2014-12-22 14:03:02 -05:00
Tony Garnock-Jones ee71d7ad44 Merge remote-tracking branch 'origin/pr/1' 2014-12-20 20:26:20 -05:00
Tony Garnock-Jones 4d71033c42 Diff implementation (Hunt-McIlroy; consider switching to Myers-Ukkonen) 2014-12-20 20:25:00 -05:00
Sam Tobin-Hochstadt 93b15a55cc Fix dependencies. 2014-12-20 20:18:22 -05:00
Tony Garnock-Jones a5b3795f51 Zero-based row/column cursor positioning. 2014-12-20 19:03:20 -05:00
Tony Garnock-Jones 4f84e14e3b More work on rmacs 2014-12-20 18:09:40 -05:00
Tony Garnock-Jones c4c846e50b Split ansi collect. 2014-12-20 17:20:55 -05:00
Tony Garnock-Jones 3c05900c9b Work on buffers 2014-12-20 17:14:27 -05:00
Tony Garnock-Jones 5116948c6a Provide `rope?` 2014-12-20 17:14:11 -05:00
Tony Garnock-Jones 3baaf45fda Support readback of position reports 2014-12-20 17:13:58 -05:00
Tony Garnock-Jones 8cf91becba Switch back to eq? comparison of mark-types 2014-12-20 13:19:35 -05:00