some more logging

[?]
May 21, 2022, 1:16 AM
537TQ2QNPKPG322I4OIMN5IY22S45Z42LEBBZ2IN5MVM355BEJTAC

Dependencies

  • [2] 5L7K4GBD clicking to the right of a wrapped line
  • [3] SVJZZDC3 snapshot - no, that's all wrong
  • [4] C42QQZSF another piece of support for line wrapping in cursor up
  • [5] MGT5FTJ3 first stab at supporting wrapping in cursor up
  • [*] BULPIBEG beginnings of a module for the text editor
  • [*] XNFTJHC4 split keyboard handling between Text and Drawing
  • [*] H2DPLWMV snapshot: wrapping long lines at word boundaries
  • [*] WLHI7KD3 new globals: draw partial screen line up top
  • [*] Y36LOGR5 bugfix: show cursor when past end of line

Change contents

  • edit in text.lua at line 5
    [8.30]
    [9.1567]
    local New_render = true
  • edit in text.lua at line 18
    [2.39]
    [9.1901]
    if New_render then print('--') end
  • edit in text.lua at line 27
    [10.119]
    [10.119]
    if New_render then print('y', y) end
  • edit in text.lua at line 36
    [9.2206]
    [10.130]
    if New_render then print('checking to draw', pos, Top_screen_line_starting_pos) end
  • edit in text.lua at line 38
    [10.210]
    [10.210]
    if New_render then print('drawing '..frag) end
  • edit in text.lua at line 54
    [11.144]
    [9.2661]
    New_render = false
  • edit in text.lua at line 126
    [8.627]
    [8.627]
    New_render = true
  • edit in text.lua at line 230
    [8.4030]
    [3.1]
    print('up', Cursor_pos, Top_screen_line_starting_pos)
  • replacement in text.lua at line 247
    [4.359][3.199:302]()
    print('previous screen line starts at '..tostring(screen_line_starting_pos)..' of its line')
    [4.359]
    [3.302]
    print('previous screen line starts at pos '..tostring(screen_line_starting_pos)..' of its line')
  • edit in text.lua at line 250
    [3.480]
    [3.480]
    print('pos of top of screen is also '..tostring(Top_screen_line_starting_pos)..' of the same line')