much simpler
[?]
Jun 20, 2022, 6:58 PM
AVLAYODPMKCDBUFJSTGNUXIK74V3NDCBH55DBBFTNVBMFY6I7BCACDependencies
- [2]
EMHRPJ3Rno, that's not right - [3]
X75QPYVWmove Selection1 clearing past business logic - [4]
XDB5D7H7some early returns should be asserts - [5]
KOYAJWE4extract a couple more methods - [6]
XNFTJHC4split keyboard handling between Text and Drawing - [7]
JCSLDGAHbeginnings of support for multiple shapes - [8]
VG75U7IMbugfix: typing should delete highlighted text - [9]
OGUV4HSAremove some memory leaks from rendered fragments - [10]
4KOI3E6Rremove some redundant checks - [11]
T7SJSJIHtest: undo naming a point - [12]
73OCE2MCafter much struggle, a brute-force undo - [13]
R6GUSTBYdefault font size and line-height - [14]
3TDOZESEextract scrolling logic out of insert_return - [15]
AYE2VEGJextract a couple of methods - [16]
2ZYV7D3Whandle tab characters - [17]
PFT5Y2ZYmove - [18]
BYG5CEMVsupport for naming points - [19]
DRFE3B3Zmouse buttons are integers, not strings - [20]
65XHTZEKregression: couldn't do many drawing operations because line.y was reset - [21]
ZPUQSPQPextract a few methods - [22]
HOSPP2ANcrisp font rendering - [23]
AMSESRTHmove some code - [24]
Z4XRNDTRfind text - [25]
IRCKL6VNextract scrolling logic out of insert_at_cursor - [26]
VJ77YABHmore efficient undo/redo - [27]
FYS7TCDWbugfix - [28]
NQWWTGXRswitch undo/redo to ctrl- hotkeys - [29]
LS55YKGWswitch copy/paste to ctrl- hotkeys - [30]
2RXZ3PGObeginning of a new approach to scroll+wrap - [31]
CG3264MMmove - [32]
G6OYAYHUpaste in text with M-v - [33]
NP7PIUBTbugfix: restore state after C-f (find) - [34]
PX7DDEMOautosave slightly less aggressively - [35]
DHI6IJCNselecting text and deleting selections - [36]
4QQBMWLLregression: typing uppercase letters in text - [37]
PHFWIFYKscroll on enter - [38]
SN2QONLIautosave on cut/paste - [39]
AJB4LFRBtry to maintain a reasonable line width - [40]
JFFUF5ALoverride mouse state lookups in tests - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
GN3IF4WFbugfix: pasting newlines - [*]
OTIBCAUJlove2d scaffold - [*]
AVTNUQYRbasic test-enabled framework - [*]
HRWN5V6JDevine's suggestion to try to live with just freehand
Change contents
- edit in text.lua at line 140
-- don't depend on state of Selection1; use keychord_pressed for that - edit in text.lua at line 146
if Selection1.line thenText.delete_selection()end - edit in text.lua at line 178
Selection1 = {} - edit in text.lua at line 189
Selection1 = {} - edit in text.lua at line 193
Selection1 = {} - edit in text.lua at line 231
Selection1 = {} - edit in text.lua at line 235
Selection1 = {} - edit in text.lua at line 267
Selection1 = {} - edit in text.lua at line 270
Selection1 = {} - edit in text.lua at line 272
Selection1 = {} - edit in text.lua at line 285
Selection1 = {} - edit in text.lua at line 287
Selection1 = {} - edit in text.lua at line 299
Selection1 = {} - edit in text.lua at line 301
Selection1 = {} - edit in text.lua at line 313
Selection1 = {} - edit in text.lua at line 315
Selection1 = {} - edit in text.lua at line 327
Selection1 = {} - edit in text.lua at line 329
Selection1 = {} - edit in text.lua at line 340
if Selection1.line and not App.shift_down() thenText.delete_selection()end - edit in main.lua at line 394
-- don't depend on state of Selection1; use keychord_pressed for that - edit in main.lua at line 411
if not App.shift_down() thenSelection1 = {}end - edit in main.lua at line 442
Selection1 = {} - edit in main.lua at line 445
Selection1 = {} - edit in main.lua at line 448
Selection1 = {} - edit in main.lua at line 451
Selection1 = {} - edit in main.lua at line 463
Selection1 = {} - edit in main.lua at line 475
Selection1 = {} - edit in main.lua at line 482
Selection1 = {} - edit in main.lua at line 489
Selection1 = {} - edit in main.lua at line 510
Selection1 = {} - edit in main.lua at line 553[5.5055][46.350]
endif not App.shift_down() thenSelection1 = {}