about summary refs log tree commit diff stats
path: root/edit.mu
Commit message (Collapse)AuthorAgeFilesLines
* 2086 - reset cursor on resizeKartik K. Agaram2015-08-281-13/+11
| | | | Also drop some redundancy with 'render-all'.
* 2085 - undo/redo now working for simple typingKartik K. Agaram2015-08-271-0/+50
| | | | | Not yet useable, because we never ever stop coalescing operations. That will happen when we introduce a second type of operation.
* 2084Kartik K. Agaram2015-08-271-23/+155
|
* 2083Kartik K. Agaram2015-08-261-2/+42
|
* 2082Kartik K. Agaram2015-08-261-1/+92
|
* 2081 - preliminary data model for undoKartik K. Agaram2015-08-261-4/+44
|
* 2079Kartik K. Agaram2015-08-261-12/+7
| | | | Cleanup 2078.
* 2078 - update entire screen on tb_present()Kartik K. Agaram2015-08-261-1/+11
| | | | | | | | | | | | | | | | | | | Termbox had been taking shortcuts when it thinks the screen hasn't changed, which doesn't work if some other process messes up the screen. The Go version has a Sync method in addition to Flush/tb_present for precisely this eventuality. But it feels like an unnecessary optimization given C's general speed. Just drop it altogether. --- This took me a long time to track down, and interestingly I found myself writing a new tracing primitive before I remembered how to selectively trace just certain layers during manual tests. I'm scared of generating traces not because of performance but because of the visual noise. Be aware of this. I'm going to clean up $log now. Maybe I should also stop using $print..
* 2077Kartik K. Agaram2015-08-251-1/+1
|
* 2076 - ensure cursor doesn't move on non-editor clicksKartik K. Agaram2015-08-241-6/+24
|
* 2069 - arrow bugfixKartik K. Agaram2015-08-241-9/+81
|
* 2068Kartik K. Agaram2015-08-241-2/+38
|
* 2066Kartik K. Agaram2015-08-241-3/+1
|
* 2065 - arrow bugfixKartik K. Agaram2015-08-241-3/+37
|
* 2061 - clear status only after repaintKartik K. Agaram2015-08-221-4/+8
|
* 2060 - even more efficient up/downKartik K. Agaram2015-08-221-2/+101
|
* 2058Kartik K. Agaram2015-08-221-1/+1
|
* 2057 - more efficient render on up/downKartik K. Agaram2015-08-221-8/+18
|
* 2056 - more efficient render on deleteKartik K. Agaram2015-08-211-3/+33
|
* 2055 - more efficient render on backspaceKartik K. Agaram2015-08-211-4/+38
|
* 2053Kartik K. Agaram2015-08-211-13/+49
|
* 2049 - snappier right-arrowKartik K. Agaram2015-08-211-2/+16
|
* 2048Kartik K. Agaram2015-08-211-0/+30
|
* 2047Kartik K. Agaram2015-08-201-5/+23
| | | | Back on a nice cadence of optimizing one case at a time.
* 2046Kartik K. Agaram2015-08-201-256/+67
| | | | | | | | | Redo some of the work of commits 2025-2032. We still need to create special-cases for each branch, but we'll now always update cursor in a single place. We'll also have handle-keyboard-event tell its caller whether it already took care of rendering or not. That way the caller only falls back to painting the entire screen when necessary. No more double-painting.
* 2045Kartik K. Agaram2015-08-201-26/+29
|
* 2044Kartik K. Agaram2015-08-201-8/+45
| | | | Don't render entire screen when appending to line.
* 2040Kartik K. Agaram2015-08-201-3/+16
| | | | Back to checking render performance everywhere.
* 2039 - warn on unbalanced '['Kartik K. Agaram2015-08-191-0/+29
|
* 2038 - toggle trace even if warnings or printsKartik K. Agaram2015-08-191-2/+5
|
* 2037Kartik K. Agaram2015-08-191-43/+42
| | | | | All scenarios should use just numeric locations, and 'run' should encapsulate the code under test.
* 2036Kartik K. Agaram2015-08-191-5/+5
| | | | | Standardize on whether screen operations will explicitly write to 'screen' inside scenarios. (Answer: not for setup code, at least.)
* 2035Kartik K. Agaram2015-08-181-0/+30
|
* 2034Kartik K. Agaram2015-08-171-7/+112
|
* 2033 - minimal render for appending charactersKartik K. Agaram2015-08-171-0/+29
|
* 2032Kartik K. Agaram2015-08-171-3/+3
| | | | | Get all tests passing again. Actually slower now than before, thanks to double-render when editing the sandbox side. But that is temporary.
* 2031 - always position cursor after repaintingKartik K. Agaram2015-08-171-0/+25
|
* 2030Kartik K. Agaram2015-08-171-13/+39
|
* 2029Kartik K. Agaram2015-08-171-5/+28
|
* 2028Kartik K. Agaram2015-08-161-1/+1
|
* 2027Kartik K. Agaram2015-08-161-33/+57
|
* 2026Kartik K. Agaram2015-08-161-27/+57
|
* 2025 - back to speeding up renderKartik K. Agaram2015-08-161-31/+31
| | | | | | | | | First step: drop the existing optimization of not redrawing after every character. Gives the editor a jumpy feel. I'm also hoisting the render into handle-keyboard event as a first step to duplicating it everywhere. One test temporarily failing: we're gonna sometimes forget to draw the line below editors.
* 2024 - mu environment now handles infinite loops gracefullyKartik K. Agaram2015-08-161-1/+38
|
* 2015 - ctrl-l: redraw screenKartik K. Agaram2015-08-151-4/+30
| | | | | I'm starting to optimize screen-drawing. If I get it wrong, this will be a work-around.
* 2014 - stop redundant prints on left-clickKartik K. Agaram2015-08-151-6/+103
|
* 2013Kartik K. Agaram2015-08-151-5/+6
|
* 2012Kartik K. Agaram2015-08-151-2/+2
|
* 2011Kartik K. Agaram2015-08-151-9/+0
| | | | | I think this can never trigger because 'cursor-column' can't be greater than 'right'.
* 2010Kartik K. Agaram2015-08-151-2/+2
|