crisp font rendering

[?]
Jun 3, 2022, 6:36 AM
HOSPP2ANSW654DYRTC6CQUQA2GUKV6T2FI7QBKXD2DZS3R32IMGAC

Dependencies

  • [2] QDTXNKWJ help tweak
  • [3] R5OKMVVC fix a regression in line wrapping
  • [4] YYUGIYFV .
  • [5] 2L4DL7PG go through App in a couple more places
  • [6] 22S4LHNK scroll if necessary on paste
  • [7] Z4XRNDTR find text
  • [8] 73OCE2MC after much struggle, a brute-force undo
  • [9] JF5L2BBS test harness now supports copy/paste
  • [10] LERERVPH keep one screen line of overlap on pagedown
  • [11] VHQCNMAR several more modules
  • [12] 242L3OQX bugfix: ensure Cursor_line is always on a text line
  • [13] 7IKRRESB longer names for indices in long loops
  • [14] 537TQ2QN some more logging
  • [15] V5MJRFOZ bugfix: down arrow doesn't scroll up unnecessarily
  • [16] XNFTJHC4 split keyboard handling between Text and Drawing
  • [17] LUNH47XX make text and drawings the same width
  • [18] 2POFQQLW keep cursor on screen when pressing 'down'
  • [19] CVGE3SIG I feel confident now that page-down is working.
  • [20] TRNWIQN6 more precise height calculation when scrolling up as much as possible while keeping cursor on screen
  • [21] 3OKKTUT4 up and down arrow now moving by screen line where possible
  • [22] AVTNUQYR basic test-enabled framework
  • [23] AVQ5MC5D finish uppercasing all globals
  • [24] YKRF5V3Z starting to load/save
  • [25] DXT4QTAH a few more integer coordinates
  • [26] S5VCAFKY couple of tests for cursor down
  • [27] QYIFOHW3 first test!
  • [28] WTDKUACN rectangle and square shapes
  • [29] IMEJA43L snapshot
  • [30] XOAHJ6M3 similar tests for cursor up
  • [31] MDXGMZU2 disable all debug prints
  • [32] OYXDYPGS get rid of debug variables
  • [33] R53OF3ON one bug I've repeatedly run into while testing with Moby Dick
  • [34] HYEAFRZ2 split mouse_pressed events between Text and Drawing
  • [35] YTSPVDZH first successful pagedown test, first bug found by test
  • [36] DFSDPDO7 bugfix
  • [37] 6E3HVYWF test and App helper for mouse clicks
  • [38] PHFWIFYK scroll on enter
  • [39] IRJKWZWN .
  • [40] HMODUNJE scroll on backspace
  • [41] CG3264MM move
  • [42] H2DPLWMV snapshot: wrapping long lines at word boundaries
  • [43] WLHI7KD3 new globals: draw partial screen line up top
  • [44] A2NV3WVO scrolling with up arrow
  • [45] 2RXZ3PGO beginning of a new approach to scroll+wrap
  • [46] ZPUQSPQP extract a few methods
  • [47] QVDQMJXV avoid scrolling down if possible
  • [48] UWNHC4AA redo y computations
  • [49] PFT5Y2ZY move
  • [50] IRV65LZP fold variables for screen dimensions into the app framework
  • [51] EWQ2VRMS clean up test progress indicators
  • [52] 5L7K4GBD clicking to the right of a wrapped line
  • [53] OIB2QPRC start remembering where the cursor is drawn in px
  • [54] AH744RFR show when we're naming a point
  • [55] 4RUI5X52 a few tests for pageup, and a bugfix
  • [56] AD34IX2Z couple more tests
  • [57] 252M2QMD forgot to move this special case out
  • [58] BYG5CEMV support for naming points
  • [59] WY3JD6W6 bugfix
  • [60] NQH7DEEW bugfix: missed rename in one file
  • [61] GN3IF4WF bugfix: pasting newlines
  • [62] P66MRF3U bugfix: don't append metadata when it already exists
  • [63] KOYAJWE4 extract a couple more methods
  • [64] DHI6IJCN selecting text and deleting selections
  • [65] A2QPFRFJ move
  • [66] ESETRNLB bugfix: printing the first part of a line at the bottom made it seem non-wrapping
  • [67] MGT5FTJ3 first stab at supporting wrapping in cursor up
  • [68] DLQMM265 scroll past first page
  • [69] V5TP27FP ctrl-+ and ctrl-- to adjust font size
  • [70] RTDYYP4H bugfix: text past cursor was rendered red on wrapped lines
  • [71] 7OUJM7DL one missing transition between shape modes
  • [72] SQLVYKVJ rename
  • [73] XVR2O5PI change text cursor shape
  • [74] AYE2VEGJ extract a couple of methods
  • [75] 2ZRC7FUL .
  • [76] DAENUOGV eliminate assumptions that line length == size in bytes
  • [77] JY4VK7L2 rename
  • [78] ORQKYYD7 .
  • [79] 5DOC2CBM extract a function
  • [80] JRGTJ2IW quite the frustrating bugfix
  • [81] 4C375P53 this is a bit clearer
  • [82] VJ77YABH more efficient undo/redo
  • [83] U7M4M2F7 bugfix: don't rely on Screen_bottom1 while scrolling
  • [84] H22OAXWE couple of TODOs
  • [85] 3TFEAQSW start using some globals
  • [86] ULKLJBN6 couple of renames
  • [87] JVRL5TWL store device-independent coordinates inside drawings
  • [88] BOFNXP5G clicking now moves the cursor even on long, wrapped lines
  • [89] KWOJ6XHE cut/copy selected text to clipboard
  • [90] N6V6UJ3P this implementation undo load-tests quite poorly
  • [91] B3IWYWSR delete another arg that can be deduced
  • [*] BULPIBEG beginnings of a module for the text editor
  • [*] OTIBCAUJ love2d scaffold
  • [*] BLWAYPKV extract a module

Change contents

  • edit in undo.lua at line 52
    [8.1398][8.1398:1413]()
    zoom=Zoom,
  • replacement in text.lua at line 29
    [8.2007][8.1:62]()
    local frag_width = math.floor(App.width(frag_text)*Zoom)
    [8.2007]
    [8.1]
    local frag_width = App.width(frag_text)
  • replacement in text.lua at line 37
    [8.65][8.83:119](),[8.70][8.83:119](),[8.82][8.83:119](),[8.180][8.83:119](),[8.255][8.83:119](),[8.83][8.83:119](),[8.119][8.360:420]()
    y = y + math.floor(15*Zoom)
    if y + math.floor(15*Zoom) > App.screen.height then
    [8.65]
    [8.420]
    y = y + Line_height
    if y + Line_height > App.screen.height then
  • replacement in text.lua at line 62
    [8.558][8.558:606]()
    lo_px = App.width(before_text)*Zoom
    [8.558]
    [8.606]
    lo_px = App.width(before_text)
  • replacement in text.lua at line 67
    [8.823][8.823:873]()
    local text_width = App.width(text)*Zoom
    [8.823]
    [8.873]
    local text_width = App.width(text)
  • replacement in text.lua at line 69
    [8.919][8.919:1004]()
    love.graphics.rectangle('fill', x+lo_px,y, text_width,math.floor(15*Zoom))
    [8.919]
    [8.1004]
    love.graphics.rectangle('fill', x+lo_px,y, text_width,Line_height)
  • replacement in text.lua at line 74
    [8.54][8.63:110](),[8.282][8.63:110]()
    App.screen.draw(frag_text, x,y, 0, Zoom)
    [8.54]
    [8.260]
    App.screen.draw(frag_text, x,y)
  • replacement in text.lua at line 85
    [7.319][7.319:429]()
    love.graphics.rectangle('fill', x,y, math.floor(App.width(Search_text)*Zoom),math.floor(15*Zoom))
    [7.319]
    [7.429]
    love.graphics.rectangle('fill', x,y, App.width(Search_text),Line_height)
  • replacement in text.lua at line 87
    [7.471][7.471:530]()
    love.graphics.print(Search_term, x,y, 0, Zoom)
    [7.471]
    [7.530]
    love.graphics.print(Search_term, x,y)
  • replacement in text.lua at line 108
    [7.797][7.797:831]()
    local h = math.floor(15*Zoom)+2
    [7.797]
    [7.831]
    local h = Line_height+2
  • replacement in text.lua at line 119
    [7.1313][7.1313:1362]()
    App.screen.print(Search_term, 25,y-5, 0, Zoom)
    [7.1313]
    [7.1362]
    App.screen.print(Search_term, 25,y-5)
  • replacement in text.lua at line 124
    [7.1497][7.1497:1581]()
    love.graphics.circle('fill', 25+math.floor(App.width(Search_text)*Zoom),y-5+h, 2)
    [7.1497]
    [7.1581]
    love.graphics.circle('fill', 25+App.width(Search_text),y-5+h, 2)
  • replacement in text.lua at line 286
    [8.165][8.165:224]()
    love.graphics.circle('fill', x,y+math.floor(15*Zoom), 2)
    [8.165]
    [8.224]
    love.graphics.circle('fill', x,y+Line_height, 2)
  • replacement in text.lua at line 289
    [8.16][8.16:51]()
    Cursor_y = y+math.floor(15*Zoom)
    [8.16]
    [8.256]
    Cursor_y = y+Line_height
  • edit in text.lua at line 300
    [8.320][8.320:331]()
    Zoom = 1
  • edit in text.lua at line 302
    [8.386][8.386:422]()
    local line_height = 15 -- pixels
  • replacement in text.lua at line 304
    [8.512][8.512:534]()
    y = y + line_height
    [8.512]
    [8.534]
    y = y + Line_height
  • replacement in text.lua at line 306
    [8.594][8.594:616]()
    y = y + line_height
    [8.594]
    [8.616]
    y = y + Line_height
  • edit in text.lua at line 318
    [8.273][8.273:284]()
    Zoom = 1
  • edit in text.lua at line 320
    [8.339][8.339:375]()
    local line_height = 15 -- pixels
  • replacement in text.lua at line 322
    [8.474][8.474:496]()
    y = y + line_height
    [8.474]
    [8.496]
    y = y + Line_height
  • replacement in text.lua at line 324
    [8.565][8.565:587]()
    y = y + line_height
    [8.565]
    [8.587]
    y = y + Line_height
  • edit in text.lua at line 336
    [3.282][3.282:293]()
    Zoom = 1
  • edit in text.lua at line 338
    [3.348][3.348:384]()
    local line_height = 15 -- pixels
  • replacement in text.lua at line 340
    [3.489][3.489:511]()
    y = y + line_height
    [3.489]
    [3.511]
    y = y + Line_height
  • replacement in text.lua at line 342
    [3.586][3.586:608]()
    y = y + line_height
    [3.586]
    [3.608]
    y = y + Line_height
  • edit in text.lua at line 355
    [3.1048][3.1048:1059]()
    Zoom = 1
  • edit in text.lua at line 357
    [3.1114][3.1114:1150]()
    local line_height = 15 -- pixels
  • replacement in text.lua at line 359
    [3.1263][3.1263:1285]()
    y = y + line_height
    [3.1263]
    [3.1285]
    y = y + Line_height
  • replacement in text.lua at line 361
    [3.1369][3.1369:1391]()
    y = y + line_height
    [3.1369]
    [3.1391]
    y = y + Line_height
  • edit in text.lua at line 373
    [8.930][8.930:941]()
    Zoom = 1
  • edit in text.lua at line 380
    [8.1169][8.1169:1205]()
    local line_height = 15 -- pixels
  • replacement in text.lua at line 382
    [8.1304][8.1304:1326]()
    y = y + line_height
    [8.1304]
    [8.1326]
    y = y + Line_height
  • replacement in text.lua at line 384
    [8.1395][8.1395:1417]()
    y = y + line_height
    [8.1395]
    [8.1417]
    y = y + Line_height
  • edit in text.lua at line 397
    [8.331][8.331:342]()
    Zoom = 1
  • edit in text.lua at line 398
    [8.384][8.384:437]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 401
    [8.554][8.554:576]()
    y = y + line_height
    [8.554]
    [8.576]
    y = y + Line_height
  • replacement in text.lua at line 403
    [8.650][8.650:672]()
    y = y + line_height
    [8.650]
    [8.672]
    y = y + Line_height
  • replacement in text.lua at line 412
    [8.1127][8.1127:1149]()
    y = y + line_height
    [8.1127]
    [8.1149]
    y = y + Line_height
  • replacement in text.lua at line 414
    [8.1213][8.1213:1235]()
    y = y + line_height
    [8.1213]
    [8.1235]
    y = y + Line_height
  • edit in text.lua at line 427
    [8.1639][8.1639:1650]()
    Zoom = 1
  • edit in text.lua at line 428
    [8.1692][8.1692:1745]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 431
    [8.1869][8.1869:1891]()
    y = y + line_height
    [8.1869]
    [8.1891]
    y = y + Line_height
  • replacement in text.lua at line 433
    [8.1972][8.1972:1994]()
    y = y + line_height
    [8.1972]
    [8.1994]
    y = y + Line_height
  • replacement in text.lua at line 443
    [8.2509][8.2509:2531]()
    y = y + line_height
    [8.2509]
    [8.2531]
    y = y + Line_height
  • replacement in text.lua at line 445
    [8.2603][8.2603:2625]()
    y = y + line_height
    [8.2603]
    [8.2625]
    y = y + Line_height
  • edit in text.lua at line 457
    [8.281][8.281:292]()
    Zoom = 1
  • edit in text.lua at line 473
    [8.431][8.431:442]()
    Zoom = 1
  • edit in text.lua at line 474
    [8.484][8.484:537]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 478
    [8.697][8.697:719]()
    y = y + line_height
    [8.697]
    [8.719]
    y = y + Line_height
  • replacement in text.lua at line 486
    [8.959][8.959:981]()
    y = y + line_height
    [8.959]
    [8.981]
    y = y + Line_height
  • edit in text.lua at line 503
    [8.1537][8.1537:1548]()
    Zoom = 1
  • edit in text.lua at line 528
    [8.1078][8.1078:1089]()
    Zoom = 1
  • edit in text.lua at line 529
    [8.1131][8.1131:1184]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 532
    [8.1327][8.1327:1349]()
    y = y + line_height
    [8.1327]
    [8.1349]
    y = y + Line_height
  • replacement in text.lua at line 534
    [8.1450][8.1450:1472]()
    y = y + line_height
    [8.1450]
    [8.1472]
    y = y + Line_height
  • replacement in text.lua at line 544
    [8.2169][8.2169:2191]()
    y = y + line_height
    [8.2169]
    [8.2191]
    y = y + Line_height
  • replacement in text.lua at line 546
    [8.2282][8.2282:2304]()
    y = y + line_height
    [8.2282]
    [8.2304]
    y = y + Line_height
  • edit in text.lua at line 558
    [8.649][8.649:660]()
    Zoom = 1
  • edit in text.lua at line 559
    [8.702][8.702:755]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 563
    [8.932][8.932:954]()
    y = y + line_height
    [8.932]
    [8.954]
    y = y + Line_height
  • replacement in text.lua at line 565
    [8.1037][8.1037:1059]()
    y = y + line_height
    [8.1037]
    [8.1059]
    y = y + Line_height
  • replacement in text.lua at line 574
    [8.1331][8.1331:1353]()
    y = y + line_height
    [8.1331]
    [8.1353]
    y = y + Line_height
  • replacement in text.lua at line 576
    [8.1427][8.1427:1449]()
    y = y + line_height
    [8.1427]
    [8.1449]
    y = y + Line_height
  • edit in text.lua at line 589
    [8.2004][8.2004:2015]()
    Zoom = 1
  • edit in text.lua at line 590
    [8.2057][8.2057:2110]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 593
    [8.2248][8.2248:2270]()
    y = y + line_height
    [8.2248]
    [8.2270]
    y = y + Line_height
  • replacement in text.lua at line 595
    [8.2365][8.2365:2387]()
    y = y + line_height
    [8.2365]
    [8.2387]
    y = y + Line_height
  • replacement in text.lua at line 603
    [8.2695][8.2695:2717]()
    y = y + line_height
    [8.2695]
    [8.2717]
    y = y + Line_height
  • replacement in text.lua at line 605
    [8.2803][8.2803:2825]()
    y = y + line_height
    [8.2803]
    [8.2825]
    y = y + Line_height
  • edit in text.lua at line 618
    [8.1549][8.1549:1560]()
    Zoom = 1
  • edit in text.lua at line 619
    [8.1602][8.1602:1655]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 622
    [8.1800][8.1800:1822]()
    y = y + line_height
    [8.1800]
    [8.1822]
    y = y + Line_height
  • replacement in text.lua at line 624
    [8.1924][8.1924:1946]()
    y = y + line_height
    [8.1924]
    [8.1946]
    y = y + Line_height
  • replacement in text.lua at line 633
    [8.2602][8.2602:2624]()
    y = y + line_height
    [8.2602]
    [8.2624]
    y = y + Line_height
  • replacement in text.lua at line 635
    [8.2718][8.2718:2740]()
    y = y + line_height
    [8.2718]
    [8.2750]
    y = y + Line_height
  • edit in text.lua at line 648
    [8.3300][8.3300:3311]()
    Zoom = 1
  • edit in text.lua at line 649
    [8.3353][8.3353:3406]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 652
    [8.3579][8.3579:3601]()
    y = y + line_height
    [8.3579]
    [8.3601]
    y = y + Line_height
  • replacement in text.lua at line 654
    [8.3731][8.3731:3753]()
    y = y + line_height
    [8.3731]
    [8.3753]
    y = y + Line_height
  • replacement in text.lua at line 663
    [8.4503][8.4503:4525]()
    y = y + line_height
    [8.4503]
    [8.4525]
    y = y + Line_height
  • replacement in text.lua at line 665
    [8.4648][8.4648:4670]()
    y = y + line_height
    [8.4648]
    [8.4670]
    y = y + Line_height
  • edit in text.lua at line 677
    [8.369][8.369:380]()
    Zoom = 1
  • edit in text.lua at line 678
    [8.422][8.422:475]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 681
    [8.636][8.636:658]()
    y = y + line_height
    [8.636]
    [8.658]
    y = y + Line_height
  • replacement in text.lua at line 683
    [8.776][8.776:798]()
    y = y + line_height
    [8.776]
    [8.798]
    y = y + Line_height
  • replacement in text.lua at line 697
    [8.1999][8.1999:2021]()
    y = y + line_height
    [8.1999]
    [8.2021]
    y = y + Line_height
  • replacement in text.lua at line 699
    [8.2128][8.2128:2150]()
    y = y + line_height
    [8.2128]
    [8.2150]
    y = y + Line_height
  • edit in text.lua at line 712
    [8.616][8.616:627]()
    Zoom = 1
  • edit in text.lua at line 713
    [8.669][8.669:722]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 716
    [8.846][8.846:868]()
    y = y + line_height
    [8.846]
    [8.868]
    y = y + Line_height
  • replacement in text.lua at line 718
    [8.949][8.949:971]()
    y = y + line_height
    [8.949]
    [8.971]
    y = y + Line_height
  • replacement in text.lua at line 727
    [8.1235][8.1235:1257]()
    y = y + line_height
    [8.1235]
    [8.1257]
    y = y + Line_height
  • replacement in text.lua at line 729
    [8.1329][8.1329:1351]()
    y = y + line_height
    [8.1329]
    [8.1351]
    y = y + Line_height
  • edit in text.lua at line 742
    [8.1954][8.1954:1965]()
    Zoom = 1
  • edit in text.lua at line 743
    [8.2007][8.2007:2060]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 746
    [8.2194][8.2194:2216]()
    y = y + line_height
    [8.2194]
    [8.2216]
    y = y + Line_height
  • replacement in text.lua at line 748
    [8.2307][8.2307:2329]()
    y = y + line_height
    [8.2307]
    [8.2329]
    y = y + Line_height
  • replacement in text.lua at line 756
    [8.2623][8.2623:2645]()
    y = y + line_height
    [8.2623]
    [8.2645]
    y = y + Line_height
  • replacement in text.lua at line 758
    [8.2727][8.2727:2749]()
    y = y + line_height
    [8.2727]
    [8.2749]
    y = y + Line_height
  • edit in text.lua at line 771
    [8.5569][8.5569:5580]()
    Zoom = 1
  • edit in text.lua at line 772
    [8.5622][8.5622:5675]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 775
    [8.807][8.5936:5958](),[8.5936][8.5936:5958]()
    y = y + line_height
    [8.807]
    [8.808]
    y = y + Line_height
  • replacement in text.lua at line 781
    [8.997][8.6266:6288](),[8.6266][8.6266:6288]()
    y = y + line_height
    [8.997]
    [8.998]
    y = y + Line_height
  • replacement in text.lua at line 783
    [8.1087][8.6377:6399](),[8.6377][8.6377:6399]()
    y = y + line_height
    [8.1087]
    [8.1088]
    y = y + Line_height
  • edit in text.lua at line 800
    [8.514][8.514:525]()
    Zoom = 1
  • edit in text.lua at line 801
    [8.567][8.567:620]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 804
    [8.763][8.763:785]()
    y = y + line_height
    [8.763]
    [8.785]
    y = y + Line_height
  • replacement in text.lua at line 806
    [8.885][8.885:907]()
    y = y + line_height
    [8.885]
    [8.907]
    y = y + Line_height
  • replacement in text.lua at line 812
    [8.1245][8.1245:1267]()
    y = y + line_height
    [8.1245]
    [8.1267]
    y = y + Line_height
  • replacement in text.lua at line 814
    [8.1358][8.1358:1380]()
    y = y + line_height
    [8.1358]
    [8.1380]
    y = y + Line_height
  • edit in text.lua at line 831
    [8.467][8.467:478]()
    Zoom = 1
  • edit in text.lua at line 832
    [8.520][8.520:573]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 835
    [4.150][8.711:733](),[8.711][8.711:733]()
    y = y + line_height
    [4.150]
    [4.151]
    y = y + Line_height
  • replacement in text.lua at line 837
    [4.244][8.828:850](),[8.828][8.828:850]()
    y = y + line_height
    [4.244]
    [4.245]
    y = y + Line_height
  • replacement in text.lua at line 845
    [8.1262][8.1262:1284]()
    y = y + line_height
    [8.1262]
    [4.510]
    y = y + Line_height
  • replacement in text.lua at line 847
    [4.594][8.1370:1392](),[8.1370][8.1370:1392]()
    y = y + line_height
    [4.594]
    [4.595]
    y = y + Line_height
  • edit in text.lua at line 859
    [8.248][8.248:259]()
    Zoom = 1
  • edit in text.lua at line 860
    [8.301][8.301:354]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 864
    [8.511][8.511:533]()
    y = y + line_height
    [8.511]
    [8.533]
    y = y + Line_height
  • replacement in text.lua at line 872
    [8.879][8.879:901]()
    y = y + line_height
    [8.879]
    [8.901]
    y = y + Line_height
  • edit in text.lua at line 885
    [8.1345][8.1345:1356]()
    Zoom = 1
  • edit in text.lua at line 886
    [8.1398][8.1398:1451]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 889
    [8.1586][8.1586:1608]()
    y = y + line_height
    [8.1586]
    [8.1608]
    y = y + Line_height
  • replacement in text.lua at line 891
    [8.1700][8.1700:1722]()
    y = y + line_height
    [8.1700]
    [8.1722]
    y = y + Line_height
  • replacement in text.lua at line 900
    [8.2324][8.2324:2346]()
    y = y + line_height
    [8.2324]
    [8.2346]
    y = y + Line_height
  • replacement in text.lua at line 902
    [8.2429][8.2429:2451]()
    y = y + line_height
    [8.2429]
    [8.2451]
    y = y + Line_height
  • edit in text.lua at line 915
    [8.2944][8.2944:2955]()
    Zoom = 1
  • edit in text.lua at line 916
    [8.2997][8.2997:3050]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 919
    [8.3194][8.3194:3216]()
    y = y + line_height
    [8.3194]
    [8.3216]
    y = y + Line_height
  • replacement in text.lua at line 928
    [8.3863][8.3863:3885]()
    y = y + line_height
    [8.3863]
    [8.3885]
    y = y + Line_height
  • replacement in text.lua at line 930
    [8.3977][8.3977:3999]()
    y = y + line_height
    [8.3977]
    [8.3999]
    y = y + Line_height
  • edit in text.lua at line 943
    [8.368][8.368:379]()
    Zoom = 1
  • edit in text.lua at line 944
    [8.421][8.421:474]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 947
    [8.610][8.610:632]()
    y = y + line_height
    [8.610]
    [8.632]
    y = y + Line_height
  • replacement in text.lua at line 949
    [8.725][8.725:747]()
    y = y + line_height
    [8.725]
    [8.747]
    y = y + Line_height
  • replacement in text.lua at line 958
    [8.1299][8.1299:1321]()
    y = y + line_height
    [8.1299]
    [8.1321]
    y = y + Line_height
  • replacement in text.lua at line 960
    [8.1403][8.1403:1425]()
    y = y + line_height
    [8.1403]
    [8.1425]
    y = y + Line_height
  • edit in text.lua at line 973
    [8.409][8.409:420]()
    Zoom = 1
  • edit in text.lua at line 974
    [8.462][8.462:515]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 984
    [8.1251][8.1251:1273]()
    y = y + line_height
    [8.1251]
    [8.1273]
    y = y + Line_height
  • edit in text.lua at line 997
    [8.381][8.381:392]()
    Zoom = 1
  • edit in text.lua at line 999
    [8.447][8.447:483]()
    local line_height = 15 -- pixels
  • replacement in text.lua at line 1002
    [8.711][8.711:733]()
    y = y + line_height
    [8.711]
    [8.733]
    y = y + Line_height
  • replacement in text.lua at line 1004
    [8.851][8.851:873]()
    y = y + line_height
    [8.851]
    [8.873]
    y = y + Line_height
  • replacement in text.lua at line 1013
    [8.1353][8.1353:1375]()
    y = y + line_height
    [8.1353]
    [8.1375]
    y = y + Line_height
  • replacement in text.lua at line 1015
    [8.1493][8.1493:1515]()
    y = y + line_height
    [8.1493]
    [8.1515]
    y = y + Line_height
  • edit in text.lua at line 1035
    [8.336][8.336:347]()
    Zoom = 1
  • edit in text.lua at line 1036
    [8.389][8.389:442]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 1039
    [8.568][8.568:590]()
    y = y + line_height
    [8.568]
    [8.590]
    y = y + Line_height
  • replacement in text.lua at line 1041
    [8.673][8.673:695]()
    y = y + line_height
    [8.673]
    [8.695]
    y = y + Line_height
  • replacement in text.lua at line 1049
    [8.1130][8.1130:1152]()
    y = y + line_height
    [8.1130]
    [8.1152]
    y = y + Line_height
  • replacement in text.lua at line 1051
    [8.1226][8.1226:1248]()
    y = y + line_height
    [8.1226]
    [8.1248]
    y = y + Line_height
  • edit in text.lua at line 1064
    [8.1707][8.1707:1718]()
    Zoom = 1
  • edit in text.lua at line 1065
    [8.1760][8.1760:1813]()
    local line_height = math.floor(15*Zoom) -- pixels
  • replacement in text.lua at line 1068
    [8.1951][8.1951:1973]()
    y = y + line_height
    [8.1951]
    [8.1973]
    y = y + Line_height
  • replacement in text.lua at line 1074
    [8.2288][8.2288:2310]()
    y = y + line_height
    [8.2288]
    [8.2310]
    y = y + Line_height
  • replacement in text.lua at line 1076
    [8.2394][8.2394:2416]()
    y = y + line_height
    [8.2394]
    [8.2416]
    y = y + Line_height
  • edit in text.lua at line 1095
    [8.4223][8.4223:4234]()
    Zoom = 1
  • edit in text.lua at line 1113
    [8.5083][8.5083:5094]()
    Zoom = 1
  • edit in text.lua at line 1131
    [8.5937][8.5937:5948]()
    Zoom = 1
  • edit in text.lua at line 1150
    [8.6879][8.6879:6890]()
    Zoom = 1
  • edit in text.lua at line 1169
    [8.7787][8.7787:7798]()
    Zoom = 1
  • edit in text.lua at line 1188
    [8.3058][8.3058:3069]()
    Zoom = 1
  • edit in text.lua at line 1195
    [8.3482][8.3482:3518]()
    local line_height = 15 -- pixels
  • replacement in text.lua at line 1197
    [8.3624][8.3624:3646]()
    y = y + line_height
    [8.3624]
    [8.3646]
    y = y + Line_height
  • replacement in text.lua at line 1199
    [8.3723][8.3723:3745]()
    y = y + line_height
    [8.3723]
    [8.3745]
    y = y + Line_height
  • replacement in text.lua at line 1209
    [8.4234][8.4234:4256]()
    y = y + line_height
    [8.4234]
    [8.4256]
    y = y + Line_height
  • replacement in text.lua at line 1211
    [8.4323][8.4323:4345]()
    y = y + line_height
    [8.4323]
    [8.4345]
    y = y + Line_height
  • edit in text.lua at line 1223
    [8.4685][8.4685:4696]()
    Zoom = 1
  • edit in text.lua at line 1230
    [8.5116][8.5116:5152]()
    local line_height = 15 -- pixels
  • replacement in text.lua at line 1232
    [8.5258][8.5258:5280]()
    y = y + line_height
    [8.5258]
    [8.5280]
    y = y + Line_height
  • replacement in text.lua at line 1234
    [8.5356][8.5356:5378]()
    y = y + line_height
    [8.5356]
    [8.5378]
    y = y + Line_height
  • replacement in text.lua at line 1247
    [8.6075][8.6075:6097]()
    y = y + line_height
    [8.6075]
    [8.6097]
    y = y + Line_height
  • replacement in text.lua at line 1249
    [8.6165][8.6165:6187]()
    y = y + line_height
    [8.6165]
    [8.6187]
    y = y + Line_height
  • replacement in text.lua at line 1260
    [8.747][8.747:808]()
    local frag_width = math.floor(App.width(frag_text)*Zoom)
    [8.747]
    [8.304]
    local frag_width = App.width(frag_text)
  • replacement in text.lua at line 1275
    [8.882][8.6917:6986]()
    local frag1_width = math.floor(App.width(frag1_text)*Zoom)
    [8.882]
    [8.452]
    local frag1_width = App.width(frag1_text)
  • replacement in text.lua at line 1282
    [8.1017][8.1017:1078]()
    frag_width = math.floor(App.width(frag_text)*Zoom)
    [8.1017]
    [8.1327]
    frag_width = App.width(frag_text)
  • replacement in text.lua at line 1466
    [8.209][6.431:530]()
    if Cursor1.line-Screen_top1.line+1 + num_newlines > App.screen.height/math.floor(15*Zoom) then
    [8.209]
    [6.530]
    if Cursor1.line-Screen_top1.line+1 + num_newlines > App.screen.height/Line_height then
  • replacement in text.lua at line 1474
    [6.860][6.860:1141]()
    --? print(Cursor_y, Cursor_y*Line_width, Cursor_y*Line_width+Cursor_x, Cursor_y*Line_width+Cursor_x+clipboard_width, Line_width*App.screen.height/math.floor(15*Zoom))
    if Cursor_y*Line_width+Cursor_x + clipboard_width > Line_width*App.screen.height/math.floor(15*Zoom) then
    [6.860]
    [6.1141]
    --? print(Cursor_y, Cursor_y*Line_width, Cursor_y*Line_width+Cursor_x, Cursor_y*Line_width+Cursor_x+clipboard_width, Line_width*App.screen.height/Line_height)
    if Cursor_y*Line_width+Cursor_x + clipboard_width > Line_width*App.screen.height/Line_height then
  • replacement in text.lua at line 1589
    [8.405][8.405:480]()
    local scroll_down = (Cursor_y + math.floor(15*Zoom)) > App.screen.height
    [8.405]
    [8.480]
    local scroll_down = (Cursor_y + Line_height) > App.screen.height
  • replacement in text.lua at line 1604
    [8.183][8.183:235]()
    local y = App.screen.height - math.floor(15*Zoom)
    [8.183]
    [8.235]
    local y = App.screen.height - Line_height
  • replacement in text.lua at line 1609
    [8.402][8.402:436]()
    y = y - math.floor(15*Zoom)
    [8.402]
    [8.436]
    y = y - Line_height
  • replacement in text.lua at line 1832
    [8.408][8.809:936]()
    --? print(y, App.screen.height, App.screen.height-math.floor(15*Zoom))
    if y > App.screen.height - math.floor(15*Zoom) then
    [8.408]
    [8.1554]
    --? print(y, App.screen.height, App.screen.height-Line_height)
    if y > App.screen.height - Line_height then
  • replacement in text.lua at line 1843
    [8.210][8.2178:2230]()
    local y = App.screen.height - math.floor(15*Zoom)
    [8.210]
    [8.455]
    local y = App.screen.height - Line_height
  • replacement in text.lua at line 1849
    [8.464][8.464:500]()
    local h = math.floor(15*Zoom)
    [8.464]
    [8.500]
    local h = Line_height
  • replacement in text.lua at line 1877
    [8.252][8.252:418]()
    if line.screen_line_starting_pos == nil then return y < line.y + math.floor(15*Zoom) end
    return y < line.y + #line.screen_line_starting_pos * math.floor(15*Zoom)
    [8.252]
    [8.95]
    if line.screen_line_starting_pos == nil then return y < line.y + Line_height end
    return y < line.y + #line.screen_line_starting_pos * Line_height
  • replacement in text.lua at line 1893
    [8.133][8.1056:1098](),[8.1056][8.1056:1098]()
    local nexty = y + math.floor(15*Zoom)
    [8.133]
    [8.1098]
    local nexty = y + Line_height
  • replacement in text.lua at line 2000
    [8.521][8.521:570]()
    return math.floor(App.width(text_before)*Zoom)
    [8.521]
    [8.3290]
    return App.width(text_before)
  • replacement in text.lua at line 2085
    [8.2526][8.2526:2587]()
    local frag_width = math.floor(App.width(frag_text)*Zoom)
    [8.2526]
    [8.2587]
    local frag_width = App.width(frag_text)
  • edit in text.lua at line 2098
    [8.2910]
    [8.2910]
    end
    end
    function Text.redraw_all()
    for _,line in ipairs(Lines) do
    line.fragments = nil
    line.screen_line_starting_pos = nil
  • replacement in main.lua at line 64
    [8.2][8.330:341]()
    Zoom = 1.5
    [8.2]
    [8.3]
    Font_height = 14
    Line_height = 15
  • replacement in main.lua at line 142
    [8.126][8.338:404](),[8.2354][8.338:404](),[8.2072][8.338:404]()
    if y + math.floor(15*Zoom) > App.screen.height then break end
    [8.126]
    [8.2951]
    if y + Line_height > App.screen.height then break end
  • replacement in main.lua at line 162
    [8.1391][8.3:55]()
    y = y + math.floor(15*Zoom) -- text height
    [8.1391]
    [8.1391]
    y = y + Line_height
  • replacement in main.lua at line 172
    [8.213][8.56:108](),[8.337][8.56:108](),[8.407][8.56:108](),[8.675][8.56:108](),[8.3452][8.56:108](),[8.328][8.56:108]()
    y = y + math.floor(15*Zoom) -- text height
    [8.407]
    [8.154]
    y = y + Line_height
  • edit in main.lua at line 257
    [7.3819]
    [7.3819]
    elseif chord == 'C-=' then
    Font_height = Font_height+2
    love.graphics.setFont(love.graphics.newFont(Font_height))
    Line_height = math.floor(Font_height*1.1)
    Text.redraw_all()
    elseif chord == 'C--' then
    Font_height = Font_height-2
    love.graphics.setFont(love.graphics.newFont(Font_height))
    Text.redraw_all()
    Line_height = math.floor(Font_height*1.1)
    elseif chord == 'C-0' then
    Font_height = 14
    love.graphics.setFont(love.graphics.newFont(Font_height))
    Text.redraw_all()
    Line_height = 15
  • replacement in help.lua at line 4
    [8.6732][8.6732:6794](),[8.6794][8.313:343](),[8.343][8.6810:6915](),[8.6810][8.6810:6915](),[8.6915][8.344:374](),[8.374][8.6931:7032](),[8.6931][8.6931:7032](),[8.7032][2.7:134](),[2.134][8.946:1069](),[8.7032][8.946:1069](),[8.1069][8.375:405](),[8.7032][8.375:405](),[8.405][2.135:223](),[2.223][8.406:436](),[8.7145][8.406:436](),[8.436][8.7161:7264](),[8.7161][8.7161:7264](),[8.7264][8.437:497]()
    love.graphics.print("Things you can do:", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("* Press the mouse button to start drawing a "..current_shape(), 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("* Hover on a point and press 'ctrl+v' to start moving it,", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("then press the mouse button to finish", 16+30+bullet_indent(),y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("* Hover on a point and press 'ctrl+n' to name it,", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("then press 'enter' to finish", 16+30+bullet_indent(),y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    y = y + math.floor(15*Zoom)
    [8.6732]
    [8.7296]
    love.graphics.print("Things you can do:", 16+30,y)
    y = y + Line_height
    love.graphics.print("* Press the mouse button to start drawing a "..current_shape(), 16+30,y)
    y = y + Line_height
    love.graphics.print("* Hover on a point and press 'ctrl+v' to start moving it,", 16+30,y)
    y = y + Line_height
    love.graphics.print("then press the mouse button to finish", 16+30+bullet_indent(),y)
    y = y + Line_height
    love.graphics.print("* Hover on a point and press 'ctrl+n' to name it,", 16+30,y)
    y = y + Line_height
    love.graphics.print("then press 'enter' to finish", 16+30+bullet_indent(),y)
    y = y + Line_height
    love.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", 16+30,y)
    y = y + Line_height
    y = y + Line_height
  • replacement in help.lua at line 20
    [8.7341][8.7341:7441](),[8.7441][8.498:530]()
    love.graphics.print("* Press 'ctrl+f' to switch to drawing freehand strokes", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.7341]
    [8.7459]
    love.graphics.print("* Press 'ctrl+f' to switch to drawing freehand strokes", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 24
    [8.7506][8.7506:7595](),[8.7595][8.531:563]()
    love.graphics.print("* Press 'ctrl+l' to switch to drawing lines", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.7506]
    [8.7613]
    love.graphics.print("* Press 'ctrl+l' to switch to drawing lines", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 28
    [8.7665][8.7665:7774](),[8.7774][8.564:596]()
    love.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.7665]
    [8.7792]
    love.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 32
    [8.7841][8.7841:7937](),[8.7937][8.597:629]()
    love.graphics.print("* Press 'ctrl+c' to switch to drawing circles/arcs", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.7841]
    [8.7955]
    love.graphics.print("* Press 'ctrl+c' to switch to drawing circles/arcs", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 36
    [8.8005][8.8005:8097](),[8.8097][8.630:662]()
    love.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.8005]
    [8.422]
    love.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 40
    [8.474][8.474:568](),[8.568][8.663:695]()
    love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.474]
    [8.586]
    love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 44
    [8.635][8.635:726](),[8.726][8.696:728]()
    love.graphics.print("* Press 'ctrl+s' to switch to drawing squares", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.635]
    [8.8115]
    love.graphics.print("* Press 'ctrl+s' to switch to drawing squares", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 47
    [8.8121][8.8121:8211](),[8.8211][8.729:759](),[8.759][8.8227:8301](),[8.8227][8.8227:8301](),[8.8301][8.760:820](),[8.820][8.8333:8411](),[8.8333][8.8333:8411](),[8.8411][8.821:851]()
    love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to Zoom in or out", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("* Press 'ctrl+0' to reset Zoom", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("Hit 'esc' now to hide this message", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.8121]
    [8.8427]
    love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out", 16+30,y)
    y = y + Line_height
    love.graphics.print("* Press 'ctrl+0' to reset zoom", 16+30,y)
    y = y + Line_height
    y = y + Line_height
    love.graphics.print("Hit 'esc' now to hide this message", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 61
    [8.8689][8.8689:8792](),[8.8792][8.852:882](),[8.882][8.8808:8874](),[8.8808][8.8808:8874](),[8.8874][8.883:913]()
    love.graphics.print("You're currently drawing a "..current_shape(drawing.pending), 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print('Things you can do now:', 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.8689]
    [8.8890]
    love.graphics.print("You're currently drawing a "..current_shape(drawing.pending), 16+30,y)
    y = y + Line_height
    love.graphics.print('Things you can do now:', 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 66
    [8.8935][8.8935:9036](),[8.9036][8.914:946]()
    love.graphics.print('* Release the mouse button to finish drawing the stroke', 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.8935]
    [8.9054]
    love.graphics.print('* Release the mouse button to finish drawing the stroke', 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 69
    [8.9138][8.9138:9237](),[8.9237][8.947:979]()
    love.graphics.print('* Release the mouse button to finish drawing the line', 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.9138]
    [8.9255]
    love.graphics.print('* Release the mouse button to finish drawing the line', 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 73
    [8.9347][8.9347:9450](),[8.9450][8.980:1014](),[8.1014][8.9470:9561](),[8.9470][8.9470:9561]()
    love.graphics.print('* Release the mouse button to finish drawing the circle', 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("* Press 'a' to draw just an arc of a circle", 16+30,y, 0, Zoom)
    [8.9347]
    [8.9561]
    love.graphics.print('* Release the mouse button to finish drawing the circle', 16+30,y)
    y = y + Line_height
    love.graphics.print("* Press 'a' to draw just an arc of a circle", 16+30,y)
  • replacement in help.lua at line 77
    [8.9570][8.9570:9670]()
    love.graphics.print('* Release the mouse button to finish drawing the arc', 16+30,y, 0, Zoom)
    [8.9570]
    [8.9670]
    love.graphics.print('* Release the mouse button to finish drawing the arc', 16+30,y)
  • replacement in help.lua at line 79
    [8.9678][8.1015:1047]()
    y = y + math.floor(15*Zoom)
    [8.9678]
    [8.9696]
    y = y + Line_height
  • replacement in help.lua at line 81
    [8.9744][8.9744:9846](),[8.9846][8.1048:1080](),[8.1080][8.9864:9952](),[8.9864][8.9864:9952](),[8.9952][8.1081:1113]()
    love.graphics.print('* Release the mouse button to finish drawing the polygon', 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    love.graphics.print("* Press 'p' to add a vertex to the polygon", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.9744]
    [8.9970]
    love.graphics.print('* Release the mouse button to finish drawing the polygon', 16+30,y)
    y = y + Line_height
    love.graphics.print("* Press 'p' to add a vertex to the polygon", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 86
    [8.9976][8.9976:10091](),[8.10091][8.1114:1174]()
    love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    y = y + math.floor(15*Zoom)
    [8.9976]
    [8.10123]
    love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", 16+30,y)
    y = y + Line_height
    y = y + Line_height
  • replacement in help.lua at line 90
    [8.10164][8.10164:10248](),[8.10248][8.1175:1207]()
    love.graphics.print("* Press 'l' to switch to drawing lines", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.10164]
    [8.10266]
    love.graphics.print("* Press 'l' to switch to drawing lines", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 94
    [8.10318][8.10318:10422](),[8.10422][8.1208:1240]()
    love.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.10318]
    [8.10440]
    love.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 98
    [8.10489][8.10489:10580](),[8.10580][8.1241:1273]()
    love.graphics.print("* Press 'c' to switch to drawing circles/arcs", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.10489]
    [8.10598]
    love.graphics.print("* Press 'c' to switch to drawing circles/arcs", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 102
    [8.10648][8.10648:10735](),[8.10735][8.1274:1306]()
    love.graphics.print("* Press 'g' to switch to drawing polygons", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.10648]
    [8.745]
    love.graphics.print("* Press 'g' to switch to drawing polygons", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 106
    [8.797][8.797:886](),[8.886][8.1307:1339]()
    love.graphics.print("* Press 'g' to switch to drawing rectangles", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.797]
    [8.904]
    love.graphics.print("* Press 'g' to switch to drawing rectangles", 16+30,y)
    y = y + Line_height
  • replacement in help.lua at line 110
    [8.953][8.953:1039](),[8.1039][8.1340:1372]()
    love.graphics.print("* Press 'g' to switch to drawing squares", 16+30,y, 0, Zoom)
    y = y + math.floor(15*Zoom)
    [8.953]
    [8.10753]
    love.graphics.print("* Press 'g' to switch to drawing squares", 16+30,y)
    y = y + Line_height
  • replacement in drawing.lua at line 52
    [8.122][8.122:172]()
    love.graphics.print(p.name, x,y, 0, Zoom)
    [8.122]
    [8.172]
    love.graphics.print(p.name, x,y)
  • replacement in drawing.lua at line 63
    [8.596][5.156:263]()
    love.graphics.rectangle('fill', x,y, math.floor(App.width(name_text)*Zoom), math.floor(15*Zoom))
    [8.596]
    [8.703]
    love.graphics.rectangle('fill', x,y, App.width(name_text), Line_height)
  • replacement in drawing.lua at line 358
    [8.5258][8.5258:5283](),[8.5283][8.717:750](),[8.750][8.5322:5342](),[8.5322][8.5322:5342](),[8.5342][8.751:784](),[8.784][8.5381:5410](),[8.5381][8.5381:5410](),[8.5410][8.785:818](),[8.818][8.5449:5469](),[8.5449][8.5449:5469](),[8.5469][8.819:852](),[8.852][8.5508:5537](),[8.5508][8.5508:5537](),[8.5537][8.853:886](),[8.886][8.5576:5591](),[8.5576][8.5576:5591](),[8.5591][8.887:920](),[8.920][8.5760:5820](),[8.5760][8.5760:5820]()
    if chord == 'C-=' then
    Line_width = Line_width/Zoom
    Zoom = Zoom+0.5
    Line_width = Line_width*Zoom
    elseif chord == 'C--' then
    Line_width = Line_width/Zoom
    Zoom = Zoom-0.5
    Line_width = Line_width*Zoom
    elseif chord == 'C-0' then
    Line_width = Line_width/Zoom
    Zoom = 1.5
    Line_width = Line_width*Zoom
    elseif chord == 'C-f' and not love.mouse.isDown('1') then
    [8.5258]
    [8.5820]
    if chord == 'C-f' and not love.mouse.isDown('1') then