stop pretending globals are local
[?]
Jul 12, 2022, 5:11 AM
4CTZOJPCTWYUSHLIZZJ2M5W7S4JZFZVT5MUU5XNSOIBS5L4UY5UQCDependencies
- [2]
WPW3AVFSmore precise shape selection - [3]
PLKNHYZ4extract a function - [4]
DXT4QTAHa few more integer coordinates - [5]
CE4LZV4Tdrop last couple of manual tests - [6]
253TWKDAclean up - [7]
3QNOKBFMbeginnings of a test harness - [8]
IMEJA43Lsnapshot - [9]
XNFTJHC4split keyboard handling between Text and Drawing - [10]
IYW7X3WLleft/right cursor movement, deleting characters - [11]
K2X6G75Zstart writing some tests for drawings - [12]
537TQ2QNsome more logging - [13]
TVCPXAAUrename - [14]
HOSPP2ANcrisp font rendering - [15]
OTIBCAUJlove2d scaffold - [16]
VHQCNMARseveral more modules - [17]
QYIFOHW3first test! - [18]
OYXDYPGSget rid of debug variables - [19]
D2GCFTTTclean up repl functionality - [20]
UV4EWOLYadd args to some functions - [21]
3OKKTUT4up and down arrow now moving by screen line where possible - [22]
7CLGG7J2test: autosave after any shape - [23]
ULKLJBN6couple of renames - [24]
EGH7XDBKsupport non-text lines in Text.to2 - [25]
73OCE2MCafter much struggle, a brute-force undo - [26]
6PUNJS5Bbackspace - [27]
BULPIBEGbeginnings of a module for the text editor - [28]
VXORMHMEdelete experimental REPL - [29]
PFT5Y2ZYmove - [30]
2RXZ3PGObeginning of a new approach to scroll+wrap - [31]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [32]
XX7G2FFJintermingle freehand line drawings with text - [33]
R53OF3ONone bug I've repeatedly run into while testing with Moby Dick - [34]
P66MRF3Ubugfix: don't append metadata when it already exists - [35]
LXTTOB33extract a couple of files - [36]
6LJZN727handle chords - [37]
5OALPNN3add args to some functions - [38]
2H67P75Xswitch arg for a function - [39]
BLWAYPKVextract a module - [40]
4CXVIEBSadd args to some functions
Change contents
- edit in text.lua at line 3
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
local utf8 = require 'utf8' - replacement in main.lua at line 1
local utf8 = require 'utf8'utf8 = require 'utf8' - replacement in main.lua at line 9
local Text = require 'text'local Drawing = require 'drawing'local geom = require 'geom'require 'text'require 'drawing'require 'geom' - replacement in geom.lua at line 1
local geom = {}geom = {} - edit in geom.lua at line 169
return geom - edit in file.lua at line 2
Drawing = require 'drawing' - edit in drawing.lua at line 3
geom = require 'geom' - edit in drawing.lua at line 720
return Drawing