stop pretending globals are local

[?]
Jul 12, 2022, 5:11 AM
4CTZOJPCTWYUSHLIZZJ2M5W7S4JZFZVT5MUU5XNSOIBS5L4UY5UQC

Dependencies

  • [2] WPW3AVFS more precise shape selection
  • [3] PLKNHYZ4 extract a function
  • [4] H2DPLWMV snapshot: wrapping long lines at word boundaries
  • [5] 7CLGG7J2 test: autosave after any shape
  • [6] 6PUNJS5B backspace
  • [7] VHQCNMAR several more modules
  • [8] XX7G2FFJ intermingle freehand line drawings with text
  • [9] 2RXZ3PGO beginning of a new approach to scroll+wrap
  • [10] D2GCFTTT clean up repl functionality
  • [11] 6LJZN727 handle chords
  • [12] XNFTJHC4 split keyboard handling between Text and Drawing
  • [13] DXT4QTAH a few more integer coordinates
  • [14] 2H67P75X switch arg for a function
  • [15] 73OCE2MC after much struggle, a brute-force undo
  • [16] 253TWKDA clean up
  • [17] HOSPP2AN crisp font rendering
  • [18] OYXDYPGS get rid of debug variables
  • [19] IYW7X3WL left/right cursor movement, deleting characters
  • [20] LXTTOB33 extract a couple of files
  • [21] BULPIBEG beginnings of a module for the text editor
  • [22] EGH7XDBK support non-text lines in Text.to2
  • [23] 4CXVIEBS add args to some functions
  • [24] VXORMHME delete experimental REPL
  • [25] R53OF3ON one bug I've repeatedly run into while testing with Moby Dick
  • [26] ULKLJBN6 couple of renames
  • [27] PFT5Y2ZY move
  • [28] BLWAYPKV extract a module
  • [29] 3QNOKBFM beginnings of a test harness
  • [30] QYIFOHW3 first test!
  • [31] P66MRF3U bugfix: don't append metadata when it already exists
  • [32] TVCPXAAU rename
  • [33] IMEJA43L snapshot
  • [34] CE4LZV4T drop last couple of manual tests
  • [35] K2X6G75Z start writing some tests for drawings
  • [36] OTIBCAUJ love2d scaffold
  • [37] UV4EWOLY add args to some functions
  • [38] 3OKKTUT4 up and down arrow now moving by screen line where possible
  • [39] 5OALPNN3 add args to some functions
  • [40] 537TQ2QN some more logging

Change contents

  • edit in text.lua at line 3
    [4.43][4.1:30]()
    local utf8 = require 'utf8'
  • edit in text.lua at line 1011
    [3.442][3.442:443](),[3.443][4.1438:1450](),[4.2921][4.1438:1450](),[4.3295][4.1438:1450](),[4.8448][4.1438:1450](),[4.1438][4.1438:1450]()
    return Text
  • edit in select.lua at line 2
    [4.44023][4.44023:44052]()
    local utf8 = require 'utf8'
  • replacement in main.lua at line 1
    [4.2][4.2:30]()
    local utf8 = require 'utf8'
    [4.2]
    [4.3]
    utf8 = require 'utf8'
  • replacement in main.lua at line 9
    [4.19][4.1486:1514](),[4.1514][4.31:65](),[4.19][4.31:65](),[4.65][4.19:47]()
    local Text = require 'text'
    local Drawing = require 'drawing'
    local geom = require 'geom'
    [4.19]
    [4.47]
    require 'text'
    require 'drawing'
    require 'geom'
  • replacement in geom.lua at line 1
    [4.11579][4.11580:11596]()
    local geom = {}
    [4.11579]
    [2.213]
    geom = {}
  • edit in geom.lua at line 169
    [4.15035][4.15035:15048]()
    return geom
  • edit in file.lua at line 2
    [4.15139][4.15139:15168]()
    Drawing = require 'drawing'
  • edit in drawing.lua at line 3
    [4.147][4.18246:18268](),[4.18268][4.1577:1578]()
    geom = require 'geom'
  • edit in drawing.lua at line 720
    [4.1525][4.1525:1541]()
    return Drawing