move

[?]
May 18, 2022, 4:55 AM
I7MA5UOOU7MPBQQLOIEPV6J2MKQQ53CRPZ7PFPM75XMMC5JHACNQC

Dependencies

  • [2] AVQ5MC5D finish uppercasing all globals
  • [3] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [4] MGOQ5XAV start uppercasing globals
  • [5] IYW7X3WL left/right cursor movement, deleting characters
  • [6] 6PUNJS5B backspace
  • [7] VVXVV2D2 change data model; text can now have metadata
  • [8] UTF73CBL reorg
  • [9] 3CS5KKCI up/down cursor movement
  • [10] RJGZD4IN binary search to most natural up/down with proportional fonts
  • [*] OTIBCAUJ love2d scaffold

Change contents

  • edit in main.lua at line 273
    [2.3229]
    [3.31]
    elseif chord == 'left' then
    if Cursor_pos > 1 then
    Cursor_pos = Cursor_pos-1
    end
    elseif chord == 'right' then
    if Cursor_pos <= #Lines[Cursor_line].data then
    Cursor_pos = Cursor_pos+1
    end
    elseif chord == 'home' then
    Cursor_pos = 1
    elseif chord == 'end' then
    Cursor_pos = #Lines[Cursor_line].data+1
    -- transitioning between drawings and text
  • edit in main.lua at line 308
    [2.4019][3.1292:1330](),[3.1292][3.1292:1330](),[3.1330][2.4020:4079]()
    end
    elseif chord == 'left' then
    if Cursor_pos > 1 then
    Cursor_pos = Cursor_pos-1
  • edit in main.lua at line 309
    [3.1399][3.1399:1430](),[3.1430][2.4080:4163](),[2.4163][3.517:525](),[3.1510][3.517:525](),[3.525][3.159:189](),[3.189][2.4164:4183](),[2.4183][3.208:237](),[3.208][3.208:237](),[3.237][2.4184:4228]()
    elseif chord == 'right' then
    if Cursor_pos <= #Lines[Cursor_line].data then
    Cursor_pos = Cursor_pos+1
    end
    elseif chord == 'home' then
    Cursor_pos = 1
    elseif chord == 'end' then
    Cursor_pos = #Lines[Cursor_line].data+1
  • edit in main.lua at line 322
    [3.610][3.610:655]()
    -- transitioning between drawings and text