remove some redundant checks

[?]
Jun 20, 2022, 6:33 PM
4KOI3E6RUU7IZ3WFPHUVZUO2MANLMND3T7ZQENAV5ESCU7HDLYTAC

Dependencies

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

Change contents

  • replacement in text.lua at line 275
    [3.277][2.8555:8613]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.277]
    [3.277]
    Selection1 = {}
  • replacement in text.lua at line 278
    [3.324][2.8614:8672]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.324]
    [3.324]
    Selection1 = {}
  • replacement in text.lua at line 292
    [3.456][2.8970:9028]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.456]
    [3.1]
    Selection1 = {}
  • replacement in text.lua at line 295
    [3.794][2.9029:9087]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.794]
    [3.23]
    Selection1 = {}
  • replacement in text.lua at line 308
    [3.1103][2.9399:9457]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.1103]
    [3.1103]
    Selection1 = {}
  • replacement in text.lua at line 311
    [3.1152][2.9458:9516]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.1152]
    [3.1152]
    Selection1 = {}
  • replacement in text.lua at line 324
    [3.3984][2.9856:9914]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.3984]
    [3.46]
    Selection1 = {}
  • replacement in text.lua at line 327
    [3.4463][2.9915:9973]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.4463]
    [2.9973]
    Selection1 = {}
  • replacement in text.lua at line 340
    [3.33][2.10264:10322]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.33]
    [3.1]
    Selection1 = {}
  • replacement in text.lua at line 343
    [3.893][2.10323:10381]()
    if Selection1.line then
    Selection1 = {}
    end
    [3.893]
    [2.10381]
    Selection1 = {}