longer names for indices in long loops
[?]
May 18, 2022, 2:48 AM
7IKRRESBHMYHHKW4XHUEEKHKPOBLAGZ7A7FJMRU32MTRKIV6S7GQCDependencies
- [2]
AVQ5MC5Dfinish uppercasing all globals - [3]
V5TP27FPctrl-+ and ctrl-- to adjust font size - [4]
3XD6M3CFrefactor - [5]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [6]
JS6JSYOTonline contextual help - [7]
6F6DF5T3. - [8]
QU7NHFOVshow cursor - [9]
JRLBUB6Lmore intuitive point delete from polygons - [10]
3CS5KKCIup/down cursor movement - [11]
2INHXC3Kposition cursor by clicking on text - [12]
MGOQ5XAVstart uppercasing globals - [13]
XJ5J7LDIstart imposing some organization - [14]
OTIBCAUJlove2d scaffold - [15]
ZUOL7X6Vmove - [16]
JVRL5TWLstore device-independent coordinates inside drawings - [17]
FBDRL6LHdelete points or shapes - [18]
IFGAJAF7add a level of indirection to vertices of shapes - [19]
KCIM5UTVrevert: back to freehand - [20]
JCSLDGAHbeginnings of support for multiple shapes - [21]
WDWXNW7Vslightly strange way to move points - [22]
HWPK4SMPnew mode: manhattan - [23]
U76D4P36fix a typo - [24]
3SYFA5JQshow cursor even on empty lines - [25]
VVXVV2D2change data model; text can now have metadata - [26]
T76KKDWZturn strokes into horizontal and vertical lines - [27]
HRWN5V6JDevine's suggestion to try to live with just freehand - [28]
HDCVGN6Gsave each line's y coordinate, whether it's a drawing or not - [29]
H7OEU6WPexperimental approach to combining keyboard and mouse while drawing - [30]
4NDYV4WDfix 2 bugs in line selection - [31]
XX7G2FFJintermingle freehand line drawings with text - [32]
EDY3RQULgracefully handle a non-existent filename at the commandline - [33]
D2GCFTTTclean up repl functionality
Change contents
- replacement in main.lua at line 103
for i,line in ipairs(Lines) dofor line_index,line in ipairs(Lines) do - replacement in main.lua at line 110
table.insert(Lines, i, {mode='drawing', y=y, h=256/2, points={}, shapes={}, pending={}})if Cursor_line >= i thentable.insert(Lines, line_index, {mode='drawing', y=y, h=256/2, points={}, shapes={}, pending={}})if Cursor_line >= line_index then - replacement in main.lua at line 115
if i == Cursor_line thenif line_index == Cursor_line then - replacement in main.lua at line 126
if i == Cursor_line thenif line_index == Cursor_line then - replacement in main.lua at line 165
for i,line in ipairs(Lines) dofor line_index,line in ipairs(Lines) do - replacement in main.lua at line 169
Cursor_line = iCursor_line = line_index - replacement in main.lua at line 631
local drawing,i,shape = select_shape_at_mouse()local drawing,_,shape = select_shape_at_mouse() - replacement in main.lua at line 650
local drawing,i,shape = select_shape_at_mouse()local drawing,_,shape = select_shape_at_mouse() - replacement in main.lua at line 655
local drawing,i,shape = select_shape_at_mouse()local drawing,_,shape = select_shape_at_mouse() - replacement in main.lua at line 694
local drawing,i,shape = select_shape_at_mouse()local drawing,_,shape = select_shape_at_mouse()