bugfix in previous commit

[?]
Jun 5, 2022, 4:50 PM
KOTI3MFGQ4PDS4I75JIJG734LTET6745VGTSMNFYYASVIO6H2KPAC

Dependencies

  • [2] NZKYPBSK check for scroll when just typing
  • [*] LXTTOB33 extract a couple of files
  • [*] BULPIBEG beginnings of a module for the text editor
  • [*] XNFTJHC4 split keyboard handling between Text and Drawing
  • [*] SLLR6KKI bugfix for non-ASCII
  • [*] 3OKKTUT4 up and down arrow now moving by screen line where possible

Change contents

  • edit in text_tests.lua at line 3
    [4.92]
    [4.92]
    function test_insert_first_character()
    io.write('\ntest_insert_first_character')
    App.screen.init{width=120, height=60}
    Lines = load_array{}
    App.draw()
    App.run_after_textinput('a')
    local y = Margin_top
    App.screen.check(y, 'a', 'F - test_insert_first_character/screen:1')
    end
  • edit in text.lua at line 155
    [6.318]
    [7.147]
    --? print(Screen_top1.line, Screen_top1.pos, Cursor1.line, Cursor1.pos, Screen_bottom1.line, Screen_bottom1.pos)
  • edit in text.lua at line 164
    [2.1684]
    [2.1684]
    --? print('=>', Screen_top1.line, Screen_top1.pos, Cursor1.line, Cursor1.pos, Screen_bottom1.line, Screen_bottom1.pos)
  • edit in text.lua at line 629
    [8.95]
    [8.95]
    top2.screen_pos = 1 -- start of screen line