more bugfix

[?]
Mar 18, 2023, 5:17 AM
3TI67SEJNOSADDEHRTI5FSRD7WVNRTXQ5LC77LBSWLXXZK3MCONQC

Dependencies

  • [2] G54H3YG2 get rid of all bifold text
  • [3] QCPXQ2E3 add state arg to a few functions
  • [4] OI4FPFIN support drawings in the source editor
  • [5] ME7WBLF5 bugfix: log filenames can have 2 formats
  • [6] 3OKKTUT4 up and down arrow now moving by screen line where possible
  • [7] MXA3RZYK deduce left/right from state where possible
  • [8] KKMFQDR4 editing source code from within the app
  • [9] LF7BWEG4 group all editor globals
  • [10] 6DYSB5DY bugfix: perform matches in the right order
  • [11] N7VXEGLG yet another bugfix in log parsing
  • [12] KYNGDE2C consistent names in a few more places
  • [13] 242L3OQX bugfix: ensure Cursor_line is always on a text line
  • [14] TRNWIQN6 more precise height calculation when scrolling up as much as possible while keeping cursor on screen
  • [15] KOTI3MFG bugfix in previous commit
  • [16] 2CK5QI7W make love event names consistent
  • [17] 5OALPNN3 add args to some functions
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 675
    [3.580][3.1079:1262]()
    --? print('snap', State.screen_top1.line, State.screen_top1.pos, State.screen_top1.posB, State.cursor1.line, State.cursor1.pos, State.screen_bottom1.line, State.screen_bottom1.pos)
    [3.580]
    [3.3087]
    --? print('snap', State.screen_top1.line, State.screen_top1.pos, State.cursor1.line, State.cursor1.pos, State.screen_bottom1.line, State.screen_bottom1.pos)
  • replacement in source_text.lua at line 692
    [2.3661][2.3661:3844]()
    --? print('snap', State.screen_top1.line, State.screen_top1.pos, State.screen_top1.posB, State.cursor1.line, State.cursor1.pos, State.screen_bottom1.line, State.screen_bottom1.pos)
    [2.3661]
    [3.127567]
    --? print('snap', State.screen_top1.line, State.screen_top1.pos, State.cursor1.line, State.cursor1.pos, State.screen_bottom1.line, State.screen_bottom1.pos)
  • replacement in log_browser.lua at line 15
    [3.192603][3.192603:192651]()
    Log_browser_state.cursor1 = {line=1, pos=nil}
    [3.192603]
    [3.192651]
    Log_browser_state.cursor1 = {line=1, pos=1}
  • replacement in log_browser.lua at line 240
    [3.200648][3.200648:200714]()
    Editor_state.cursor1 = {line=line.line_number, pos=1, posB=nil}
    [3.200648]
    [3.200714]
    Editor_state.cursor1 = {line=line.line_number, pos=1}
  • edit in log_browser.lua at line 246
    [3.200890][3.200890:200940]()
    -- expand B side
    Editor_state.expanded = true