finish uppercasing all globals
[?]
May 18, 2022, 2:33 AM
AVQ5MC5DWNLI6LUUIPGBLGP4LKRPGWBY4THNY25OBT2FAVHC6MCACDependencies
- [2]
TGICJQD3bugfix: move mode - [3]
HDC3AAQPsilly reason my screenshots had an ugly black line down the left - [4]
XLDKEAFZmake sure to show the border of a drawing immediately after creating it - [5]
IK3N7J3Breset zoom - [6]
NW7X4AGMmuch better help color and copy - [7]
MGOQ5XAVstart uppercasing globals - [8]
2FBLO5FHadjust window size - [9]
2KRK3OBVdon't rely on defaults - [10]
2INHXC3Kposition cursor by clicking on text - [11]
3XD6M3CFrefactor - [12]
2FMZNSD7experiment: only show drawing borders when they can be edited - [13]
2C7CTIQYmake space for multiple kinds of width - [14]
H7OEU6WPexperimental approach to combining keyboard and mouse while drawing - [15]
ICIIP4DBslightly better default sizing of drawings - [16]
3D5RFWHVstop handling drawings in cursor_pos computations - [17]
NL5J7Z5Hnew mode: polygon - [18]
PWHZPJJMalways show current filename in window title - [19]
JCSLDGAHbeginnings of support for multiple shapes - [20]
FBDRL6LHdelete points or shapes - [21]
HWPK4SMPnew mode: manhattan - [22]
6LJZN727handle chords - [23]
3CS5KKCIup/down cursor movement - [24]
VVXVV2D2change data model; text can now have metadata - [25]
UTF73CBLreorg - [26]
KCIM5UTVrevert: back to freehand - [27]
WDWXNW7Vslightly strange way to move points - [28]
OFA3PRBSautosave on keystrokes - [29]
5T2E3PDVcouple of bugfixes to file-handling - [30]
OTIBCAUJlove2d scaffold - [31]
4NDYV4WDfix 2 bugs in line selection - [32]
6J6EEUAYrespect zoom when printing online help - [33]
ZOOY3ME4new mode: circle arc - [34]
TEIKBO2Tdon't try to append text to drawings - [35]
CXCAERTBicons for current_mode - [36]
IFGAJAF7add a level of indirection to vertices of shapes - [37]
JVRL5TWLstore device-independent coordinates inside drawings - [38]
RXE6NQTNchanging your mind mid-shape - [39]
QCQHLMSTalways have a filename - [40]
EFMLTMZGbugfix: restrict strokes to the drawing they started in - [41]
7Q4B6M2Desc to cancel a shape mid-click - [42]
HDCVGN6Gsave each line's y coordinate, whether it's a drawing or not - [43]
6F6DF5T3. - [44]
FQJ2LBURrespect zoom when drawing drawings - [45]
M36DBSDEbit more polish to help screen - [46]
IYW7X3WLleft/right cursor movement, deleting characters - [47]
MNWHXPBLmore lightweight; select just the stroke at the mouse - [48]
ZD63LJ2Tbugfix: keep the click to create a new drawing from creating a new shape in the drawing - [49]
FMQ74DP3new mode: circle - [50]
Z4KNS42Nto open a file without a terminal, drag it on! - [51]
POT3XFCTrename - [52]
FJ4L6N74draw lines by default - [53]
RJGZD4INbinary search to most natural up/down with proportional fonts - [54]
G77XIN7Mselecting a stroke - [55]
JS6JSYOTonline contextual help - [56]
IZZVOCLBconfirm that we have access to all of the love API - [57]
HJ3PM2VT. - [58]
ZUOL7X6Vmove - [59]
IHG5RXP5allow text to be typed while mouse hovers over drawing - [60]
BJ5X5O4Alet's prevent the text cursor from ever getting on a drawing - [61]
T76KKDWZturn strokes into horizontal and vertical lines - [62]
3SYFA5JQshow cursor even on empty lines - [63]
L5USRTY2inline - [64]
TNTYISW6rename - [65]
VXORMHMEdelete experimental REPL - [66]
6PUNJS5Bbackspace - [67]
TRCAEE2Aclip drawings inside the border - [68]
KHFU5NFDbugfix: up/down across drawings - [69]
7RN3AETYbugfix: text sometimes getting colored like drawing borders - [70]
D2GCFTTTclean up repl functionality - [71]
YKRF5V3Zstarting to load/save - [72]
V5TP27FPctrl-+ and ctrl-- to adjust font size - [73]
SNDZOK6Qslightly less strange now that we have the same two ways to move points as any other operation - [74]
W4UVZETR2 regressions: - [75]
XX7G2FFJintermingle freehand line drawings with text - [76]
PLLSUOCIsome missing transitions
Change contents
- replacement in main.lua at line 33
cursor_line = 1Cursor_line = 1 - replacement in main.lua at line 39
cursor_pos = #Lines[cursor_line].data+1Cursor_pos = #Lines[Cursor_line].data+1 - replacement in main.lua at line 41
screenw, screenh, screenflags = 0, 0, nilScreen_width, Screen_height, Screen_flags = 0, 0, nil - replacement in main.lua at line 43
current_mode = 'line'previous_mode = nilCurrent_mode = 'line'Previous_mode = nil - replacement in main.lua at line 47
-- into 256 parts. `drawingw` describes their width in pixels.drawingw = nil -- pixels-- into 256 parts. `Drawing_width` describes their width in pixels.Drawing_width = nil -- pixels - replacement in main.lua at line 50
return n*drawingw/256return n*Drawing_width/256 - replacement in main.lua at line 53
return math.floor(n*256/drawingw)return math.floor(n*256/Drawing_width) - replacement in main.lua at line 56
zoom = 1.5Zoom = 1.5 - replacement in main.lua at line 58
filename = 'lines.txt'Filename = 'lines.txt' - replacement in main.lua at line 63
screenw, screenh, screenflags = love.window.getMode()Screen_width, Screen_height, Screen_flags = love.window.getMode() - replacement in main.lua at line 65
screenw = screenw-100screenh = screenh-100love.window.setMode(screenw, screenh)Screen_width = Screen_width-100Screen_height = Screen_height-100love.window.setMode(Screen_width, Screen_height) - replacement in main.lua at line 69
drawingw = math.floor(screenw/2/40)*40Drawing_width = math.floor(Screen_width/2/40)*40 - replacement in main.lua at line 72
filename = arg[1]Filename = arg[1] - replacement in main.lua at line 74
Lines = load_from_disk(filename)Lines = load_from_disk(Filename) - replacement in main.lua at line 77
cursor_line = iCursor_line = i - replacement in main.lua at line 80
love.window.setTitle('Text with Lines - '..filename)love.window.setTitle('Text with Lines - '..Filename) - replacement in main.lua at line 84
filename = file:getFilename()Filename = file:getFilename() - replacement in main.lua at line 90
cursor_line = iCursor_line = i - replacement in main.lua at line 93
love.window.setTitle('Text with Lines - '..filename)love.window.setTitle('Text with Lines - '..Filename) - replacement in main.lua at line 99
love.graphics.rectangle('fill', 0, 0, screenw-1, screenh-1)love.graphics.rectangle('fill', 0, 0, Screen_width-1, Screen_height-1) - replacement in main.lua at line 103
y = y+15*zoomy = y+15*Zoom - replacement in main.lua at line 110
if cursor_line >= i thencursor_line = cursor_line+1if Cursor_line >= i thenCursor_line = Cursor_line+1 - replacement in main.lua at line 114
if i == cursor_line thenif i == Cursor_line then - replacement in main.lua at line 123
if pmx < 16+drawingw and pmy > line.y and pmy < line.y+pixels(line.h) thenif pmx < 16+Drawing_width and pmy > line.y and pmy < line.y+pixels(line.h) then - replacement in main.lua at line 125
love.graphics.rectangle('line', 16,line.y, drawingw,pixels(line.h))if icon[current_mode] thenicon[current_mode](16+drawingw-20, line.y+4)love.graphics.rectangle('line', 16,line.y, Drawing_width,pixels(line.h))if icon[Current_mode] thenicon[Current_mode](16+Drawing_width-20, line.y+4) - replacement in main.lua at line 129
icon[previous_mode](16+drawingw-20, line.y+4)icon[Previous_mode](16+Drawing_width-20, line.y+4) - replacement in main.lua at line 169
love.graphics.draw(text, 25,y, 0, zoom)if i == cursor_line thenlove.graphics.draw(text, 25,y, 0, Zoom)if i == Cursor_line then - replacement in main.lua at line 172
love.graphics.print('_', cursor_x(line.data, cursor_pos), y+6) -- drop the cursor down a bit to account for the increased font sizelove.graphics.print('_', cursor_x(line.data, Cursor_pos), y+6) -- drop the cursor down a bit to account for the increased font size - replacement in main.lua at line 184
if y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+drawingw thenif y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+Drawing_width then - replacement in main.lua at line 195
elseif current_mode == 'move' thenelseif Current_mode == 'move' then - replacement in main.lua at line 198
if y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+drawingw thenif y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+Drawing_width then - replacement in main.lua at line 212
if x >= 16 and y >= line.y and y < y+15*zoom thencursor_line = icursor_pos = nearest_cursor_pos(line.data, x, 1)if x >= 16 and y >= line.y and y < y+15*Zoom thenCursor_line = iCursor_pos = nearest_cursor_pos(line.data, x, 1) - replacement in main.lua at line 219
if y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+drawingw thenif current_mode == 'freehand' thendrawing.pending = {mode=current_mode, points={{x=coord(x-16), y=coord(y-drawing.y)}}}elseif current_mode == 'line' or current_mode == 'manhattan' thenif y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+Drawing_width thenif Current_mode == 'freehand' thendrawing.pending = {mode=Current_mode, points={{x=coord(x-16), y=coord(y-drawing.y)}}}elseif Current_mode == 'line' or Current_mode == 'manhattan' then - replacement in main.lua at line 224
drawing.pending = {mode=current_mode, p1=j}elseif current_mode == 'polygon' thendrawing.pending = {mode=Current_mode, p1=j}elseif Current_mode == 'polygon' then - replacement in main.lua at line 227
drawing.pending = {mode=current_mode, vertices={j}}elseif current_mode == 'circle' thendrawing.pending = {mode=Current_mode, vertices={j}}elseif Current_mode == 'circle' then - replacement in main.lua at line 230
drawing.pending = {mode=current_mode, center=j}drawing.pending = {mode=Current_mode, center=j} - replacement in main.lua at line 239
if current_mode == 'move' thencurrent_mode = previous_modeprevious_mode = nilif Current_mode == 'move' thenCurrent_mode = Previous_modePrevious_mode = nil - replacement in main.lua at line 295
if filename thensave_to_disk(Lines, filename)if Filename thensave_to_disk(Lines, Filename) - replacement in main.lua at line 509
if Lines[cursor_line].mode == 'drawing' then return endif Lines[Cursor_line].mode == 'drawing' then return end - replacement in main.lua at line 511
if cursor_pos > 1 thenbyteoffset = utf8.offset(Lines[cursor_line].data, cursor_pos-1)if Cursor_pos > 1 thenbyteoffset = utf8.offset(Lines[Cursor_line].data, Cursor_pos-1) - replacement in main.lua at line 516[8.629]→[7.3286:3419](∅→∅),[8.1081]→[8.747:775](∅→∅),[7.3419]→[8.747:775](∅→∅),[8.747]→[8.747:775](∅→∅),[8.775]→[8.62:81](∅→∅),[8.85]→[8.62:81](∅→∅),[8.81]→[7.3420:3454](∅→∅)
Lines[cursor_line].data = string.sub(Lines[cursor_line].data, 1, byteoffset)..t..string.sub(Lines[cursor_line].data, byteoffset+1)cursor_pos = cursor_pos+1if filename thensave_to_disk(Lines, filename)Lines[Cursor_line].data = string.sub(Lines[Cursor_line].data, 1, byteoffset)..t..string.sub(Lines[Cursor_line].data, byteoffset+1)Cursor_pos = Cursor_pos+1if Filename thensave_to_disk(Lines, Filename) - replacement in main.lua at line 527[8.224]→[7.3455:3518](∅→∅),[8.1145]→[8.465:516](∅→∅),[7.3518]→[8.465:516](∅→∅),[8.465]→[8.465:516](∅→∅)
table.insert(Lines, cursor_line+1, {mode='text', data=''})cursor_line = cursor_line+1cursor_pos = 1table.insert(Lines, Cursor_line+1, {mode='text', data=''})Cursor_line = Cursor_line+1Cursor_pos = 1 - replacement in main.lua at line 531
if cursor_pos > 1 thenlocal byte_start = utf8.offset(Lines[cursor_line].data, cursor_pos-1)local byte_end = utf8.offset(Lines[cursor_line].data, cursor_pos)if Cursor_pos > 1 thenlocal byte_start = utf8.offset(Lines[Cursor_line].data, Cursor_pos-1)local byte_end = utf8.offset(Lines[Cursor_line].data, Cursor_pos) - replacement in main.lua at line 536
Lines[cursor_line].data = string.sub(Lines[cursor_line].data, 1, byte_start-1)..string.sub(Lines[cursor_line].data, byte_end)Lines[Cursor_line].data = string.sub(Lines[Cursor_line].data, 1, byte_start-1)..string.sub(Lines[Cursor_line].data, byte_end) - replacement in main.lua at line 538
Lines[cursor_line].data = string.sub(Lines[cursor_line].data, 1, byte_start-1)Lines[Cursor_line].data = string.sub(Lines[Cursor_line].data, 1, byte_start-1) - replacement in main.lua at line 540
cursor_pos = cursor_pos-1Cursor_pos = Cursor_pos-1 - replacement in main.lua at line 542
elseif cursor_line > 1 thenif Lines[cursor_line-1].mode == 'drawing' thentable.remove(Lines, cursor_line-1)elseif Cursor_line > 1 thenif Lines[Cursor_line-1].mode == 'drawing' thentable.remove(Lines, Cursor_line-1) - replacement in main.lua at line 547
cursor_pos = utf8.len(Lines[cursor_line-1].data)+1Lines[cursor_line-1].data = Lines[cursor_line-1].data..Lines[cursor_line].datatable.remove(Lines, cursor_line)Cursor_pos = utf8.len(Lines[Cursor_line-1].data)+1Lines[Cursor_line-1].data = Lines[Cursor_line-1].data..Lines[Cursor_line].datatable.remove(Lines, Cursor_line) - replacement in main.lua at line 551
cursor_line = cursor_line-1Cursor_line = Cursor_line-1 - replacement in main.lua at line 554
if cursor_pos > 1 thencursor_pos = cursor_pos - 1if Cursor_pos > 1 thenCursor_pos = Cursor_pos-1 - replacement in main.lua at line 558[8.1430]→[7.4202:4253](∅→∅),[8.2147]→[8.1476:1510](∅→∅),[7.4253]→[8.1476:1510](∅→∅),[8.1476]→[8.1476:1510](∅→∅)
if cursor_pos <= #Lines[cursor_line].data thencursor_pos = cursor_pos + 1if Cursor_pos <= #Lines[Cursor_line].data thenCursor_pos = Cursor_pos+1 - replacement in main.lua at line 562
cursor_pos = 1Cursor_pos = 1 - replacement in main.lua at line 564
cursor_pos = #Lines[cursor_line].data+1Cursor_pos = #Lines[Cursor_line].data+1 - replacement in main.lua at line 566
if cursor_pos <= #Lines[cursor_line].data thenlocal byte_start = utf8.offset(Lines[cursor_line].data, cursor_pos)local byte_end = utf8.offset(Lines[cursor_line].data, cursor_pos+1)if Cursor_pos <= #Lines[Cursor_line].data thenlocal byte_start = utf8.offset(Lines[Cursor_line].data, Cursor_pos)local byte_end = utf8.offset(Lines[Cursor_line].data, Cursor_pos+1) - replacement in main.lua at line 571
Lines[cursor_line].data = string.sub(Lines[cursor_line].data, 1, byte_start-1)..string.sub(Lines[cursor_line].data, byte_end)Lines[Cursor_line].data = string.sub(Lines[Cursor_line].data, 1, byte_start-1)..string.sub(Lines[Cursor_line].data, byte_end) - replacement in main.lua at line 573
Lines[cursor_line].data = string.sub(Lines[cursor_line].data, 1, byte_start-1)Lines[Cursor_line].data = string.sub(Lines[Cursor_line].data, 1, byte_start-1) - replacement in main.lua at line 575
-- no change to cursor_pos-- no change to Cursor_pos - replacement in main.lua at line 580
assert(Lines[cursor_line].mode == 'text')local new_cursor_line = cursor_lineassert(Lines[Cursor_line].mode == 'text')local new_cursor_line = Cursor_line - replacement in main.lua at line 585[7.4825]→[7.4825:4897](∅→∅),[7.4897]→[8.1835:1873](∅→∅),[8.1835]→[8.1835:1873](∅→∅),[8.1873]→[7.4898:4982](∅→∅)
local old_x = cursor_x(Lines[new_cursor_line].data, cursor_pos)cursor_line = new_cursor_linecursor_pos = nearest_cursor_pos(Lines[cursor_line].data, old_x, cursor_pos)local old_x = cursor_x(Lines[new_cursor_line].data, Cursor_pos)Cursor_line = new_cursor_lineCursor_pos = nearest_cursor_pos(Lines[Cursor_line].data, old_x, Cursor_pos) - replacement in main.lua at line 592
assert(Lines[cursor_line].mode == 'text')local new_cursor_line = cursor_lineassert(Lines[Cursor_line].mode == 'text')local new_cursor_line = Cursor_line - replacement in main.lua at line 597[7.5121]→[7.5121:5193](∅→∅),[7.5193]→[8.2179:2217](∅→∅),[8.2179]→[8.2179:2217](∅→∅),[8.2217]→[7.5194:5278](∅→∅)
local old_x = cursor_x(Lines[new_cursor_line].data, cursor_pos)cursor_line = new_cursor_linecursor_pos = nearest_cursor_pos(Lines[cursor_line].data, old_x, cursor_pos)local old_x = cursor_x(Lines[new_cursor_line].data, Cursor_pos)Cursor_line = new_cursor_lineCursor_pos = nearest_cursor_pos(Lines[Cursor_line].data, old_x, Cursor_pos) - replacement in main.lua at line 604
drawingw = drawingw/zoomzoom = zoom+0.5drawingw = drawingw*zoomDrawing_width = Drawing_width/ZoomZoom = Zoom+0.5Drawing_width = Drawing_width*Zoom - replacement in main.lua at line 608
drawingw = drawingw/zoomzoom = zoom-0.5drawingw = drawingw*zoomDrawing_width = Drawing_width/ZoomZoom = Zoom-0.5Drawing_width = Drawing_width*Zoom - replacement in main.lua at line 612
drawingw = drawingw/zoomzoom = 1.5drawingw = drawingw*zoomDrawing_width = Drawing_width/ZoomZoom = 1.5Drawing_width = Drawing_width*Zoom - replacement in main.lua at line 620
current_mode = 'freehand'Current_mode = 'freehand' - replacement in main.lua at line 622
current_mode = 'polygon'Current_mode = 'polygon' - replacement in main.lua at line 624
current_mode = 'polygon'Current_mode = 'polygon' - replacement in main.lua at line 636
elseif love.mouse.isDown('1') and chord == 'p' and current_mode == 'polygon' thenelseif love.mouse.isDown('1') and chord == 'p' and Current_mode == 'polygon' then - replacement in main.lua at line 642
current_mode = 'circle'elseif love.mouse.isDown('1') and chord == 'a' and current_mode == 'circle' thenCurrent_mode = 'circle'elseif love.mouse.isDown('1') and chord == 'a' and Current_mode == 'circle' then - replacement in main.lua at line 652
current_mode = 'circle'Current_mode = 'circle' - replacement in main.lua at line 663
current_mode = 'line'Current_mode = 'line' - replacement in main.lua at line 674
current_mode = 'line'Current_mode = 'line' - replacement in main.lua at line 680
current_mode = 'manhattan'Current_mode = 'manhattan' - replacement in main.lua at line 693
current_mode = 'manhattan'Current_mode = 'manhattan' - replacement in main.lua at line 706
previous_mode = current_modecurrent_mode = 'move'drawing.pending = {mode=current_mode, target_point=p}Previous_mode = Current_modeCurrent_mode = 'move'drawing.pending = {mode=Current_mode, target_point=p} - replacement in main.lua at line 714
previous_mode = current_modecurrent_mode = 'move'drawing.pending = {mode=current_mode, target_point=p}Previous_mode = Current_modeCurrent_mode = 'move'drawing.pending = {mode=Current_mode, target_point=p} - replacement in main.lua at line 759
return 25+text_before_cursor:getWidth()*zoomreturn 25+text_before_cursor:getWidth()*Zoom - replacement in main.lua at line 800
if y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+drawingw thenif y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+Drawing_width then - replacement in main.lua at line 812
if y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+drawingw thenif y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+Drawing_width then - replacement in main.lua at line 829
if y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+drawingw thenif y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+Drawing_width then - replacement in main.lua at line 846
if y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+drawingw thenif y >= drawing.y and y < drawing.y + pixels(drawing.h) and x >= 16 and x < 16+Drawing_width then - replacement in main.lua at line 1086[8.775]→[8.1:79](∅→∅),[8.79]→[6.1:106](∅→∅),[6.106]→[8.193:574](∅→∅),[8.193]→[8.193:574](∅→∅),[8.574]→[8.1273:1310](∅→∅),[8.1273]→[8.1273:1310](∅→∅),[8.1310]→[8.575:693](∅→∅)
love.graphics.print("Things you can do:", 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("* Press the mouse button to start drawing a "..current_shape(), 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("* Hover on a point and press 'ctrl+v' to start moving it,", 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("then press the mouse button to finish", 16+30+bullet_indent(),y, 0, zoom)y = y+15*zoomlove.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", 16+30,y, 0, zoom)y = y+15*zoomy = y+15*zoomif current_mode ~= 'freehand' thenlove.graphics.print("* Press 'ctrl+f' to switch to drawing freehand strokes", 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("Things you can do:", 16+30,y, 0, Zoom)y = y+15*Zoomlove.graphics.print("* Press the mouse button to start drawing a "..current_shape(), 16+30,y, 0, Zoom)y = y+15*Zoomlove.graphics.print("* Hover on a point and press 'ctrl+v' to start moving it,", 16+30,y, 0, Zoom)y = y+15*Zoomlove.graphics.print("then press the mouse button to finish", 16+30+bullet_indent(),y, 0, Zoom)y = y+15*Zoomlove.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", 16+30,y, 0, Zoom)y = y+15*Zoomy = y+15*Zoomif Current_mode ~= 'freehand' thenlove.graphics.print("* Press 'ctrl+f' to switch to drawing freehand strokes", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1101
if current_mode ~= 'line' thenlove.graphics.print("* Press 'ctrl+l' to switch to drawing lines", 16+30,y, 0, zoom)y = y+15*zoomif Current_mode ~= 'line' thenlove.graphics.print("* Press 'ctrl+l' to switch to drawing lines", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1105
if current_mode ~= 'manhattan' thenlove.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", 16+30,y, 0, zoom)y = y+15*zoomif Current_mode ~= 'manhattan' thenlove.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1109
if current_mode ~= 'circle' thenlove.graphics.print("* Press 'ctrl+c' to switch to drawing circles/arcs", 16+30,y, 0, zoom)y = y+15*zoomif Current_mode ~= 'circle' thenlove.graphics.print("* Press 'ctrl+c' to switch to drawing circles/arcs", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1113
if current_mode ~= 'polygon' thenlove.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", 16+30,y, 0, zoom)y = y+15*zoomif Current_mode ~= 'polygon' thenlove.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1117[8.1988]→[8.1156:1262](∅→∅),[8.1262]→[5.104:178](∅→∅),[5.178]→[8.1262:1278](∅→∅),[8.1262]→[8.1262:1278](∅→∅),[8.1278]→[5.179:195](∅→∅),[5.195]→[8.1278:1372](∅→∅),[8.1278]→[8.1278:1372](∅→∅)
love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out", 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("* Press 'ctrl+0' to reset zoom", 16+30,y, 0, zoom)y = y+15*zoomy = y+15*zoomlove.graphics.print("Hit 'esc' now to hide this message", 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to Zoom in or out", 16+30,y, 0, Zoom)y = y+15*Zoomlove.graphics.print("* Press 'ctrl+0' to reset Zoom", 16+30,y, 0, Zoom)y = y+15*Zoomy = y+15*Zoomlove.graphics.print("Hit 'esc' now to hide this message", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1125
love.graphics.rectangle('fill', 16,drawing.y, drawingw, math.max(pixels(drawing.h),y-drawing.y))love.graphics.rectangle('fill', 16,drawing.y, Drawing_width, math.max(pixels(drawing.h),y-drawing.y)) - replacement in main.lua at line 1131[8.2175]→[6.246:349](∅→∅),[6.349]→[8.1470:1568](∅→∅),[8.1470]→[8.1470:1568](∅→∅),[8.1568]→[8.2342:2379](∅→∅),[8.2342]→[8.2342:2379](∅→∅),[8.2379]→[6.350:451](∅→∅),[6.451]→[8.1677:1695](∅→∅),[8.1677]→[8.1677:1695](∅→∅),[8.1695]→[8.2491:2559](∅→∅),[8.2491]→[8.2491:2559](∅→∅),[8.2559]→[6.452:551](∅→∅),[6.551]→[8.1793:1811](∅→∅),[8.1793]→[8.1793:1811](∅→∅),[8.1811]→[8.2660:2699](∅→∅),[8.2660]→[8.2660:2699](∅→∅)
love.graphics.print("You're currently drawing a "..current_shape(drawing.pending), 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print('Things you can do now:', 16+30,y, 0, zoom)y = y+15*zoomif current_mode == 'freehand' thenlove.graphics.print('* Release the mouse button to finish drawing the stroke', 16+30,y, 0, zoom)y = y+15*zoomelseif current_mode == 'line' or current_mode == 'manhattan' thenlove.graphics.print('* Release the mouse button to finish drawing the line', 16+30,y, 0, zoom)y = y+15*zoomelseif current_mode == 'circle' thenlove.graphics.print("You're currently drawing a "..current_shape(drawing.pending), 16+30,y, 0, Zoom)y = y+15*Zoomlove.graphics.print('Things you can do now:', 16+30,y, 0, Zoom)y = y+15*Zoomif Current_mode == 'freehand' thenlove.graphics.print('* Release the mouse button to finish drawing the stroke', 16+30,y, 0, Zoom)y = y+15*Zoomelseif Current_mode == 'line' or Current_mode == 'manhattan' thenlove.graphics.print('* Release the mouse button to finish drawing the line', 16+30,y, 0, Zoom)y = y+15*Zoomelseif Current_mode == 'circle' then - replacement in main.lua at line 1143
love.graphics.print('* Release the mouse button to finish drawing the circle', 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("* Press 'a' to draw just an arc of a circle", 16+30,y, 0, zoom)love.graphics.print('* Release the mouse button to finish drawing the circle', 16+30,y, 0, Zoom)y = y+15*Zoomlove.graphics.print("* Press 'a' to draw just an arc of a circle", 16+30,y, 0, Zoom) - replacement in main.lua at line 1147
love.graphics.print('* Release the mouse button to finish drawing the arc', 16+30,y, 0, zoom)love.graphics.print('* Release the mouse button to finish drawing the arc', 16+30,y, 0, Zoom) - replacement in main.lua at line 1149[8.3045]→[8.2130:2148](∅→∅),[8.2148]→[8.3058:3098](∅→∅),[8.3058]→[8.3058:3098](∅→∅),[8.3098]→[6.757:859](∅→∅),[6.859]→[8.2249:2373](∅→∅),[8.2249]→[8.2249:2373](∅→∅)
y = y+15*zoomelseif current_mode == 'polygon' thenlove.graphics.print('* Release the mouse button to finish drawing the polygon', 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("* Press 'p' to add a vertex to the polygon", 16+30,y, 0, zoom)y = y+15*zoomy = y+15*Zoomelseif Current_mode == 'polygon' thenlove.graphics.print('* Release the mouse button to finish drawing the polygon', 16+30,y, 0, Zoom)y = y+15*Zoomlove.graphics.print("* Press 'p' to add a vertex to the polygon", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1156[8.3300]→[8.2374:2521](∅→∅),[8.243]→[8.3311:3344](∅→∅),[8.2521]→[8.3311:3344](∅→∅),[8.3311]→[8.3311:3344](∅→∅),[8.3344]→[8.2522:2624](∅→∅)
love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", 16+30,y, 0, zoom)y = y+15*zoomy = y+15*zoomif current_mode ~= 'line' thenlove.graphics.print("* Press 'l' to switch to drawing lines", 16+30,y, 0, zoom)y = y+15*zoomlove.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", 16+30,y, 0, Zoom)y = y+15*Zoomy = y+15*Zoomif Current_mode ~= 'line' thenlove.graphics.print("* Press 'l' to switch to drawing lines", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1163
if current_mode ~= 'manhattan' thenlove.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", 16+30,y, 0, zoom)y = y+15*zoomif Current_mode ~= 'manhattan' thenlove.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1167
if current_mode ~= 'circle' thenlove.graphics.print("* Press 'c' to switch to drawing circles/arcs", 16+30,y, 0, zoom)y = y+15*zoomif Current_mode ~= 'circle' thenlove.graphics.print("* Press 'c' to switch to drawing circles/arcs", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1171
if current_mode ~= 'polygon' thenlove.graphics.print("* Press 'g' to switch to drawing polygons", 16+30,y, 0, zoom)y = y+15*zoomif Current_mode ~= 'polygon' thenlove.graphics.print("* Press 'g' to switch to drawing polygons", 16+30,y, 0, Zoom)y = y+15*Zoom - replacement in main.lua at line 1176
love.graphics.rectangle('fill', 16,drawing.y, drawingw, math.max(pixels(drawing.h),y-drawing.y))love.graphics.rectangle('fill', 16,drawing.y, Drawing_width, math.max(pixels(drawing.h),y-drawing.y)) - replacement in main.lua at line 1180
if current_mode == 'freehand' thenif Current_mode == 'freehand' then - replacement in main.lua at line 1182
elseif current_mode == 'line' thenelseif Current_mode == 'line' then - replacement in main.lua at line 1184
elseif current_mode == 'manhattan' thenelseif Current_mode == 'manhattan' then - replacement in main.lua at line 1186
elseif current_mode == 'circle' and shape and shape.start_angle thenelseif Current_mode == 'circle' and shape and shape.start_angle then - replacement in main.lua at line 1189
return current_modereturn Current_mode