left/right margin -> left/right coordinates

[?]
Jul 13, 2022, 1:29 AM
UHB4GARJI5AB5UCDCZRFSCJNXGJSLU5DYGUGX5ITYEXI7Q43Z4CAC

Dependencies

  • [2] HPVT467W initialize contains test state
  • [3] APYPFFS3 call edit rather than App callbacks in tests
  • [4] DLQAEAC7 add state arg to Drawing.mouse_pressed
  • [5] 7JH2ZT3F add state arg to Drawing.draw
  • [6] PJEQCTBL add state arg to Drawing.update
  • [7] 5ZA3BRNY add state arg to a few functions
  • [8] P4376EXK add state arg to few functions
  • [9] QCPXQ2E3 add state arg to a few functions
  • [10] 3HVBAZPA add state arg to a few functions
  • [11] BYG5CEMV support for naming points
  • [12] RT6EV6OP delegate update events to drawings
  • [13] ZHLO7K3M add args to some functions
  • [14] RMKMPFT5 fix a corner case when selecting text
  • [15] L6XA5EY2 test: moving a point
  • [16] WTDKUACN rectangle and square shapes
  • [17] WOXIYUTL bugfix: manage screen_top and cursor when resizing
  • [18] NHA7RUFI move current mode indicator slightly
  • [19] 7DPPMI2U another integer coordinate
  • [20] VVXVV2D2 change data model; text can now have metadata
  • [21] 4VKEE43Z bugfix
  • [22] CRYGI3LR more drawing tests
  • [23] 4KC7I3E2 make colors easier to edit
  • [24] XRLJDW3W casting about for more helpers to extract..
  • [25] SVJZZDC3 snapshot - no, that's all wrong
  • [26] HYEAFRZ2 split mouse_pressed events between Text and Drawing
  • [27] HOSPP2AN crisp font rendering
  • [28] LXTTOB33 extract a couple of files
  • [29] LUNH47XX make text and drawings the same width
  • [30] NEXUNNCF extract a function
  • [31] JFFUF5AL override mouse state lookups in tests
  • [32] HMODUNJE scroll on backspace
  • [33] AOIRVVJA revert selection logic to before commit 3ffc2ed8f
  • [34] 3QQZ7W4E bring couple more globals back to the app level
  • [35] BERHYBXM fix help for rectangles and squares
  • [36] 5UG5PQ6K undo commit 861c57b533
  • [37] AJB4LFRB try to maintain a reasonable line width
  • [38] 46ASCE5K first commandline arg: window dimensions
  • [39] K464QQR4 more defensive resize handling
  • [40] HTWAM4NZ bugfix: scrolling in left/right movements
  • [41] 3RGHOJ25 DRY some code
  • [42] DHI6IJCN selecting text and deleting selections
  • [43] 3MAZEQK5 add state arg to Text.textinput
  • [44] R6GUSTBY default font size and line-height
  • [45] 6LJZN727 handle chords
  • [46] YT5P6TO6 bugfix: save previous file when dropping a new one on
  • [47] SRVDX4I5 local var
  • [48] GK47BBCY start passing left/right margins everywhere
  • [49] AMSESRTH move some code
  • [50] WQOSZSUE warn on unused commandline args
  • [51] KOYAJWE4 extract a couple more methods
  • [52] GN3IF4WF bugfix: pasting newlines
  • [53] 253TWKDA clean up
  • [54] EBBFOW4X bugfix: clear selection in a couple more places
  • [55] ZLJGZYQG select text with shift + mouseclick
  • [56] DRFE3B3Z mouse buttons are integers, not strings
  • [57] OWK3U6VD tests for drawing polygons
  • [58] LNUHQOGH start passing in Editor_state explicitly
  • [59] CVSRHMJ2 experiment: slightly adaptive scrolling
  • [60] K2X6G75Z start writing some tests for drawings
  • [61] C6QTJYA4 keep online help inside of drawing
  • [62] WLJCIXYM add state arg to a few functions
  • [63] GSPXUEQO .
  • [64] KAUD3YIK tests: deleting points/shapes
  • [65] DXT4QTAH a few more integer coordinates
  • [66] NZKYPBSK check for scroll when just typing
  • [67] NYQ7HD4D move
  • [68] GSV7DABC make online help fit within a drawing
  • [69] 242L3OQX bugfix: ensure Cursor_line is always on a text line
  • [70] 5MR22SGZ bugfix: enable resize when loading settings
  • [71] KZ5GAYRP this fixes the immediate regression
  • [72] GJLOKCYK bugfix: clicking past end of screen line
  • [73] Z4KNS42N to open a file without a terminal, drag it on!
  • [74] VO3GEIRW use app name in window title
  • [75] 7CLGG7J2 test: autosave after any shape
  • [76] MTJEVRJR add state arg to a few functions
  • [77] FFBIY74N bugfix: 'escape' to cancel a stroke
  • [78] 7DYUAOI6 test: undo moving point
  • [79] 6DE7RBZ6 move mouse_released events to Drawing
  • [80] NUCZBE77 bugfix: alignment of help screen
  • [81] CUIV2LE5 some typos
  • [82] EMHRPJ3R no, that's not right
  • [83] LAW2O3NW extract variable Margin_left
  • [84] 65HNIAOS make freehand drawings smoother
  • [85] 2L5MEZV3 experiment: new edit namespace
  • [86] DGK5BPVI bugfix: UTF-8 in compute_fragments
  • [87] AVQ5MC5D finish uppercasing all globals
  • [88] BLWAYPKV extract a module
  • [89] VJ77YABH more efficient undo/redo
  • [90] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [91] 4AXV2HG4 all pending manual tests done!
  • [92] BJ2C6F2B ignore 'name' mode in a few places
  • [93] 42LVB4DE test: naming a point
  • [94] QGO66DNK initialize screen width to something reasonable
  • [95] 2JLVAYHB start decoupling editor tests from App
  • [96] LYN3L74W correct commit f3abc2cbf2
  • [97] Y4VYNEGF test: autosave after name/move/delete of point
  • [98] XNFTJHC4 split keyboard handling between Text and Drawing
  • [99] T3B4NLV3 include a unit test
  • [100] YGCT2D2O start loading settings as applicable
  • [101] Y2ZIPXEM new test
  • [102] WPW3AVFS more precise shape selection
  • [103] WAR3HXHT test both ways of selecting text with mouse
  • [104] MHOUX5JF experiment: turn off JIT
  • [105] 2RXZ3PGO beginning of a new approach to scroll+wrap
  • [106] X3F7ECSL add state arg to some functions
  • [107] CE4LZV4T drop last couple of manual tests
  • [108] T7SJSJIH test: undo naming a point
  • [109] 3OKKTUT4 up and down arrow now moving by screen line where possible
  • [110] YJGADSGK delete unused arg
  • [111] QKAMUWSB another bugfix in scrolling while inserting text
  • [112] SPSW74Y5 add state arg to Text.keychord_pressed
  • [113] OTIBCAUJ love2d scaffold
  • [114] X75QPYVW move Selection1 clearing past business logic
  • [115] 3TDOZESE extract scrolling logic out of insert_return
  • [116] PX7DDEMO autosave slightly less aggressively
  • [117] AVLAYODP much simpler
  • [118] M6TH7VSZ rip out notion of Line_width
  • [119] AD34IX2Z couple more tests
  • [120] LF7BWEG4 group all editor globals
  • [121] 2ZYV7D3W handle tab characters
  • [122] 5DOTWNVM right margin
  • [123] Z5HLXU4P add state arg to a few functions
  • [124] XSLCFVFH .
  • [125] CG3264MM move
  • [126] V5MJRFOZ bugfix: down arrow doesn't scroll up unnecessarily
  • [127] BPWFKBXT new test: dragging and dropping a file on lines.love
  • [128] 4J2L6JMR bugfix: deleting a selection spanning pages
  • [129] 4KOI3E6R remove some redundant checks
  • [130] IWYLK45K clicking to the right of a line within line width
  • [131] QXVD2RIF add state arg to Drawing.mouse_released
  • [132] H3ECRBXF bugfix: clicking on empty lines
  • [133] VHQCNMAR several more modules
  • [134] AVTNUQYR basic test-enabled framework
  • [135] YCDYGEZU include drawing index in a few places
  • [136] ZPUQSPQP extract a few methods
  • [137] PR4KIAZD first stab at equally hacky cursor down support
  • [138] RF5ALVNY allow the window to be resized
  • [139] 23MA4T3G add state arg to Drawing.keychord_pressed
  • [140] PTDO2SOT add state arg to schedule_save
  • [141] DLQMM265 scroll past first page
  • [142] 7Q6GKOOL .
  • [143] KOTI3MFG bugfix in previous commit
  • [144] C45WCXJ2 keep drawings within the line width slider as well
  • [145] PFT5Y2ZY move
  • [146] DSLD74DK lots more tests
  • [147] HFI2YR2C rip out geometry commandline arg
  • [148] S2MISTTM add state arg to a few functions
  • [149] MYC7XR5Q bugfix: lines that aren't drawn from the start
  • [*] AJP4OSTJ new test
  • [*] NUZFHX6I flesh out some tests for word movements
  • [*] 2LC3BM2N support other whitespace chars in word movements
  • [*] V3EABA35 skip multiple consecutive whitespace
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • edit in text_tests.lua at line 6
    [11.107]
    [11.1104]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 19
    [11.604]
    [11.1624]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 22
    [11.55][3.2:77]()
    edit.run_after_mouse_click(Editor_state, 8,Editor_state.margin_top+8, 1)
    [11.55]
    [11.687]
    edit.run_after_mouse_click(Editor_state, 8,Editor_state.top+8, 1)
  • edit in text_tests.lua at line 32
    [11.1115]
    [11.1971]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 45
    [11.126]
    [11.2319]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 49
    [3.178][11.2442:2478](),[11.193][11.2442:2478]()
    local y = Editor_state.margin_top
    [3.178]
    [11.216]
    local y = Editor_state.top
  • edit in text_tests.lua at line 57
    [151.149]
    [11.2479]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 68
    [11.123]
    [11.2725]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 79
    [152.404]
    [11.2955]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 90
    [152.734]
    [11.3186]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 102
    [152.1183]
    [11.3552]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 114
    [152.1623]
    [11.3912]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 125
    [152.1979]
    [11.4156]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 136
    [152.2361]
    [11.4444]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 147
    [153.146]
    [11.4724]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 158
    [154.160]
    [11.5009]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 169
    [152.2769]
    [11.5306]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 181
    [152.3223]
    [11.5679]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 192
    [152.3558]
    [11.5927]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 203
    [153.531]
    [11.6202]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 214
    [154.571]
    [11.6487]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 225
    [152.3954]
    [11.6780]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 238
    [11.151]
    [11.7145]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 245
    [11.555][3.991:1091]()
    edit.run_after_mouse_click(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+5, 1)
    [11.555]
    [11.453]
    edit.run_after_mouse_click(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
  • edit in text_tests.lua at line 255
    [11.193]
    [11.7688]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 262
    [11.582][3.1092:1192]()
    edit.run_after_mouse_click(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+5, 1)
    [11.582]
    [11.455]
    edit.run_after_mouse_click(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
  • edit in text_tests.lua at line 270
    [11.190]
    [11.8119]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 276
    [11.609][11.8382:8418](),[11.316][11.8382:8418]()
    local y = Editor_state.margin_top
    [11.609]
    [11.382]
    local y = Editor_state.top
  • edit in text_tests.lua at line 287
    [11.725]
    [11.8491]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 293
    [11.636][11.8756:8792](),[11.331][11.8756:8792]()
    local y = Editor_state.margin_top
    [11.636]
    [11.919]
    local y = Editor_state.top
  • edit in text_tests.lua at line 304
    [11.1298]
    [11.8865]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 310
    [11.663][11.9129:9165](),[11.346][11.9129:9165]()
    local y = Editor_state.margin_top
    [11.663]
    [11.1491]
    local y = Editor_state.top
  • edit in text_tests.lua at line 322
    [11.1966]
    [11.9238]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 328
    [11.690][11.9504:9540](),[11.361][11.9504:9540]()
    local y = Editor_state.margin_top
    [11.690]
    [11.2161]
    local y = Editor_state.top
  • edit in text_tests.lua at line 340
    [11.206]
    [11.9613]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 346
    [11.717][11.9918:9954](),[11.376][11.9918:9954]()
    local y = Editor_state.margin_top
    [11.717]
    [11.440]
    local y = Editor_state.top
  • edit in text_tests.lua at line 358
    [11.41]
    [11.153]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 365
    [11.744][11.10287:10323](),[11.391][11.10287:10323]()
    local y = Editor_state.margin_top
    [11.744]
    [11.365]
    local y = Editor_state.top
  • edit in text_tests.lua at line 381
    [11.81]
    [11.259]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 388
    [11.771][11.10832:10868](),[11.406][11.10832:10868]()
    local y = Editor_state.margin_top
    [11.771]
    [11.471]
    local y = Editor_state.top
  • edit in text_tests.lua at line 402
    [11.121]
    [11.1053]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 409
    [11.798][11.11419:11455](),[11.421][11.11419:11455]()
    local y = Editor_state.margin_top
    [11.798]
    [11.1265]
    local y = Editor_state.top
  • edit in text_tests.lua at line 426
    [11.161]
    [11.216]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 433
    [11.825][11.12005:12041](),[11.436][11.12005:12041]()
    local y = Editor_state.margin_top
    [11.825]
    [11.466]
    local y = Editor_state.top
  • edit in text_tests.lua at line 450
    [11.202]
    [11.248]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 458
    [11.852][11.12595:12631](),[11.451][11.12595:12631]()
    local y = Editor_state.margin_top
    [11.852]
    [11.541]
    local y = Editor_state.top
  • edit in text_tests.lua at line 471
    [11.341]
    [11.12766]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 493
    [11.381]
    [11.13336]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 511
    [11.461]
    [11.13841]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 528
    [11.501]
    [11.14216]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 550
    [11.541]
    [11.14703]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 568
    [11.581]
    [11.15077]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 586
    [11.621]
    [11.15437]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 606
    [11.164]
    [11.15824]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 612
    [11.1068][11.16094:16130](),[11.571][11.16094:16130]()
    local y = Editor_state.margin_top
    [11.1068]
    [11.363]
    local y = Editor_state.top
  • edit in text_tests.lua at line 630
    [11.2571]
    [11.16429]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 640
    [3.2079][11.16692:16728](),[11.2851][11.16692:16728]()
    local y = Editor_state.margin_top
    [3.2079]
    [11.2936]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 651
    [11.27][11.16801:16865]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.27]
    [11.16865]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 658
    [11.1122][11.17135:17171](),[11.601][11.17135:17171]()
    local y = Editor_state.margin_top
    [11.1122]
    [11.3553]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 669
    [11.17485][11.17485:17515]()
    y = Editor_state.margin_top
    [11.17485]
    [11.4130]
    y = Editor_state.top
  • replacement in text_tests.lua at line 680
    [11.1614][11.17588:17652]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.1614]
    [11.17652]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 697
    [11.27][11.18285:18349]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.27]
    [11.18349]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 704
    [11.1149][11.18619:18655](),[11.616][11.18619:18655]()
    local y = Editor_state.margin_top
    [11.1149]
    [11.4745]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 716
    [11.18990][11.18990:19020]()
    y = Editor_state.margin_top
    [11.18990]
    [11.5387]
    y = Editor_state.top
  • edit in text_tests.lua at line 727
    [11.5776]
    [11.19093]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 734
    [11.1232][3.2230:2332]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+5, 1)
    [11.1232]
    [11.19543]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
  • edit in text_tests.lua at line 744
    [11.308]
    [11.19904]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 752
    [11.40][3.2333:2433]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+5, 1)
    [11.40]
    [11.107]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
  • replacement in text_tests.lua at line 754
    [11.144][3.2434:2562]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+20,Editor_state.margin_top+Editor_state.line_height+5, 1)
    [11.144]
    [11.20467]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+20,Editor_state.top+Editor_state.line_height+5, 1)
  • edit in text_tests.lua at line 764
    [11.687]
    [11.20832]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 772
    [11.610][3.2563:2765]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+5, 1)
    [11.610]
    [11.746]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
  • replacement in text_tests.lua at line 776
    [11.396][3.2766:2995]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+20,Editor_state.margin_top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+20,Editor_state.margin_top+Editor_state.line_height+5, 1)
    [11.396]
    [11.548]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+20,Editor_state.top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+20,Editor_state.top+Editor_state.line_height+5, 1)
  • edit in text_tests.lua at line 788
    [11.173]
    [11.21974]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 796
    [11.475][3.2996:3198]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+5, 1)
    [11.475]
    [11.611]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+8,Editor_state.top+5, 1)
  • replacement in text_tests.lua at line 800
    [11.752][3.3199:3428]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+20,Editor_state.margin_top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+20,Editor_state.margin_top+Editor_state.line_height+5, 1)
    [11.752]
    [11.838]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+20,Editor_state.top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+20,Editor_state.top+Editor_state.line_height+5, 1)
  • replacement in text_tests.lua at line 804
    [11.936][3.3429:3657]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+20,Editor_state.margin_top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+Editor_state.line_height+5, 1)
    [11.936]
    [11.1087]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+20,Editor_state.top+5, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+8,Editor_state.top+Editor_state.line_height+5, 1)
  • replacement in text_tests.lua at line 817
    [11.108][11.23359:23423]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.108]
    [11.23423]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 834
    [11.6350]
    [11.23801]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 841
    [11.1535][11.24064:24100](),[11.878][11.24064:24100]()
    local y = Editor_state.margin_top
    [11.1535]
    [11.6591]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 849
    [11.24283][11.24283:24313]()
    y = Editor_state.margin_top
    [11.24283]
    [11.6975]
    y = Editor_state.top
  • replacement in text_tests.lua at line 859
    [11.29][11.24350:24425]()
    App.screen.init{width=Editor_state.margin_left+drawing_width, height=80}
    [11.29]
    [11.24425]
    App.screen.init{width=Editor_state.left+drawing_width, height=80}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 873
    [11.1562][11.24894:24930](),[11.893][11.24894:24930]()
    local y = Editor_state.margin_top
    [11.1562]
    [11.7982]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 880
    [11.25107][11.25107:25154]()
    y = Editor_state.margin_top + drawing_height
    [11.25107]
    [11.8443]
    y = Editor_state.top + drawing_height
  • edit in text_tests.lua at line 888
    [11.8730]
    [11.25155]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 894
    [11.1589][11.25426:25462](),[11.908][11.25426:25462]()
    local y = Editor_state.margin_top
    [11.1589]
    [11.184]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 906
    [11.25983][11.25983:26013]()
    y = Editor_state.margin_top
    [11.25983]
    [11.979]
    y = Editor_state.top
  • replacement in text_tests.lua at line 917
    [11.1475][11.26086:26150]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.1475]
    [11.26150]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 924
    [11.1616][11.26450:26486](),[11.923][11.26450:26486]()
    local y = Editor_state.margin_top
    [11.1616]
    [11.1746]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 934
    [11.26809][11.26809:26839]()
    y = Editor_state.margin_top
    [11.26809]
    [11.2470]
    y = Editor_state.top
  • edit in text_tests.lua at line 945
    [11.10220]
    [11.26912]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 952
    [11.1643][11.27182:27218](),[11.938][11.27182:27218]()
    local y = Editor_state.margin_top
    [11.1643]
    [11.10470]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 963
    [11.11042][11.27468:27498]()
    y = Editor_state.margin_top
    [11.11042]
    [11.11059]
    y = Editor_state.top
  • edit in text_tests.lua at line 975
    [11.11549]
    [11.27571]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 981
    [11.1670][11.27841:27877](),[11.953][11.27841:27877]()
    local y = Editor_state.margin_top
    [11.1670]
    [11.11748]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 991
    [11.28150][11.28150:28180]()
    y = Editor_state.margin_top
    [11.28150]
    [11.12371]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1002
    [11.12871][11.28253:28317]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.12871]
    [11.28317]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1009
    [11.1697][11.28591:28627](),[11.968][11.28591:28627]()
    local y = Editor_state.margin_top
    [11.1697]
    [11.13116]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1020
    [11.29025][11.29025:29055]()
    y = Editor_state.margin_top
    [11.29025]
    [11.13920]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1031
    [11.14498][11.29128:29192]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.14498]
    [11.29192]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1038
    [11.1724][11.29465:29501](),[11.983][11.29465:29501]()
    local y = Editor_state.margin_top
    [11.1724]
    [11.14742]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1049
    [11.29983][11.29983:30013]()
    y = Editor_state.margin_top
    [11.29983]
    [11.15668]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1059
    [11.16235][11.30086:30150]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.16235]
    [11.30150]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1066
    [11.1751][11.30423:30459](),[11.998][11.30423:30459]()
    local y = Editor_state.margin_top
    [11.1751]
    [11.16479]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1082
    [11.31309][11.31309:31339]()
    y = Editor_state.margin_top
    [11.31309]
    [11.17842]
    y = Editor_state.top
  • edit in text_tests.lua at line 1094
    [11.18405]
    [11.31412]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1100
    [11.1778][11.31682:31718](),[11.1013][11.31682:31718]()
    local y = Editor_state.margin_top
    [11.1778]
    [11.18591]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1111
    [11.19146][11.31964:31994]()
    y = Editor_state.margin_top
    [11.19146]
    [11.19163]
    y = Editor_state.top
  • edit in text_tests.lua at line 1123
    [11.19624]
    [11.32067]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1129
    [11.1805][11.32337:32373](),[11.1028][11.32337:32373]()
    local y = Editor_state.margin_top
    [11.1805]
    [11.19810]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1139
    [11.32638][11.32638:32668]()
    y = Editor_state.margin_top
    [11.32638]
    [11.20407]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1150
    [11.20879][11.32741:32805]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.20879]
    [11.32805]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1157
    [11.1832][11.33079:33115](),[11.1043][11.33079:33115]()
    local y = Editor_state.margin_top
    [11.1832]
    [11.21124]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1163
    [3.4356][11.33152:33182](),[11.21448][11.33152:33182]()
    y = Editor_state.margin_top
    [3.4356]
    [11.21465]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1178
    [11.22319][11.33675:33739]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.22319]
    [11.33739]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1185
    [11.1859][11.34013:34049](),[11.1058][11.34013:34049]()
    local y = Editor_state.margin_top
    [11.1859]
    [11.22564]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1193
    [3.4403][11.34122:34152](),[11.23031][11.34122:34152]()
    y = Editor_state.margin_top
    [3.4403]
    [11.23048]
    y = Editor_state.top
  • edit in text_tests.lua at line 1209
    [11.23975]
    [11.34653]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1215
    [11.1886][11.34927:34963](),[11.1073][11.34927:34963]()
    local y = Editor_state.margin_top
    [11.1886]
    [11.24165]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1225
    [11.35232][11.35232:35262]()
    y = Editor_state.margin_top
    [11.35232]
    [11.24772]
    y = Editor_state.top
  • edit in text_tests.lua at line 1236
    [11.25102]
    [11.35335]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1243
    [11.1913][11.35598:35634](),[11.1088][11.35598:35634]()
    local y = Editor_state.margin_top
    [11.1913]
    [11.25342]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1251
    [11.35813][11.35813:35843]()
    y = Editor_state.margin_top
    [11.35813]
    [11.25712]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1260
    [11.26026][11.35880:35944]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.26026]
    [11.35944]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1267
    [11.1940][11.36218:36254](),[11.1103][11.36218:36254]()
    local y = Editor_state.margin_top
    [11.1940]
    [11.26271]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1278
    [11.36622][11.36622:36652]()
    y = Editor_state.margin_top
    [11.36622]
    [11.27010]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1289
    [11.36816][11.36816:36880]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.36816]
    [11.36880]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1296
    [11.1967][11.37151:37187](),[11.1118][11.37151:37187]()
    local y = Editor_state.margin_top
    [11.1967]
    [11.27750]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1305
    [11.37546][11.37546:37576]()
    y = Editor_state.margin_top
    [11.37546]
    [11.28420]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1316
    [11.28904][11.37649:37713]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.28904]
    [11.37713]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1323
    [11.1994][11.37983:38019](),[11.1133][11.37983:38019]()
    local y = Editor_state.margin_top
    [11.1994]
    [11.29145]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1334
    [11.38390][11.38390:38420]()
    y = Editor_state.margin_top
    [11.38390]
    [11.29836]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1345
    [11.30337][11.38493:38557]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.30337]
    [11.38557]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1352
    [11.2021][11.38827:38863](),[11.1148][11.38827:38863]()
    local y = Editor_state.margin_top
    [11.2021]
    [11.30578]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1359
    [11.39243][11.39243:39273]()
    y = Editor_state.margin_top
    [11.39243]
    [11.31155]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1368
    [11.328][11.39310:39374]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.328]
    [11.39374]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1380
    [11.40033][11.40033:40069]()
    local y = Editor_state.margin_top
    [11.40033]
    [11.1024]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1387
    [11.175][11.40070:40134]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.175]
    [11.40134]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1394
    [11.2075][11.40404:40440](),[11.1178][11.40404:40440]()
    local y = Editor_state.margin_top
    [11.2075]
    [11.416]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1407
    [11.40814][11.40814:40844]()
    y = Editor_state.margin_top
    [11.40814]
    [11.1185]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1418
    [11.182][11.40917:40981]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.182]
    [11.40981]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1426
    [11.2102][11.41256:41292](),[11.1193][11.41256:41292]()
    local y = Editor_state.margin_top
    [11.2102]
    [11.468]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1432
    [3.4940][11.41329:41359](),[11.794][11.41329:41359]()
    y = Editor_state.margin_top
    [3.4940]
    [11.811]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1447
    [11.1677][11.41848:41912]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.1677]
    [11.41912]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1455
    [11.2129][11.42187:42223](),[11.1208][11.42187:42223]()
    local y = Editor_state.margin_top
    [11.2129]
    [11.1972]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1466
    [11.42615][11.42615:42645]()
    y = Editor_state.margin_top
    [11.42615]
    [11.2766]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1477
    [11.3252][11.42718:42782]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.3252]
    [11.42782]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1485
    [11.2156][11.43057:43093](),[11.1223][11.43057:43093]()
    local y = Editor_state.margin_top
    [11.2156]
    [11.3538]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1491
    [3.5039][11.43130:43160](),[11.3842][11.43130:43160]()
    y = Editor_state.margin_top
    [3.5039]
    [11.3859]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1506
    [11.4663][11.43625:43689]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.4663]
    [11.43689]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1514
    [11.2183][11.43964:44000](),[11.1238][11.43964:44000]()
    local y = Editor_state.margin_top
    [11.2183]
    [11.4958]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1525
    [11.44368][11.44368:44398]()
    y = Editor_state.margin_top
    [11.44368]
    [11.5690]
    y = Editor_state.top
  • edit in text_tests.lua at line 1537
    [11.663]
    [11.44471]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1543
    [11.2210][11.44749:44785](),[11.1253][11.44749:44785]()
    local y = Editor_state.margin_top
    [11.2210]
    [11.31897]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1554
    [11.44946][11.44946:44976]()
    y = Editor_state.margin_top
    [11.44946]
    [11.32532]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1561
    [11.33004][3.5227:5356]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+8,Editor_state.margin_top+Editor_state.line_height*2+5, 1)
    [11.33004]
    [11.33130]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+8,Editor_state.top+Editor_state.line_height*2+5, 1)
  • edit in text_tests.lua at line 1571
    [11.33490]
    [11.45342]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1577
    [11.2237][11.45612:45648](),[11.1268][11.45612:45648]()
    local y = Editor_state.margin_top
    [11.2237]
    [11.33676]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1587
    [11.45897][11.45897:45927]()
    y = Editor_state.margin_top
    [11.45897]
    [11.34237]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1598
    [11.34682][11.46000:46064]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.34682]
    [11.46064]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1606
    [11.2264][11.46338:46374](),[11.1283][11.46338:46374]()
    local y = Editor_state.margin_top
    [11.2264]
    [11.34927]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1612
    [3.5464][11.46411:46441](),[11.35247][11.46411:46441]()
    y = Editor_state.margin_top
    [3.5464]
    [11.35264]
    y = Editor_state.top
  • replacement in text_tests.lua at line 1627
    [11.2360][11.46922:46986]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.2360]
    [11.46986]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1643
    [11.36235][11.47253:47317]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.36235]
    [11.47317]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1662
    [11.37096][11.47915:47979]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.37096]
    [11.47979]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1681
    [11.37944][11.48609:48673]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.37944]
    [11.48673]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1701
    [11.38875][11.49389:49453]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.38875]
    [11.49453]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1721
    [11.39774][11.50152:50216]()
    App.screen.init{width=Editor_state.margin_left+30, height=60}
    [11.39774]
    [11.50216]
    App.screen.init{width=Editor_state.left+30, height=60}
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • edit in text_tests.lua at line 1741
    [11.40650]
    [11.50915]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1753
    [11.51546][11.51546:51582]()
    local y = Editor_state.margin_top
    [11.51546]
    [11.41200]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1765
    [11.51987][11.51987:52017]()
    y = Editor_state.margin_top
    [11.51987]
    [11.41812]
    y = Editor_state.top
  • edit in text_tests.lua at line 1776
    [11.42173]
    [11.52090]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text_tests.lua at line 1787
    [11.52722][11.52722:52758]()
    local y = Editor_state.margin_top
    [11.52722]
    [11.42731]
    local y = Editor_state.top
  • replacement in text_tests.lua at line 1802
    [11.53345][11.53345:53375]()
    y = Editor_state.margin_top
    [11.53345]
    [11.43550]
    y = Editor_state.top
  • edit in text_tests.lua at line 1814
    [11.703]
    [11.53448]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in text.lua at line 144
    [11.302][11.302:434](),[11.434][9.3:107]()
    Text.populate_screen_line_starting_pos(State.lines[State.cursor1.line], State.margin_left, App.screen.width-State.margin_right)
    Text.snap_cursor_to_bottom_of_screen(State, State.margin_left, App.screen.width-State.margin_right)
    [11.302]
    [11.531]
    Text.populate_screen_line_starting_pos(State.lines[State.cursor1.line], State.left, State.right)
    Text.snap_cursor_to_bottom_of_screen(State, State.left, State.right)
  • replacement in text.lua at line 168
    [11.261][9.108:214]()
    Text.snap_cursor_to_bottom_of_screen(State, State.margin_left, App.screen.width-State.margin_right)
    [11.261]
    [11.105]
    Text.snap_cursor_to_bottom_of_screen(State, State.left, State.right)
  • replacement in text.lua at line 177
    [11.720][11.720:854](),[11.854][9.215:321]()
    Text.populate_screen_line_starting_pos(State.lines[State.cursor1.line], State.margin_left, App.screen.width-State.margin_right)
    Text.snap_cursor_to_bottom_of_screen(State, State.margin_left, App.screen.width-State.margin_right)
    [11.720]
    [11.953]
    Text.populate_screen_line_starting_pos(State.lines[State.cursor1.line], State.left, State.right)
    Text.snap_cursor_to_bottom_of_screen(State, State.left, State.right)
  • replacement in text.lua at line 185
    [11.1225][11.156:247]()
    Text.delete_selection(State, State.margin_left, App.screen.width-State.margin_right)
    [11.1225]
    [11.55]
    Text.delete_selection(State, State.left, State.right)
  • replacement in text.lua at line 215
    [11.2510][9.322:540]()
    local top2 = Text.to2(State, State.screen_top1, State.margin_left, App.screen.width-State.margin_right)
    top2 = Text.previous_screen_line(State, top2, State.margin_left, App.screen.width-State.margin_right)
    [11.2510]
    [9.540]
    local top2 = Text.to2(State, State.screen_top1, State.left, State.right)
    top2 = Text.previous_screen_line(State, top2, State.left, State.right)
  • replacement in text.lua at line 226
    [11.2976][11.248:339]()
    Text.delete_selection(State, State.margin_left, App.screen.width-State.margin_right)
    [11.2976]
    [11.109]
    Text.delete_selection(State, State.left, State.right)
  • replacement in text.lua at line 261
    [11.277][11.510:587]()
    Text.left(State, State.margin_left, App.screen.width-State.margin_right)
    [11.277]
    [11.4412]
    Text.left(State, State.left, State.right)
  • replacement in text.lua at line 264
    [11.324][11.588:666]()
    Text.right(State, State.margin_left, App.screen.width-State.margin_right)
    [11.324]
    [11.4510]
    Text.right(State, State.left, State.right)
  • replacement in text.lua at line 270
    [11.8804][11.667:744]()
    Text.left(State, State.margin_left, App.screen.width-State.margin_right)
    [11.8804]
    [11.8820]
    Text.left(State, State.left, State.right)
  • replacement in text.lua at line 275
    [11.8952][11.745:823]()
    Text.right(State, State.margin_left, App.screen.width-State.margin_right)
    [11.8952]
    [11.369]
    Text.right(State, State.left, State.right)
  • replacement in text.lua at line 278
    [11.456][11.824:906]()
    Text.word_left(State, State.margin_left, App.screen.width-State.margin_right)
    [11.456]
    [11.4987]
    Text.word_left(State, State.left, State.right)
  • replacement in text.lua at line 281
    [11.794][11.907:990]()
    Text.word_right(State, State.margin_left, App.screen.width-State.margin_right)
    [11.794]
    [11.5090]
    Text.word_right(State, State.left, State.right)
  • replacement in text.lua at line 287
    [11.9221][11.991:1073]()
    Text.word_left(State, State.margin_left, App.screen.width-State.margin_right)
    [11.9221]
    [11.9242]
    Text.word_left(State, State.left, State.right)
  • replacement in text.lua at line 292
    [11.9376][11.1074:1157]()
    Text.word_right(State, State.margin_left, App.screen.width-State.margin_right)
    [11.9376]
    [11.1073]
    Text.word_right(State, State.left, State.right)
  • replacement in text.lua at line 297
    [11.115][11.1189:1273]()
    Text.end_of_line(State, State.margin_left, App.screen.width-State.margin_right)
    [11.115]
    [11.5606]
    Text.end_of_line(State, State.left, State.right)
  • replacement in text.lua at line 308
    [11.9798][11.1305:1389]()
    Text.end_of_line(State, State.margin_left, App.screen.width-State.margin_right)
    [11.9798]
    [11.3956]
    Text.end_of_line(State, State.left, State.right)
  • replacement in text.lua at line 310
    [11.3984][11.1390:1465]()
    Text.up(State, State.margin_left, App.screen.width-State.margin_right)
    [11.3984]
    [11.6011]
    Text.up(State, State.left, State.right)
  • replacement in text.lua at line 313
    [11.4463][11.1466:1543]()
    Text.down(State, State.margin_left, App.screen.width-State.margin_right)
    [11.4463]
    [11.6108]
    Text.down(State, State.left, State.right)
  • replacement in text.lua at line 319
    [11.10118][11.1544:1619]()
    Text.up(State, State.margin_left, App.screen.width-State.margin_right)
    [11.10118]
    [11.10132]
    Text.up(State, State.left, State.right)
  • replacement in text.lua at line 324
    [11.10263][11.1620:1697]()
    Text.down(State, State.margin_left, App.screen.width-State.margin_right)
    [11.10263]
    [11.1]
    Text.down(State, State.left, State.right)
  • replacement in text.lua at line 326
    [11.33][11.1698:1777]()
    Text.pageup(State, State.margin_left, App.screen.width-State.margin_right)
    [11.33]
    [11.6579]
    Text.pageup(State, State.left, State.right)
  • replacement in text.lua at line 329
    [11.893][11.1778:1859]()
    Text.pagedown(State, State.margin_left, App.screen.width-State.margin_right)
    [11.893]
    [11.6680]
    Text.pagedown(State, State.left, State.right)
  • replacement in text.lua at line 335
    [11.10534][11.1860:1939]()
    Text.pageup(State, State.margin_left, App.screen.width-State.margin_right)
    [11.10534]
    [11.10552]
    Text.pageup(State, State.left, State.right)
  • replacement in text.lua at line 340
    [11.10687][11.1940:2021]()
    Text.pagedown(State, State.margin_left, App.screen.width-State.margin_right)
    [11.10687]
    [11.182]
    Text.pagedown(State, State.left, State.right)
  • replacement in text.lua at line 360
    [11.2713][11.2713:2746]()
    while y >= State.margin_top do
    [11.2713]
    [11.26]
    while y >= State.top do
  • replacement in text.lua at line 638
    [9.2263][9.2263:2292]()
    local y = State.margin_top
    [9.2263]
    [9.2292]
    local y = State.top
  • replacement in text.lua at line 671
    [9.3369][9.3369:3408]()
    if y - h < State.margin_top then
    [9.3369]
    [11.545]
    if y - h < State.top then
  • replacement in text.lua at line 681
    [9.3557][9.3557:3596]()
    if y - h < State.margin_top then
    [9.3557]
    [11.857]
    if y - h < State.top then
  • replacement in search.lua at line 59
    [7.880][7.880:1002]()
    local _, pos = Text.pos_at_start_of_cursor_screen_line(State, State.margin_left, App.screen.width-State.margin_right)
    [7.880]
    [7.1002]
    local _, pos = Text.pos_at_start_of_cursor_screen_line(State, State.left, State.right)
  • replacement in search.lua at line 99
    [7.1925][7.1925:2047]()
    local _, pos = Text.pos_at_start_of_cursor_screen_line(State, State.margin_left, App.screen.width-State.margin_right)
    [7.1925]
    [7.2047]
    local _, pos = Text.pos_at_start_of_cursor_screen_line(State, State.left, State.right)
  • replacement in main_tests.lua at line 4
    [11.84592][11.84592:84758]()
    App.screen.init{width=Editor_state.margin_left+300, height=300}
    check_eq(App.screen.width, Editor_state.margin_left+300, 'F - test_resize_window/baseline/width')
    [11.84592]
    [11.232]
    App.screen.init{width=Editor_state.left+300, height=300}
    check_eq(App.screen.width, Editor_state.left+300, 'F - test_resize_window/baseline/width')
  • replacement in main_tests.lua at line 15
    [11.64][11.84759:84825]()
    App.screen.init{width=Editor_state.margin_left+300, height=300}
    [11.64]
    [11.117]
    App.screen.init{width=Editor_state.left+300, height=300}
  • replacement in main_tests.lua at line 42
    [11.99][11.85119:85185]()
    App.screen.init{width=Editor_state.margin_left+300, height=300}
    [11.99]
    [11.152]
    App.screen.init{width=Editor_state.left+300, height=300}
  • replacement in main.lua at line 17
    [11.1566][11.85268:85309]()
    Editor_state = edit.initialize_state()
    [11.1566]
    [11.36]
    -- tests currently mostly clear their own state
  • replacement in main.lua at line 36
    [11.122][11.122:142]()
    load_defaults()
    [11.122]
    [11.142]
    initialize_default_settings()
  • edit in main.lua at line 63
    [11.9][2.8:125]()
    Editor_state.margin_right = 25
    Editor_state.margin_width = Editor_state.margin_left + Editor_state.margin_right
  • edit in main.lua at line 86
    [11.517]
    [11.85929]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)
  • replacement in main.lua at line 88
    [11.85973][11.934:983](),[11.934][11.934:983]()
    initialize_font_settings(settings.font_height)
    [11.85973]
    [11.85974]
    Editor_state.font_height = settings.font_height
    love.graphics.setFont(love.graphics.newFont(Editor_state.font_height))
    Editor_state.line_height = math.floor(Editor_state.font_height*1.3)
    Editor_state.em = App.newText(love.graphics.getFont(), 'm')
  • replacement in main.lua at line 96
    [11.1052][11.1052:1139]()
    function load_defaults()
    initialize_font_settings(20)
    initialize_window_geometry()
    [11.1052]
    [11.1139]
    function initialize_default_settings()
    local font_height = 20
    love.graphics.setFont(love.graphics.newFont(font_height))
    local em = App.newText(love.graphics.getFont(), 'm')
    initialize_window_geometry(App.width(em))
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width-Margin_right)
    Editor_state.font_height = font_height
    Editor_state.line_height = math.floor(font_height*1.3)
    Editor_state.em = em
  • replacement in main.lua at line 107
    [11.1320][11.40:78]()
    function initialize_window_geometry()
    [11.1320]
    [11.78]
    function initialize_window_geometry(em_width)
  • replacement in main.lua at line 111
    [11.220][11.220:274](),[11.274][11.86065:86116]()
    -- shrink slightly to account for window decoration
    App.screen.width = 40*App.width(Editor_state.em)
    [11.220]
    [11.316]
    -- shrink height slightly to account for window decoration
  • edit in main.lua at line 113
    [11.360]
    [11.384]
    App.screen.width = 40*em_width
  • replacement in main.lua at line 125
    [11.86199][9.6127:6247]()
    Text.tweak_screen_top_and_cursor(Editor_state, Editor_state.margin_left, App.screen.height-Editor_state.margin_right)
    [11.86199]
    [11.154]
    Text.tweak_screen_top_and_cursor(Editor_state, Editor_state.left, Editor_state.right)
  • edit in main.lua at line 127
    [11.189][11.690:695](),[11.259][11.690:695](),[11.690][11.690:695](),[11.695][11.41:88](),[11.41][11.41:88](),[11.88][11.86306:86477](),[11.86477][11.220:221](),[11.220][11.220:221](),[11.221][11.86478:86540]()
    end
    function initialize_font_settings(font_height)
    Editor_state.font_height = font_height
    love.graphics.setFont(love.graphics.newFont(Editor_state.font_height))
    Editor_state.line_height = math.floor(font_height*1.3)
    Editor_state.em = App.newText(love.graphics.getFont(), 'm')
  • replacement in help.lua at line 4
    [11.6732][8.70:138]()
    love.graphics.print("Things you can do:", State.margin_left+30,y)
    [11.6732]
    [8.138]
    love.graphics.print("Things you can do:", State.left+30,y)
  • replacement in help.lua at line 6
    [8.166][8.166:282]()
    love.graphics.print("* Press the mouse button to start drawing a "..current_shape(State), State.margin_left+30,y)
    [8.166]
    [8.282]
    love.graphics.print("* Press the mouse button to start drawing a "..current_shape(State), State.left+30,y)
  • replacement in help.lua at line 8
    [8.310][8.310:432]()
    love.graphics.print("* Hover on a point and press 'ctrl+u' to pick it up and start moving it,", State.margin_left+30,y)
    [8.310]
    [8.432]
    love.graphics.print("* Hover on a point and press 'ctrl+u' to pick it up and start moving it,", State.left+30,y)
  • replacement in help.lua at line 10
    [8.460][8.460:564]()
    love.graphics.print("then press the mouse button to drop it", State.margin_left+30+bullet_indent(),y)
    [8.460]
    [8.564]
    love.graphics.print("then press the mouse button to drop it", State.left+30+bullet_indent(),y)
  • replacement in help.lua at line 12
    [8.592][8.592:712]()
    love.graphics.print("* Hover on a point and press 'ctrl+n', type a name, then press 'enter'", State.margin_left+30,y)
    [8.592]
    [8.712]
    love.graphics.print("* Hover on a point and press 'ctrl+n', type a name, then press 'enter'", State.left+30,y)
  • replacement in help.lua at line 14
    [8.740][8.740:849]()
    love.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", State.margin_left+30,y)
    [8.740]
    [8.849]
    love.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", State.left+30,y)
  • replacement in help.lua at line 17
    [8.928][8.928:1034]()
    love.graphics.print("* Press 'ctrl+p' to switch to drawing freehand strokes", State.margin_left+30,y)
    [8.928]
    [8.1034]
    love.graphics.print("* Press 'ctrl+p' to switch to drawing freehand strokes", State.left+30,y)
  • replacement in help.lua at line 21
    [8.1112][8.1112:1207]()
    love.graphics.print("* Press 'ctrl+l' to switch to drawing lines", State.margin_left+30,y)
    [8.1112]
    [8.1207]
    love.graphics.print("* Press 'ctrl+l' to switch to drawing lines", State.left+30,y)
  • replacement in help.lua at line 25
    [8.1290][8.1290:1405]()
    love.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", State.margin_left+30,y)
    [8.1290]
    [8.1405]
    love.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", State.left+30,y)
  • replacement in help.lua at line 29
    [8.1485][8.1485:1587]()
    love.graphics.print("* Press 'ctrl+o' to switch to drawing circles/arcs", State.margin_left+30,y)
    [8.1485]
    [8.1587]
    love.graphics.print("* Press 'ctrl+o' to switch to drawing circles/arcs", State.left+30,y)
  • replacement in help.lua at line 33
    [8.1668][8.1668:1766]()
    love.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", State.margin_left+30,y)
    [8.1668]
    [8.1766]
    love.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", State.left+30,y)
  • replacement in help.lua at line 37
    [8.1849][8.1849:1949]()
    love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", State.margin_left+30,y)
    [8.1849]
    [8.1949]
    love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", State.left+30,y)
  • replacement in help.lua at line 41
    [8.2029][8.2029:2126]()
    love.graphics.print("* Press 'ctrl+s' to switch to drawing squares", State.margin_left+30,y)
    [8.2029]
    [8.2126]
    love.graphics.print("* Press 'ctrl+s' to switch to drawing squares", State.left+30,y)
  • replacement in help.lua at line 44
    [11.8121][8.2157:2275]()
    love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out, ctrl+0 to reset zoom", State.margin_left+30,y)
    [11.8121]
    [8.2275]
    love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out, ctrl+0 to reset zoom", State.left+30,y)
  • replacement in help.lua at line 46
    [8.2303][8.2303:2389]()
    love.graphics.print("Press 'esc' now to hide this message", State.margin_left+30,y)
    [8.2303]
    [8.2389]
    love.graphics.print("Press 'esc' now to hide this message", State.left+30,y)
  • replacement in help.lua at line 49
    [11.349][8.2418:2567]()
    love.graphics.rectangle('fill', State.margin_left,drawing.y, App.screen.width-State.margin_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))
    [11.349]
    [11.8578]
    love.graphics.rectangle('fill', State.left,drawing.y, State.width, math.max(Drawing.pixels(drawing.h),y-drawing.y))
  • replacement in help.lua at line 55
    [11.8689][8.2623:2739]()
    love.graphics.print("You're currently drawing a "..current_shape(State, drawing.pending), State.margin_left+30,y)
    [11.8689]
    [8.2739]
    love.graphics.print("You're currently drawing a "..current_shape(State, drawing.pending), State.left+30,y)
  • replacement in help.lua at line 57
    [8.2767][8.2767:2839]()
    love.graphics.print('Things you can do now:', State.margin_left+30,y)
    [8.2767]
    [8.2839]
    love.graphics.print('Things you can do now:', State.left+30,y)
  • replacement in help.lua at line 60
    [8.2918][8.2918:3025]()
    love.graphics.print('* Release the mouse button to finish drawing the stroke', State.margin_left+30,y)
    [8.2918]
    [8.3025]
    love.graphics.print('* Release the mouse button to finish drawing the stroke', State.left+30,y)
  • replacement in help.lua at line 63
    [8.3151][8.3151:3256]()
    love.graphics.print('* Release the mouse button to finish drawing the line', State.margin_left+30,y)
    [8.3151]
    [8.3256]
    love.graphics.print('* Release the mouse button to finish drawing the line', State.left+30,y)
  • replacement in help.lua at line 67
    [11.9347][8.3340:3449]()
    love.graphics.print('* Release the mouse button to finish drawing the circle', State.margin_left+30,y)
    [11.9347]
    [8.3449]
    love.graphics.print('* Release the mouse button to finish drawing the circle', State.left+30,y)
  • replacement in help.lua at line 69
    [8.3481][8.3481:3578]()
    love.graphics.print("* Press 'a' to draw just an arc of a circle", State.margin_left+30,y)
    [8.3481]
    [11.9561]
    love.graphics.print("* Press 'a' to draw just an arc of a circle", State.left+30,y)
  • replacement in help.lua at line 71
    [11.9570][8.3579:3685]()
    love.graphics.print('* Release the mouse button to finish drawing the arc', State.margin_left+30,y)
    [11.9570]
    [11.9670]
    love.graphics.print('* Release the mouse button to finish drawing the arc', State.left+30,y)
  • replacement in help.lua at line 75
    [8.3770][8.3770:3878]()
    love.graphics.print('* Release the mouse button to finish drawing the polygon', State.margin_left+30,y)
    [8.3770]
    [8.3878]
    love.graphics.print('* Release the mouse button to finish drawing the polygon', State.left+30,y)
  • replacement in help.lua at line 77
    [8.3908][8.3908:4002]()
    love.graphics.print("* Press 'p' to add a vertex to the polygon", State.margin_left+30,y)
    [8.3908]
    [8.4002]
    love.graphics.print("* Press 'p' to add a vertex to the polygon", State.left+30,y)
  • replacement in help.lua at line 81
    [11.104][8.4089:4187]()
    love.graphics.print("* Press 'p' to add a vertex to the rectangle", State.margin_left+30,y)
    [11.104]
    [8.4187]
    love.graphics.print("* Press 'p' to add a vertex to the rectangle", State.left+30,y)
  • replacement in help.lua at line 84
    [11.231][8.4220:4332]()
    love.graphics.print('* Release the mouse button to finish drawing the rectangle', State.margin_left+30,y)
    [11.231]
    [8.4332]
    love.graphics.print('* Release the mouse button to finish drawing the rectangle', State.left+30,y)
  • replacement in help.lua at line 86
    [8.4364][8.4364:4475]()
    love.graphics.print("* Press 'p' to replace the second vertex of the rectangle", State.margin_left+30,y)
    [8.4364]
    [8.4475]
    love.graphics.print("* Press 'p' to replace the second vertex of the rectangle", State.left+30,y)
  • replacement in help.lua at line 91
    [11.592][8.4562:4657]()
    love.graphics.print("* Press 'p' to add a vertex to the square", State.margin_left+30,y)
    [11.592]
    [8.4657]
    love.graphics.print("* Press 'p' to add a vertex to the square", State.left+30,y)
  • replacement in help.lua at line 94
    [11.716][8.4690:4799]()
    love.graphics.print('* Release the mouse button to finish drawing the square', State.margin_left+30,y)
    [11.716]
    [8.4799]
    love.graphics.print('* Release the mouse button to finish drawing the square', State.left+30,y)
  • replacement in help.lua at line 96
    [8.4831][8.4831:4939]()
    love.graphics.print("* Press 'p' to replace the second vertex of the square", State.margin_left+30,y)
    [8.4831]
    [8.4939]
    love.graphics.print("* Press 'p' to replace the second vertex of the square", State.left+30,y)
  • replacement in help.lua at line 100
    [11.9976][8.4972:5093]()
    love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", State.margin_left+30,y)
    [11.9976]
    [8.5093]
    love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", State.left+30,y)
  • replacement in help.lua at line 104
    [8.5196][8.5196:5286]()
    love.graphics.print("* Press 'l' to switch to drawing lines", State.margin_left+30,y)
    [8.5196]
    [8.5286]
    love.graphics.print("* Press 'l' to switch to drawing lines", State.left+30,y)
  • replacement in help.lua at line 108
    [8.5369][8.5369:5479]()
    love.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", State.margin_left+30,y)
    [8.5369]
    [8.5479]
    love.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", State.left+30,y)
  • replacement in help.lua at line 112
    [8.5559][8.5559:5656]()
    love.graphics.print("* Press 'o' to switch to drawing circles/arcs", State.margin_left+30,y)
    [8.5559]
    [8.5656]
    love.graphics.print("* Press 'o' to switch to drawing circles/arcs", State.left+30,y)
  • replacement in help.lua at line 116
    [8.5737][8.5737:5830]()
    love.graphics.print("* Press 'g' to switch to drawing polygons", State.margin_left+30,y)
    [8.5737]
    [8.5830]
    love.graphics.print("* Press 'g' to switch to drawing polygons", State.left+30,y)
  • replacement in help.lua at line 120
    [8.5913][8.5913:6008]()
    love.graphics.print("* Press 'r' to switch to drawing rectangles", State.margin_left+30,y)
    [8.5913]
    [8.6008]
    love.graphics.print("* Press 'r' to switch to drawing rectangles", State.left+30,y)
  • replacement in help.lua at line 124
    [8.6088][8.6088:6180]()
    love.graphics.print("* Press 's' to switch to drawing squares", State.margin_left+30,y)
    [8.6088]
    [8.6180]
    love.graphics.print("* Press 's' to switch to drawing squares", State.left+30,y)
  • replacement in help.lua at line 128
    [11.410][8.6211:6360]()
    love.graphics.rectangle('fill', State.margin_left,drawing.y, App.screen.width-State.margin_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))
    [11.410]
    [11.10910]
    love.graphics.rectangle('fill', State.left,drawing.y, State.width, math.max(Drawing.pixels(drawing.h),y-drawing.y))
  • edit in edit.lua at line 13
    [11.998]
    [11.414]
    Margin_top = 15
    Margin_left = 25
    Margin_right = 25
  • replacement in edit.lua at line 29
    [11.596][11.94286:94319]()
    function edit.initialize_state()
    [11.596]
    [11.94319]
    function edit.initialize_state(top, left, right) -- currently always draws to bottom of screen
  • replacement in edit.lua at line 95
    [11.3415][11.97406:97449](),[11.97449][2.133:155](),[2.155][11.97472:97496](),[11.97472][11.97472:97496]()
    margin_top = 15,
    margin_left = 25,
    margin_right = 0,
    margin_width = nil,
    [11.3415]
    [11.3538]
    top = top,
    left = left,
    right = right,
    width = right-left,
  • edit in edit.lua at line 116
    [11.97868][11.97868:97933]()
    result.margin_width = result.margin_left + result.margin_right
  • replacement in edit.lua at line 125
    [11.2901][11.2901:2930]()
    local y = State.margin_top
    [11.2901]
    [11.4101]
    local y = State.top
  • replacement in edit.lua at line 150
    [11.3480][11.1871:1927]()
    Text.draw_cursor(State, State.margin_left, y)
    [11.3480]
    [11.5217]
    Text.draw_cursor(State, State.left, y)
  • replacement in edit.lua at line 167
    [11.5677][11.1928:2068]()
    y, State.screen_bottom1.pos = Text.draw(State, line, line_index, line.starty, State.margin_left, App.screen.width-State.margin_right)
    [11.5677]
    [11.3957]
    y, State.screen_bottom1.pos = Text.draw(State, line, line_index, line.starty, State.left, State.right)
  • replacement in edit.lua at line 209
    [11.7091][9.6255:6356]()
    if Text.in_line(State, line, x,y, State.margin_left, App.screen.width-State.margin_right) then
    [11.7091]
    [11.7173]
    if Text.in_line(State, line, x,y, State.left, State.right) then
  • replacement in edit.lua at line 224
    [11.7859][9.6357:6469]()
    pos=Text.to_pos_on_line(State, line, x, y, State.margin_left, App.screen.width-State.margin_right),
    [11.7859]
    [11.7952]
    pos=Text.to_pos_on_line(State, line, x, y, State.left, State.right),
  • replacement in edit.lua at line 254
    [11.8882][9.6470:6573]()
    if Text.in_line(State, line, x,y, State.margin_left, App.screen.width-State.margin_right) then
    [11.8882]
    [11.8966]
    if Text.in_line(State, line, x,y, State.left, State.right) then
  • replacement in edit.lua at line 258
    [11.9058][9.6574:6688]()
    pos=Text.to_pos_on_line(State, line, x, y, State.margin_left, App.screen.width-State.margin_right),
    [11.9058]
    [11.9153]
    pos=Text.to_pos_on_line(State, line, x, y, State.left, State.right),
  • replacement in edit.lua at line 305
    [11.10886][11.3739:3828]()
    Text.delete_selection(State, State.margin_left, App.screen.width-State.margin_right)
    [11.10886]
    [11.10956]
    Text.delete_selection(State, State.left, State.right)
  • replacement in edit.lua at line 377
    [11.8593][11.3866:3962]()
    local s = Text.cut_selection(State, State.margin_left, App.screen.width-State.margin_right)
    [11.8593]
    [11.13588]
    local s = Text.cut_selection(State, State.left, State.right)
  • replacement in edit.lua at line 398
    [11.1331][11.1331:1438]()
    Text.snap_cursor_to_bottom_of_screen(State, State.margin_left, App.screen.height-State.margin_right)
    [11.1331]
    [11.14360]
    Text.snap_cursor_to_bottom_of_screen(State, State.left, State.right)
  • edit in drawing_tests.lua at line 8
    [11.186]
    [11.105939]
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 13
    [11.280][3.7289:7364]()
    edit.run_after_mouse_click(Editor_state, 8,Editor_state.margin_top+8, 1)
    [11.280]
    [11.789]
    edit.run_after_mouse_click(Editor_state, 8,Editor_state.top+8, 1)
  • replacement in drawing_tests.lua at line 28
    [11.106101][11.106101:106208]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.106101]
    [11.106208]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 35
    [11.106470][11.106470:106597]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_line/baseline/y')
    [11.106470]
    [11.106597]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_line/baseline/y')
  • replacement in drawing_tests.lua at line 39
    [11.924][3.7365:7637]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.924]
    [11.106998]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 72
    [11.313][11.107141:107248]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.313]
    [11.107248]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 79
    [11.107537][11.107537:107675]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_horizontal_line/baseline/y')
    [11.107537]
    [11.107675]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_horizontal_line/baseline/y')
  • replacement in drawing_tests.lua at line 83
    [11.982][3.7638:7910]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+26, 1)
    [11.982]
    [11.108098]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+26, 1)
  • replacement in drawing_tests.lua at line 100
    [11.1916][11.108139:108246]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.1916]
    [11.108246]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 107
    [11.108512][11.108512:108641]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_circle/baseline/y')
    [11.108512]
    [11.108641]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_circle/baseline/y')
  • replacement in drawing_tests.lua at line 111
    [11.2499][11.108804:108930]()
    App.mouse_move(Editor_state.margin_left+4, Editor_state.margin_top+Editor_state.drawing_padding_top+4) -- hover on drawing
    [11.2499]
    [3.7911]
    App.mouse_move(Editor_state.left+4, Editor_state.top+Editor_state.drawing_padding_top+4) -- hover on drawing
  • replacement in drawing_tests.lua at line 113
    [3.7958][3.7958:8235]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35+30, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [3.7958]
    [11.109178]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35+30, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 129
    [11.109251][11.109251:109358]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.109251]
    [11.109358]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 136
    [11.109628][11.109628:109759]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_cancel_stroke/baseline/y')
    [11.109628]
    [11.109759]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_cancel_stroke/baseline/y')
  • replacement in drawing_tests.lua at line 140
    [11.789][3.8236:8370]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    [11.789]
    [11.869]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
  • replacement in drawing_tests.lua at line 143
    [3.8421][3.8421:8559]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [3.8421]
    [11.110169]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 151
    [11.3500][11.110210:110317]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.3500]
    [11.110317]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 157
    [11.3761][11.110420:110546]()
    App.mouse_move(Editor_state.margin_left+4, Editor_state.margin_top+Editor_state.drawing_padding_top+4) -- hover on drawing
    [11.3761]
    [3.8560]
    App.mouse_move(Editor_state.left+4, Editor_state.top+Editor_state.drawing_padding_top+4) -- hover on drawing
  • replacement in drawing_tests.lua at line 167
    [11.4277][11.110666:110773]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.4277]
    [11.110773]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 174
    [11.111061][11.111061:111201]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_circle_mid_stroke/baseline/y')
    [11.111061]
    [11.111201]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_circle_mid_stroke/baseline/y')
  • replacement in drawing_tests.lua at line 178
    [11.4915][11.111386:111512](),[11.111512][3.8606:8742]()
    App.mouse_move(Editor_state.margin_left+4, Editor_state.margin_top+Editor_state.drawing_padding_top+4) -- hover on drawing
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.4915]
    [3.8742]
    App.mouse_move(Editor_state.left+4, Editor_state.top+Editor_state.drawing_padding_top+4) -- hover on drawing
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 181
    [3.8787][3.8787:8928]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35+30, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [3.8787]
    [11.111760]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35+30, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 195
    [11.5906][11.111801:111908]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.5906]
    [11.111908]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 202
    [11.112170][11.112170:112296]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_arc/baseline/y')
    [11.112170]
    [11.112296]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_arc/baseline/y')
  • replacement in drawing_tests.lua at line 206
    [11.6474][3.8929:9065](),[3.9065][11.112574:112684](),[11.112574][11.112574:112684]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    App.mouse_move(Editor_state.margin_left+35+30, Editor_state.margin_top+Editor_state.drawing_padding_top+36)
    [11.6474]
    [3.9066]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
    App.mouse_move(Editor_state.left+35+30, Editor_state.top+Editor_state.drawing_padding_top+36)
  • replacement in drawing_tests.lua at line 209
    [3.9124][3.9124:9277]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35+50, Editor_state.margin_top+Editor_state.drawing_padding_top+36+50, 1) -- 45°
    [3.9124]
    [11.112823]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35+50, Editor_state.top+Editor_state.drawing_padding_top+36+50, 1) -- 45°
  • replacement in drawing_tests.lua at line 226
    [11.847][11.112864:112971]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.847]
    [11.112971]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 233
    [11.113295][11.113295:113425]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_polygon/baseline/y')
    [11.113295]
    [11.113425]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_polygon/baseline/y')
  • replacement in drawing_tests.lua at line 237
    [11.1489][3.9278:9412]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    [11.1489]
    [3.9412]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
  • replacement in drawing_tests.lua at line 240
    [11.1634][11.113710:113817]()
    App.mouse_move(Editor_state.margin_left+65, Editor_state.margin_top+Editor_state.drawing_padding_top+36)
    [11.1634]
    [3.9475]
    App.mouse_move(Editor_state.left+65, Editor_state.top+Editor_state.drawing_padding_top+36)
  • replacement in drawing_tests.lua at line 243
    [11.1763][3.9535:9673]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+26, 1)
    [11.1763]
    [11.113941]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+26, 1)
  • replacement in drawing_tests.lua at line 264
    [11.2783][11.113982:114089]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.2783]
    [11.114089]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 271
    [11.114419][11.114419:114551]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_rectangle/baseline/y')
    [11.114419]
    [11.114551]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_rectangle/baseline/y')
  • replacement in drawing_tests.lua at line 275
    [11.3437][3.9674:9810]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.3437]
    [3.9810]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 278
    [11.3597][11.114842:114949]()
    App.mouse_move(Editor_state.margin_left+42, Editor_state.margin_top+Editor_state.drawing_padding_top+45)
    [11.3597]
    [3.9875]
    App.mouse_move(Editor_state.left+42, Editor_state.top+Editor_state.drawing_padding_top+45)
  • replacement in drawing_tests.lua at line 281
    [11.3733][11.114950:115057]()
    App.mouse_move(Editor_state.margin_left+75, Editor_state.margin_top+Editor_state.drawing_padding_top+76)
    [11.3733]
    [3.9921]
    App.mouse_move(Editor_state.left+75, Editor_state.top+Editor_state.drawing_padding_top+76)
  • replacement in drawing_tests.lua at line 284
    [11.3907][3.9967:10105]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+15, Editor_state.margin_top+Editor_state.drawing_padding_top+26, 1)
    [11.3907]
    [11.115181]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+15, Editor_state.top+Editor_state.drawing_padding_top+26, 1)
  • replacement in drawing_tests.lua at line 308
    [11.5167][11.115222:115329]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.5167]
    [11.115329]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 315
    [11.115698][11.115698:115843]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_rectangle_intermediate/baseline/y')
    [11.115698]
    [11.115843]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_rectangle_intermediate/baseline/y')
  • replacement in drawing_tests.lua at line 319
    [11.5899][3.10106:10242]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.5899]
    [3.10242]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 322
    [11.6059][11.116160:116267]()
    App.mouse_move(Editor_state.margin_left+42, Editor_state.margin_top+Editor_state.drawing_padding_top+45)
    [11.6059]
    [3.10307]
    App.mouse_move(Editor_state.left+42, Editor_state.top+Editor_state.drawing_padding_top+45)
  • replacement in drawing_tests.lua at line 325
    [11.6195][11.116268:116375]()
    App.mouse_move(Editor_state.margin_left+75, Editor_state.margin_top+Editor_state.drawing_padding_top+76)
    [11.6195]
    [3.10353]
    App.mouse_move(Editor_state.left+75, Editor_state.top+Editor_state.drawing_padding_top+76)
  • replacement in drawing_tests.lua at line 344
    [11.7265][11.116417:116524]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.7265]
    [11.116524]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 351
    [11.116845][11.116845:116974]()
    check_eq(Editor_state.lines[1].y, Editor_state.margin_top+Editor_state.drawing_padding_top, 'F - test_draw_square/baseline/y')
    [11.116845]
    [11.116974]
    check_eq(Editor_state.lines[1].y, Editor_state.top+Editor_state.drawing_padding_top, 'F - test_draw_square/baseline/y')
  • replacement in drawing_tests.lua at line 355
    [11.7901][3.10399:10535]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.7901]
    [3.10535]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 358
    [11.8058][11.117259:117366]()
    App.mouse_move(Editor_state.margin_left+42, Editor_state.margin_top+Editor_state.drawing_padding_top+45)
    [11.8058]
    [3.10597]
    App.mouse_move(Editor_state.left+42, Editor_state.top+Editor_state.drawing_padding_top+45)
  • replacement in drawing_tests.lua at line 361
    [11.8194][11.117367:117474]()
    App.mouse_move(Editor_state.margin_left+65, Editor_state.margin_top+Editor_state.drawing_padding_top+66)
    [11.8194]
    [3.10643]
    App.mouse_move(Editor_state.left+65, Editor_state.top+Editor_state.drawing_padding_top+66)
  • replacement in drawing_tests.lua at line 364
    [11.8358][3.10689:10827]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+15, Editor_state.margin_top+Editor_state.drawing_padding_top+26, 1)
    [11.8358]
    [11.117598]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+15, Editor_state.top+Editor_state.drawing_padding_top+26, 1)
  • replacement in drawing_tests.lua at line 388
    [11.117671][11.117671:117778]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.117671]
    [11.117778]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 394
    [11.460][3.10828:11100]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.460]
    [11.118123]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 431
    [11.118577][11.118577:118684]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.118577]
    [11.118684]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 436
    [11.10021][3.11247:11519]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.10021]
    [11.119029]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 465
    [11.1471][11.119321:119428]()
    App.mouse_move(Editor_state.margin_left+26, Editor_state.margin_top+Editor_state.drawing_padding_top+44)
    [11.1471]
    [11.1539]
    App.mouse_move(Editor_state.left+26, Editor_state.top+Editor_state.drawing_padding_top+44)
  • replacement in drawing_tests.lua at line 471
    [11.1722][3.11568:11704]()
    edit.run_after_mouse_click(Editor_state, Editor_state.margin_left+26, Editor_state.margin_top+Editor_state.drawing_padding_top+44, 1)
    [11.1722]
    [11.119550]
    edit.run_after_mouse_click(Editor_state, Editor_state.left+26, Editor_state.top+Editor_state.drawing_padding_top+44, 1)
  • replacement in drawing_tests.lua at line 488
    [11.119793][11.119793:119900]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.119793]
    [11.119900]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 493
    [11.10075][3.11705:11977]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+46, 1)
    [11.10075]
    [11.120250]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+46, 1)
  • replacement in drawing_tests.lua at line 504
    [11.1027][11.120394:120501]()
    App.mouse_move(Editor_state.margin_left+26, Editor_state.margin_top+Editor_state.drawing_padding_top+44)
    [11.1027]
    [11.1095]
    App.mouse_move(Editor_state.left+26, Editor_state.top+Editor_state.drawing_padding_top+44)
  • replacement in drawing_tests.lua at line 514
    [11.120534][11.120534:120641]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.120534]
    [11.120641]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 519
    [11.10129][3.12026:12572]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+55, Editor_state.margin_top+Editor_state.drawing_padding_top+26, 1)
    [11.10129]
    [11.121230]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+55, Editor_state.top+Editor_state.drawing_padding_top+26, 1)
  • replacement in drawing_tests.lua at line 528
    [11.1028][11.121271:121378]()
    App.mouse_move(Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36)
    [11.1028]
    [3.12573]
    App.mouse_move(Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36)
  • replacement in drawing_tests.lua at line 543
    [11.1468][11.121525:121632]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.1468]
    [11.121632]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 548
    [11.10156][3.12621:13167]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+55, Editor_state.margin_top+Editor_state.drawing_padding_top+26, 1)
    [11.10156]
    [11.122221]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+55, Editor_state.top+Editor_state.drawing_padding_top+26, 1)
  • replacement in drawing_tests.lua at line 557
    [11.2368][11.122262:122369]()
    App.mouse_move(Editor_state.margin_left+25, Editor_state.margin_top+Editor_state.drawing_padding_top+26)
    [11.2368]
    [3.13168]
    App.mouse_move(Editor_state.left+25, Editor_state.top+Editor_state.drawing_padding_top+26)
  • replacement in drawing_tests.lua at line 567
    [11.2844][11.122370:122477]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.2844]
    [11.122477]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 573
    [11.3062][3.13216:13350]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    [11.3062]
    [3.13350]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
  • replacement in drawing_tests.lua at line 576
    [11.3207][11.122700:122807]()
    App.mouse_move(Editor_state.margin_left+65, Editor_state.margin_top+Editor_state.drawing_padding_top+36)
    [11.3207]
    [3.13413]
    App.mouse_move(Editor_state.left+65, Editor_state.top+Editor_state.drawing_padding_top+36)
  • replacement in drawing_tests.lua at line 579
    [11.3336][11.122808:122915]()
    App.mouse_move(Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+26)
    [11.3336]
    [3.13473]
    App.mouse_move(Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+26)
  • replacement in drawing_tests.lua at line 582
    [11.3466][3.13533:13671]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+14, Editor_state.margin_top+Editor_state.drawing_padding_top+16, 1)
    [11.3466]
    [11.123039]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+14, Editor_state.top+Editor_state.drawing_padding_top+16, 1)
  • replacement in drawing_tests.lua at line 588
    [11.3893][11.123080:123187]()
    App.mouse_move(Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+26)
    [11.3893]
    [3.13672]
    App.mouse_move(Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+26)
  • replacement in drawing_tests.lua at line 598
    [11.4357][11.123188:123295]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.4357]
    [11.123295]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 604
    [11.4575][3.13720:13854]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    [11.4575]
    [3.13854]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
  • replacement in drawing_tests.lua at line 607
    [11.4720][11.123518:123625]()
    App.mouse_move(Editor_state.margin_left+65, Editor_state.margin_top+Editor_state.drawing_padding_top+36)
    [11.4720]
    [3.13917]
    App.mouse_move(Editor_state.left+65, Editor_state.top+Editor_state.drawing_padding_top+36)
  • replacement in drawing_tests.lua at line 610
    [11.4849][3.13977:14115]()
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+14, Editor_state.margin_top+Editor_state.drawing_padding_top+16, 1)
    [11.4849]
    [11.123749]
    edit.run_after_mouse_release(Editor_state, Editor_state.left+14, Editor_state.top+Editor_state.drawing_padding_top+16, 1)
  • replacement in drawing_tests.lua at line 616
    [11.5276][11.123790:123897]()
    App.mouse_move(Editor_state.margin_left+65, Editor_state.margin_top+Editor_state.drawing_padding_top+36)
    [11.5276]
    [3.14116]
    App.mouse_move(Editor_state.left+65, Editor_state.top+Editor_state.drawing_padding_top+36)
  • replacement in drawing_tests.lua at line 626
    [11.123930][11.123930:124037]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.123930]
    [11.124037]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 632
    [11.429][3.14164:14436]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.429]
    [11.124382]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 672
    [11.124966][11.124966:125073]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.124966]
    [11.125073]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 677
    [11.10264][3.14629:14901]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    [11.10264]
    [11.125418]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
  • replacement in drawing_tests.lua at line 692
    [3.14949][11.125459:125566](),[11.1230][11.125459:125566]()
    App.mouse_move(Editor_state.margin_left+26, Editor_state.margin_top+Editor_state.drawing_padding_top+44)
    [3.14949]
    [11.1298]
    App.mouse_move(Editor_state.left+26, Editor_state.top+Editor_state.drawing_padding_top+44)
  • replacement in drawing_tests.lua at line 698
    [11.1491][3.14950:15086]()
    edit.run_after_mouse_click(Editor_state, Editor_state.margin_left+26, Editor_state.margin_top+Editor_state.drawing_padding_top+44, 1)
    [11.1491]
    [11.125688]
    edit.run_after_mouse_click(Editor_state, Editor_state.left+26, Editor_state.top+Editor_state.drawing_padding_top+44, 1)
  • replacement in drawing_tests.lua at line 722
    [11.126053][11.126053:126160]()
    App.screen.init{width=Editor_state.margin_width+256, height=300} -- drawing coordinates 1:1 with pixels
    [11.126053]
    [11.126160]
    App.screen.init{width=Margin_left+256, height=300} -- drawing coordinates 1:1 with pixels
    Editor_state = edit.initialize_state(Margin_top, Margin_left, App.screen.width) -- zero right margin
  • replacement in drawing_tests.lua at line 727
    [11.10291][3.15210:15756]()
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+5, Editor_state.margin_top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_press(Editor_state, Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.margin_left+55, Editor_state.margin_top+Editor_state.drawing_padding_top+26, 1)
    [11.10291]
    [11.126749]
    edit.run_after_mouse_press(Editor_state, Editor_state.left+5, Editor_state.top+Editor_state.drawing_padding_top+6, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_press(Editor_state, Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36, 1)
    edit.run_after_mouse_release(Editor_state, Editor_state.left+55, Editor_state.top+Editor_state.drawing_padding_top+26, 1)
  • replacement in drawing_tests.lua at line 736
    [11.1067][11.126790:126897]()
    App.mouse_move(Editor_state.margin_left+35, Editor_state.margin_top+Editor_state.drawing_padding_top+36)
    [11.1067]
    [3.15757]
    App.mouse_move(Editor_state.left+35, Editor_state.top+Editor_state.drawing_padding_top+36)
  • replacement in drawing.lua at line 9
    [11.1580][5.86:195]()
    if pmx < App.screen.width-State.margin_right and pmy > line.y and pmy < line.y+Drawing.pixels(line.h) then
    [11.1580]
    [11.1026]
    if pmx < State.right and pmy > line.y and pmy < line.y+Drawing.pixels(line.h) then
  • replacement in drawing.lua at line 11
    [11.1052][5.196:318]()
    love.graphics.rectangle('line', State.margin_left,line.y, App.screen.width-State.margin_width,Drawing.pixels(line.h))
    [11.1052]
    [5.318]
    love.graphics.rectangle('line', State.left,line.y, State.width,Drawing.pixels(line.h))
  • replacement in drawing.lua at line 13
    [5.363][5.363:452]()
    icon[State.current_drawing_mode](App.screen.width-State.margin_right-22, line.y+4)
    [5.363]
    [11.523]
    icon[State.current_drawing_mode](State.right-22, line.y+4)
  • replacement in drawing.lua at line 15
    [11.532][5.453:543]()
    icon[State.previous_drawing_mode](App.screen.width-State.margin_right-22, line.y+4)
    [11.532]
    [11.589]
    icon[State.previous_drawing_mode](State.right-22, line.y+4)
  • replacement in drawing.lua at line 29
    [11.817][5.544:624]()
    local mx,my = Drawing.coord(pmx-State.margin_left), Drawing.coord(pmy-line.y)
    [11.817]
    [11.894]
    local mx,my = Drawing.coord(pmx-State.left), Drawing.coord(pmy-line.y)
  • replacement in drawing.lua at line 38
    [11.1083][5.625:687]()
    Drawing.draw_shape(State.margin_left,line.y, line, shape)
    [11.1083]
    [11.1122]
    Drawing.draw_shape(State.left,line.y, line, shape)
  • replacement in drawing.lua at line 44
    [11.1159][5.688:794]()
    love.graphics.circle('line', Drawing.pixels(p.x)+State.margin_left,Drawing.pixels(p.y)+line.y, 4)
    [11.1159]
    [11.1335]
    love.graphics.circle('line', Drawing.pixels(p.x)+State.left,Drawing.pixels(p.y)+line.y, 4)
  • replacement in drawing.lua at line 47
    [11.1192][5.795:901]()
    love.graphics.circle('fill', Drawing.pixels(p.x)+State.margin_left,Drawing.pixels(p.y)+line.y, 2)
    [11.1192]
    [11.1521]
    love.graphics.circle('fill', Drawing.pixels(p.x)+State.left,Drawing.pixels(p.y)+line.y, 2)
  • replacement in drawing.lua at line 51
    [11.37][5.902:992]()
    local x,y = Drawing.pixels(p.x)+State.margin_left+5, Drawing.pixels(p.y)+line.y+5
    [11.37]
    [11.8431]
    local x,y = Drawing.pixels(p.x)+State.left+5, Drawing.pixels(p.y)+line.y+5
  • replacement in drawing.lua at line 69
    [11.1279][5.1205:1266]()
    Drawing.draw_pending_shape(State.margin_left,line.y, line)
    [11.1279]
    [11.10]
    Drawing.draw_pending_shape(State.left,line.y, line)
  • replacement in drawing.lua at line 207
    [11.2271][11.128465:128620]()
    return y >= drawing.y and y < drawing.y + Drawing.pixels(drawing.h) and x >= Editor_state.margin_left and x < App.screen.width-Editor_state.margin_right
    [11.2271]
    [11.795]
    return y >= drawing.y and y < drawing.y + Drawing.pixels(drawing.h) and x >= Editor_state.left and x < Editor_state.right
  • replacement in drawing.lua at line 212
    [4.191][4.191:326]()
    drawing.pending = {mode=State.current_drawing_mode, points={{x=Drawing.coord(x-State.margin_left), y=Drawing.coord(y-drawing.y)}}}
    [4.191]
    [4.326]
    drawing.pending = {mode=State.current_drawing_mode, points={{x=Drawing.coord(x-State.left), y=Drawing.coord(y-drawing.y)}}}
  • replacement in drawing.lua at line 214
    [4.422][4.422:537]()
    local j = Drawing.insert_point(drawing.points, Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y))
    [4.422]
    [4.537]
    local j = Drawing.insert_point(drawing.points, Drawing.coord(x-State.left), Drawing.coord(y-drawing.y))
  • replacement in drawing.lua at line 217
    [4.740][4.740:855]()
    local j = Drawing.insert_point(drawing.points, Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y))
    [4.740]
    [4.855]
    local j = Drawing.insert_point(drawing.points, Drawing.coord(x-State.left), Drawing.coord(y-drawing.y))
  • replacement in drawing.lua at line 220
    [4.978][4.978:1093]()
    local j = Drawing.insert_point(drawing.points, Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y))
    [4.978]
    [4.1093]
    local j = Drawing.insert_point(drawing.points, Drawing.coord(x-State.left), Drawing.coord(y-drawing.y))
  • replacement in drawing.lua at line 241
    [11.433][6.180:319]()
    table.insert(drawing.pending.points, {x=Drawing.coord(App.mouse_x()-State.margin_left), y=Drawing.coord(App.mouse_y()-drawing.y)})
    [11.433]
    [11.565]
    table.insert(drawing.pending.points, {x=Drawing.coord(App.mouse_x()-State.left), y=Drawing.coord(App.mouse_y()-drawing.y)})
  • replacement in drawing.lua at line 243
    [11.614][6.320:405]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.614]
    [11.684]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 251
    [11.881][6.458:541]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.881]
    [11.949]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 297
    [11.227][11.488:573]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.227]
    [11.297]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 304
    [11.627][11.574:659]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.627]
    [11.697]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 312
    [11.1032][11.660:757]()
    App.mouse_move(State.margin_left+Drawing.pixels(p2.x), drawing.y+Drawing.pixels(p2.y))
    [11.1032]
    [11.1122]
    App.mouse_move(State.left+Drawing.pixels(p2.x), drawing.y+Drawing.pixels(p2.y))
  • replacement in drawing.lua at line 316
    [11.1231][11.758:843]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.1231]
    [11.1301]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 324
    [11.1668][11.844:931]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.1668]
    [11.1740]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 339
    [11.2366][11.932:1019]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.2366]
    [11.2438]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 350
    [11.2970][11.1020:1105]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.2970]
    [11.3040]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 357
    [11.3348][11.1106:1191]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.3348]
    [11.3418]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 463
    [10.413][11.691:796](),[11.9556][11.691:796]()
    local mx,my = Drawing.coord(App.mouse_x()-State.margin_left), Drawing.coord(App.mouse_y()-drawing.y)
    [10.413]
    [11.9655]
    local mx,my = Drawing.coord(App.mouse_x()-State.left), Drawing.coord(App.mouse_y()-drawing.y)
  • replacement in drawing.lua at line 468
    [10.467][11.937:1042](),[11.211][11.937:1042]()
    local mx,my = Drawing.coord(App.mouse_x()-State.margin_left), Drawing.coord(App.mouse_y()-drawing.y)
    [10.467]
    [11.6888]
    local mx,my = Drawing.coord(App.mouse_x()-State.left), Drawing.coord(App.mouse_y()-drawing.y)
  • replacement in drawing.lua at line 479
    [11.7258][11.1178:1283]()
    local mx,my = Drawing.coord(App.mouse_x()-State.margin_left), Drawing.coord(App.mouse_y()-drawing.y)
    [11.7258]
    [11.7414]
    local mx,my = Drawing.coord(App.mouse_x()-State.left), Drawing.coord(App.mouse_y()-drawing.y)
  • replacement in drawing.lua at line 617
    [11.749][10.1167:1252]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.749]
    [11.19800]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 634
    [11.867][10.1354:1439]()
    local mx,my = Drawing.coord(x-State.margin_left), Drawing.coord(y-drawing.y)
    [11.867]
    [11.20403]
    local mx,my = Drawing.coord(x-State.left), Drawing.coord(y-drawing.y)
  • replacement in drawing.lua at line 703
    [11.23060][11.134267:134337]()
    return (cx-px)*(cx-px) + (cy-py)*(cy-py) < Editor_state.margin_left
    [11.23060]
    [11.23108]
    return (cx-px)*(cx-px) + (cy-py)*(cy-py) < Editor_state.left
  • replacement in drawing.lua at line 707
    [11.27500][11.134338:134410]()
    return math.floor(n*(App.screen.width-Editor_state.margin_width)/256)
    [11.27500]
    [11.27529]
    return math.floor(n*Editor_state.width/256)
  • replacement in drawing.lua at line 710
    [11.27579][11.134411:134483]()
    return math.floor(n*256/(App.screen.width-Editor_state.margin_width))
    [11.27579]
    [11.11944]
    return math.floor(n*256/Editor_state.width)