bugfix

[?]
May 20, 2022, 4:52 AM
5Q6NIG66SI7CS33S2TVIWSLLICWVAINELJJTMNR2UBWVZPGB7DZAC

Dependencies

  • [2] BULPIBEG beginnings of a module for the text editor
  • [3] EX3GRC2K bugfix typo
  • [4] DXT4QTAH a few more integer coordinates
  • [5] HYEAFRZ2 split mouse_pressed events between Text and Drawing
  • [*] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing

Change contents

  • replacement in text.lua at line 301
    [2.844][2.844:870]()
    while left < right-1 do
    [2.844]
    [2.870]
    --? print('--')
    while true do
  • edit in text.lua at line 306
    [2.1010]
    [2.1010]
    --? print(x, left, right, curr, currxmin, currxmax)
  • edit in text.lua at line 310
    [2.1079]
    [2.1079]
    if left >= right-1 then
    return right
    end
  • replacement in text.lua at line 319
    [2.1164][2.1164:1179]()
    return right
    [2.1164]
    [2.1179]
    assert(false)
  • edit in manual_tests at line 5
    [3.32]
    [3.32]
    click on first character of text -> cursor on first character of text