about summary refs log tree commit diff stats
path: root/edit.mu
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 2009Kartik K. Agaram2015-08-151-3/+3
|
* 2008Kartik K. Agaram2015-08-151-7/+7
|
* 2007Kartik K. Agaram2015-08-151-24/+24
| | | | | Now that it's time to optimize we're gonna go over our code for externalities. Like in this case: not telling mu about what has changed.
* 2006Kartik K. Agaram2015-08-151-23/+23
|
* 2004 - indicator for running sandboxesKartik K. Agaram2015-08-141-8/+28
|
* 1993Kartik K. Agaram2015-08-141-0/+45
| | | | Thanks Caleb Couch.
* 1992Kartik K. Agaram2015-08-131-17/+17
|
* 1982Kartik K. Agaram2015-08-121-7/+1
|
* 1981 - clear screen below editors in CKartik K. Agaram2015-08-121-7/+25
| | | | | Environment much more responsive now. And it doesn't slow down as much just because I'm on a larger screen.
* 1980Kartik K. Agaram2015-08-121-12/+1
|
* 1979 - bug: couldn't edit sandboxes with printsKartik K. Agaram2015-08-121-4/+48
| | | | Thanks Jack and Caleb Couch.
* 1978Kartik K. Agaram2015-08-121-1/+1
|
* 1977Kartik K. Agaram2015-08-121-3/+2
|
* 1969 - always hide screen before renderingKartik K. Agaram2015-08-101-5/+11
| | | | | | | | | | Also ensure we don't render unnecessarily. This is really where I want a formal type-like system to help me. All functions have paired calls to hide-screen and show-screen, except for the one in main. Only functions at the 'topmost' level are expected to hide/show.
* 1968 - maximize sides so we can copy-paste from muKartik K. Agaram2015-08-101-1/+128
|
* 1967Kartik K. Agaram2015-08-101-9/+14
|
* 1966Kartik K. Agaram2015-08-101-19/+19
|
* 1964 - don't mess up pasteKartik K. Agaram2015-08-091-1/+60
| | | | | | | It took me a long time to fix termbox because the escape codes it was seeing seemed all wrong. Had to stop calling tb_shutdown/printf and put in the extra 3 lines to log to a file. Then everything cleared up. Weird.
* 1963 - redraw if window size changesKartik K. Agaram2015-08-091-2/+45
| | | | | This was important because somebody connecting on tmux would mess up the environment.
* 1961Kartik K. Agaram2015-08-091-558/+556
|
* 1960 - far more careful scroll-line-upKartik K. Agaram2015-08-091-50/+354
|
* 1959 - switch page-up to ignore line-wrappingKartik K. Agaram2015-08-091-5/+29
| | | | | | | Worrisome that I'm not adding a test here. Still not convinced I have the right set of tests. There's certainly still breakage when I run tests manually. Perhaps I should test all combinations of arrow keys and page-up/page-down. That's 36 tests for 2-combinations..
* 1958 - reimplement page-upKartik K. Agaram2015-08-081-20/+15
| | | | | The old approach with cached page starts doesn't work when you mix scrolling by line and page.
* 1957 - bugfix #2 in scrollingKartik K. Agaram2015-08-081-7/+57
| | | | | | (#1 was previous commit) Thanks Caleb Couch.
* 1956Kartik K. Agaram2015-08-081-4/+42
|
* 1955Kartik K. Agaram2015-08-081-12/+12
|