revert selection logic to before commit 3ffc2ed8f
[?]
Jun 20, 2022, 8:12 PM
AOIRVVJARCGTWTRE5MAAU4YQAGD5J4HTR7XCS63UFAUY3A43L6NQCDependencies
- [2]
4WAFGF4Zselection bugfix - [3]
S2YQBEYCsnapshot: test for a new regression - [4]
VG75U7IMbugfix: typing should delete highlighted text - [5]
AVTNUQYRbasic test-enabled framework - [6]
GN3IF4WFbugfix: pasting newlines - [7]
KOYAJWE4extract a couple more methods - [8]
Z4XRNDTRfind text - [9]
BYG5CEMVsupport for naming points - [10]
PFT5Y2ZYmove - [11]
OTIBCAUJlove2d scaffold - [12]
AVLAYODPmuch simpler - [13]
XNFTJHC4split keyboard handling between Text and Drawing - [14]
VJ77YABHmore efficient undo/redo - [15]
6DE7RBZ6move mouse_released events to Drawing - [16]
65XHTZEKregression: couldn't do many drawing operations because line.y was reset - [17]
FYS7TCDWbugfix - [18]
HRWN5V6JDevine's suggestion to try to live with just freehand - [19]
2ENZW7TVselect text using mouse drag - [20]
R5OKMVVCfix a regression in line wrapping - [*]
LXTTOB33extract a couple of files - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
XDB5D7H7some early returns should be asserts - [*]
CG3264MMmove - [*]
X75QPYVWmove Selection1 clearing past business logic - [*]
DHI6IJCNselecting text and deleting selections - [*]
ZPUQSPQPextract a few methods - [*]
AMSESRTHmove some code
Change contents
- edit in text_tests.lua at line 1338
App.run_after_keychord('C-z') - 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 145
if Selection1.line thenText.delete_selection()end - edit in text.lua at line 272
Selection1 = {} - edit in text.lua at line 275
Selection1 = {} - edit in text.lua at line 289
Selection1 = {} - edit in text.lua at line 292
Selection1 = {} - edit in text.lua at line 319
Selection1 = {} - edit in text.lua at line 322
Selection1 = {} - edit in text.lua at line 335[26.191][29.859]
Selection1 = {} - edit in text.lua at line 338
Selection1 = {} - edit in text.lua at line 350
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 552[4.5055]→[4.236:242](∅→∅),[4.242]→[2.624:674](∅→∅),[2.674]→[4.273:293](∅→∅),[4.273]→[4.273:293](∅→∅)
endif not App.shift_down() and chord ~= 'C-c' thenSelection1 = {}