extract a variable

[?]
Jul 31, 2023, 3:49 PM
IAWCZRFUJLNTAISO3GFQOFPSH7QMDKZZFN4UPBJ5UHXKJYV42W7AC

Dependencies

  • [2] ZPQI5UL3 bugfix: never use utf8 pos in string.sub
  • [3] IM7UEBMK bugfix: highlight search patterns on the right line
  • [4] ZE7LVQNE improve a comment
  • [5] KKMFQDR4 editing source code from within the app
  • [6] TWXPV2AC hoist and duplicate a conditional
  • [7] I64IPGJX avoid saving fragments in lines
  • [8] HALS7E5U more clearly skip prints before screen top
  • [9] FZBXBUFF bugfix: search
  • [10] GZ5WULJV switch source side to new screen-line-based render
  • [11] CQWVUCXZ bugfix: syntax highlighting in source editor
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 39
    [2.237][3.741:887](),[3.608][3.741:887]()
    local lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term))
    [2.237]
    [3.738]
    local hi = State.cursor1.pos+utf8.len(State.search_term)
    local lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, hi)
  • replacement in source_text.lua at line 61
    [2.476][3.1540:1686](),[3.88598][3.1540:1686]()
    local lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term))
    [2.476]
    [3.88735]
    local hi = State.cursor1.pos+utf8.len(State.search_term)
    local lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, hi)