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]
G6OYAYHUpaste in text with M-v - [6]
SN2QONLIautosave on cut/paste - [7]
LS55YKGWswitch copy/paste to ctrl- hotkeys - [8]
65XHTZEKregression: couldn't do many drawing operations because line.y was reset - [9]
2RXZ3PGObeginning of a new approach to scroll+wrap - [10]
CG3264MMmove - [11]
HOSPP2ANcrisp font rendering - [12]
PHFWIFYKscroll on enter - [13]
3TDOZESEextract scrolling logic out of insert_return - [14]
BYG5CEMVsupport for naming points - [15]
NP7PIUBTbugfix: restore state after C-f (find) - [16]
JFFUF5ALoverride mouse state lookups in tests - [17]
FYS7TCDWbugfix - [18]
VG75U7IMbugfix: typing should delete highlighted text - [19]
PX7DDEMOautosave slightly less aggressively - [20]
VJ77YABHmore efficient undo/redo - [21]
PFT5Y2ZYmove - [22]
R6GUSTBYdefault font size and line-height - [23]
XNFTJHC4split keyboard handling between Text and Drawing - [24]
DRFE3B3Zmouse buttons are integers, not strings - [25]
Z4XRNDTRfind text - [26]
2ZYV7D3Whandle tab characters - [27]
JCSLDGAHbeginnings of support for multiple shapes - [28]
AJB4LFRBtry to maintain a reasonable line width - [29]
NQWWTGXRswitch undo/redo to ctrl- hotkeys - [30]
T7SJSJIHtest: undo naming a point - [31]
ZPUQSPQPextract a few methods - [32]
4QQBMWLLregression: typing uppercase letters in text - [33]
AYE2VEGJextract a couple of methods - [34]
73OCE2MCafter much struggle, a brute-force undo - [35]
OGUV4HSAremove some memory leaks from rendered fragments - [36]
DHI6IJCNselecting text and deleting selections - [37]
4KOI3E6Rremove some redundant checks - [38]
IRCKL6VNextract scrolling logic out of insert_at_cursor - [39]
AMSESRTHmove some code - [40]
KOYAJWE4extract a couple more methods - [*]
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 = {}