delete an unused arg

[?]
Jul 31, 2023, 9:20 PM
FYTXKCO3W3CAQU6SGM3BSROMU7ESBQQBCV4PEDRN63EUKHOVPFHAC

Dependencies

  • [2] 52NEZG2F Merge text0
  • [3] KWOJ6XHE cut/copy selected text to clipboard
  • [4] M6TH7VSZ rip out notion of Line_width
  • [5] PFT5Y2ZY move
  • [6] X3F7ECSL add state arg to some functions
  • [7] LXTTOB33 extract a couple of files
  • [8] Z4XRNDTR find text
  • [9] ISOFHXB2 App.width can no longer take a Text
  • [10] BMGHJX7G bugfix: search highlight straddling screen lines
  • [11] XNFTJHC4 split keyboard handling between Text and Drawing
  • [12] BE3WIEVK update cursor in search box
  • [13] GZ2OYPSH configurable colors and cursor in editor widget
  • [14] J2SVGR2E experiment: blinking cursor
  • [15] HLIF3YQE Merge text0
  • [16] 4KC7I3E2 make colors easier to edit
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 51
    [2.268][2.268:384]()
    Text.draw_cursor(State, State.left+Text.x(screen_line, State.cursor1.pos-pos+1), y, Cursor_color, fg)
    [2.268]
    [2.384]
    Text.draw_cursor(State, State.left+Text.x(screen_line, State.cursor1.pos-pos+1), y, Cursor_color)
  • replacement in text.lua at line 60
    [2.861][2.861:977]()
    Text.draw_cursor(State, State.left+Text.x(screen_line, State.cursor1.pos-pos+1), y, Cursor_color, fg)
    [2.861]
    [2.977]
    Text.draw_cursor(State, State.left+Text.x(screen_line, State.cursor1.pos-pos+1), y, Cursor_color)
  • replacement in text.lua at line 88
    [3.851][3.3881:3947]()
    function Text.draw_cursor(State, x, y, cursor_color, reset_color)
    [3.851]
    [3.3]
    function Text.draw_cursor(State, x, y, cursor_color)
  • replacement in search.lua at line 16
    [3.1671][3.285:374]()
    Text.draw_cursor(State, 25+App.width(State.search_term),y-5, Cursor_color, Text_color)
    [3.1671]
    [3.49698]
    Text.draw_cursor(State, 25+App.width(State.search_term),y-5, Cursor_color)