bugfix

[?]
Mar 26, 2023, 2:19 PM
AF253GHLDMRDMDL5X3OV2UJ5NPKBBMHGH4B3R5IGR35KO6IKYPKQC

Dependencies

  • [2] 7VGDIPLC more robust state validation
  • [3] 2L5MEZV3 experiment: new edit namespace
  • [4] 5STHSG4U remove some duplication

Change contents

  • replacement in edit.lua at line 125
    [2.565][2.565:648]()
    return loc1.line > #State.lines
    or loc1.pos > #State.lines[loc1.line].data
    [2.565]
    [2.648]
    if loc1.line > #State.lines then return true end
    local l = State.lines[loc1.line]
    if l.mode ~= 'text' then return false end -- pos is irrelevant to validity for a drawing line
    return loc1.pos > #State.lines[loc1.line].data