stop repeatedly checking for line wrapping

[?]
Jun 10, 2022, 9:38 PM
GCEF4N3VW2JFTWVXU2ND5XA63BNTMEGRBQQXYA3HULAKGYOYJP7AC

Dependencies

  • [2] P66MRF3U bugfix: don't append metadata when it already exists
  • [3] CVSRHMJ2 experiment: slightly adaptive scrolling
  • [4] YLKLDF4R .
  • [5] OGUV4HSA remove some memory leaks from rendered fragments
  • [6] HOSPP2AN crisp font rendering
  • [7] R53OF3ON one bug I've repeatedly run into while testing with Moby Dick
  • [*] BULPIBEG beginnings of a module for the text editor
  • [*] KOYAJWE4 extract a couple more methods
  • [*] ZPUQSPQP extract a few methods

Change contents

  • edit in text.lua at line 391
    [10.74]
    [10.74]
    print('pageup')
  • edit in text.lua at line 411
    [10.857]
    [11.83]
    print('pageup end')
  • edit in text.lua at line 415
    [10.883]
    [3.2828]
    print('pagedown')
  • edit in text.lua at line 436
    [5.184]
    [10.1214]
    print('pagedown end')
  • edit in text.lua at line 887
    [5.2366]
    [5.2366]
    line.screen_line_starting_pos = {1}
  • replacement in text.lua at line 897
    [5.2640][5.2640:2751](),[5.2751][2.169:235](),[2.235][5.2751:2818](),[5.2751][5.2751:2818]()
    if line.screen_line_starting_pos == nil then
    line.screen_line_starting_pos = {1, pos}
    else
    --? print(' ', #line.screen_line_starting_pos, line.data)
    table.insert(line.screen_line_starting_pos, pos)
    end
    [5.2640]
    [5.2818]
    --? print(' ', #line.screen_line_starting_pos, line.data)
    table.insert(line.screen_line_starting_pos, pos)
  • replacement in text.lua at line 907
    [5.4025][4.3:37]()
    --? print('clearing fragments')
    [5.4025]
    [5.4025]
    print('clearing fragments')