move Selection1 clearing past business logic

[?]
Jun 20, 2022, 6:35 PM
X75QPYVWFSE7RVAJXRPA2I3AJOXOP653W7Y7NZG5XAEBR7MZU5QQC

Dependencies

  • [2] 4KOI3E6R remove some redundant checks
  • [3] V5MJRFOZ bugfix: down arrow doesn't scroll up unnecessarily
  • [4] KOYAJWE4 extract a couple more methods
  • [5] VJ77YABH more efficient undo/redo
  • [6] CG3264MM move
  • [7] SVJZZDC3 snapshot - no, that's all wrong
  • [8] DHI6IJCN selecting text and deleting selections
  • [9] EMHRPJ3R no, that's not right
  • [10] DLQMM265 scroll past first page
  • [11] ZPUQSPQP extract a few methods
  • [12] XNFTJHC4 split keyboard handling between Text and Drawing
  • [13] 2RXZ3PGO beginning of a new approach to scroll+wrap
  • [14] AMSESRTH move some code
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • edit in text.lua at line 275
    [3.277][2.3:23]()
    Selection1 = {}
  • edit in text.lua at line 276
    [3.293]
    [3.293]
    Selection1 = {}
  • edit in text.lua at line 278
    [3.324]
    [2.24]
    Text.right()
  • edit in text.lua at line 280
    [2.44][3.324:341](),[3.8672][3.324:341](),[3.324][3.324:341]()
    Text.right()
  • edit in text.lua at line 292
    [3.456][2.45:65]()
    Selection1 = {}
  • edit in text.lua at line 293
    [3.22]
    [3.761]
    Selection1 = {}
  • edit in text.lua at line 295
    [3.794]
    [2.66]
    Text.word_right()
  • edit in text.lua at line 297
    [2.86][3.23:45](),[3.9087][3.23:45](),[3.794][3.23:45]()
    Text.word_right()
  • edit in text.lua at line 308
    [3.1103][2.87:107]()
    Selection1 = {}
  • edit in text.lua at line 309
    [3.1123][3.1123:1152]()
    elseif chord == 'end' then
  • edit in text.lua at line 310
    [2.128]
    [3.1152]
    elseif chord == 'end' then
  • edit in text.lua at line 312
    [3.1209]
    [3.9517]
    Selection1 = {}
  • edit in text.lua at line 324
    [3.3984]
    [2.129]
    Text.up()
  • edit in text.lua at line 326
    [2.149][3.46:60](),[3.9914][3.46:60](),[3.3984][3.46:60]()
    Text.up()
  • edit in text.lua at line 327
    [3.4463][2.150:170]()
    Selection1 = {}
  • edit in text.lua at line 328
    [3.9989]
    [3.9989]
    Selection1 = {}
  • edit in text.lua at line 340
    [3.33]
    [2.171]
    Text.pageup()
  • edit in text.lua at line 342
    [2.191][3.1:19](),[3.10322][3.1:19](),[3.33][3.1:19]()
    Text.pageup()
  • edit in text.lua at line 343
    [3.893][2.192:212]()
    Selection1 = {}
  • edit in text.lua at line 344
    [3.10401]
    [3.10401]
    Selection1 = {}