about summary refs log tree commit diff stats
path: root/text.lua
Commit message (Expand)AuthorAgeFilesLines
* simplifyKartik K. Agaram2022-08-181-4/+1
* move caching behavior inside compute_fragmentsKartik K. Agaram2022-08-171-6/+6
* remove some unnecessary workKartik K. Agaram2022-08-171-1/+3
* standardize scroll check in a few placesKartik K. Agaram2022-08-171-3/+3
* simplify cursor-on-screen checkKartik K. Agaram2022-08-171-6/+6
* swap return valuesKartik K. Agaram2022-08-171-5/+5
* obsolete commentKartik K. Agaram2022-08-161-2/+0
* moveKartik K. Agaram2022-08-151-28/+28
* drop some unnecessary callsKartik K. Agaram2022-08-151-6/+0
* stop confusingly reading a globalKartik K. Agaram2022-08-151-2/+2
* bugfix: handle drawings when updating screen topKartik K. Agaram2022-08-111-0/+1
* renameKartik K. Agaram2022-08-111-24/+24
* bugfix: pagedown was sometimes bouncing upKartik K. Agaram2022-08-101-1/+1
* bugfix: backspace from start of final lineKartik K. Agaram2022-08-101-1/+5
* unnecessary argsKartik K. Agaram2022-08-101-1/+1
* click to the left of a lineKartik K. Agaram2022-07-291-2/+1
* bugfix: searchKartik K. Agaram2022-07-211-1/+1
* use line cache for drawings as wellKartik K. Agaram2022-07-201-26/+26
* bugfix: where cursor is drawnKartik K. Agaram2022-07-201-4/+11
* .Kartik K. Agaram2022-07-201-0/+2
* exclude left margin from my word-split heuristicKartik K. Agaram2022-07-201-1/+1
* allow Text.nearest_pos_less_than to return 0Kartik K. Agaram2022-07-201-5/+2
* drop an unnecessary level of indentKartik K. Agaram2022-07-201-23/+21
* clean up some printsKartik K. Agaram2022-07-201-17/+10
* move a var closer to its useKartik K. Agaram2022-07-201-2/+2
* more clearly skip prints before screen topKartik K. Agaram2022-07-201-21/+19
* unify two similar functionsKartik K. Agaram2022-07-191-11/+4
* keep text from overflowing right marginKartik K. Agaram2022-07-191-5/+15
* bugfix: couple of margin-relative computationsKartik K. Agaram2022-07-171-2/+2
* separate data structure for each line's cache dataKartik K. Agaram2022-07-171-50/+58
* keep all text cache writes inside text.luaKartik K. Agaram2022-07-171-5/+5
* switch to line index in a functionKartik K. Agaram2022-07-171-2/+3
* switch to line index in a functionKartik K. Agaram2022-07-171-16/+17
* make a function oblivious to line data structureKartik K. Agaram2022-07-171-5/+5
* switch to line index in a functionKartik K. Agaram2022-07-171-3/+3
* switch to line index in a functionKartik K. Agaram2022-07-171-15/+16
* switch to line index in a functionKartik K. Agaram2022-07-171-1/+2
* drop some redundant args when clearing the cacheKartik K. Agaram2022-07-171-10/+10
* drop some redundant args from Text.drawKartik K. Agaram2022-07-171-2/+3
* bring back a set of constantsKartik K. Agaram2022-07-161-3/+3
* replace globals with args in a few functionsKartik K. Agaram2022-07-121-3/+3
* deduce left/right from state where possibleKartik K. Agaram2022-07-121-64/+64
* left/right margin -> left/right coordinatesKartik K. Agaram2022-07-121-31/+31
* add state arg to a few functionsKartik K. Agaram2022-07-121-107/+93
* add state arg to a few functionsKartik K. Agaram2022-07-121-17/+17
* add state arg to a few functionsKartik K. Agaram2022-07-121-26/+26
* add state arg to a few functionsKartik K. Agaram2022-07-121-12/+12
* add state arg to a few functionsKartik K. Agaram2022-07-121-4/+4
* add state arg to a few functionsKartik K. Agaram2022-07-121-122/+122
* add state arg to Text.textinputKartik K. Agaram2022-07-121-8/+8