about summary refs log tree commit diff stats
path: root/apps/tile/gap-buffer.mu
Commit message (Collapse)AuthorAgeFilesLines
* 7692Kartik Agaram2021-02-071-2/+2
| | | | | It's bad enough that metadata comments are restricted to integer literals; let's at least make them work on _all_ integer literals.
* 7690Kartik Agaram2021-02-071-9/+9
| | | | Convert comments about magic constants into metadata.
* 7159 - explicitly use 'return' everywhereKartik Agaram2020-11-021-55/+56
| | | | https://github.com/akkartik/mu/issues/45#issuecomment-719990879, task 2.
* 7115Kartik Agaram2020-10-261-1/+1
|
* 7098 - tile: string valuesKartik Agaram2020-10-251-0/+18
| | | | Strings can contain spaces.
* tile: process space in middle of wordKartik Agaram2020-10-241-0/+6
|
* 7080Kartik Agaram2020-10-201-0/+10
| | | | | Constructing new functions with ctrl-d is now working right. But the call seems exactly flipped.
* 7079Kartik Agaram2020-10-191-0/+18
|
* 6860Kartik Agaram2020-09-261-0/+7
| | | | | Snapshot: tile currently segfaulting. I need to back up and make it easier to debug.
* 6837Kartik Agaram2020-09-221-160/+0
|
* 6821 - highlight words clobbered by the next wordKartik Agaram2020-09-201-0/+34
| | | | Another suggestion from the Future of Software forum.
* 6814 - tile: backspace deletes char or wordKartik Agaram2020-09-191-0/+6
|
* 6812 - tile: render cursor locationKartik Agaram2020-09-191-1/+7
|
* 6811 - tile: left-cursor movementKartik Agaram2020-09-191-0/+12
| | | | | Displayed cursor position is not yet correct, but insertions happen at the right cursor position.
* 6807 - tile: render intermediate stack stateKartik Agaram2020-09-191-4/+50
|
* 6801 - snapshot: RPN structured editorKartik Agaram2020-09-191-37/+219
| | | | | | | | | | | | | | | There's some worrisome memory corruption here between the call to max-stack-depth and the callee picking up its args. All this code is incredibly ugly as I start to wrestle with the challenges of structured editors. I keep wanting to keep business logic separate from rendering, but there are feedback loops from wanting to know where to render the cursor. And I haven't even started trying to avoid full-screen renders yet. That'll complect things even more. For now the data path for every iteration of the render loop is: process key compute max depth needed (or any other global information needed for rendering) render
* 6796Kartik Agaram2020-09-161-14/+34
| | | | Extremely hacky initial stab at a 1-line editor.
* 6789 - tile: print keystrokes to screenKartik Agaram2020-09-161-0/+137