bugfix: show cursor when past end of line

[?]
May 20, 2022, 5:35 AM
Y36LOGR5X6S6AEJJ3EBVDC4I3RRFRCZ6GXPXSEIOMVXY2B7UCCGQC

Dependencies

  • [2] H2DPLWMV snapshot: wrapping long lines at word boundaries
  • [*] BULPIBEG beginnings of a module for the text editor
  • [*] XNFTJHC4 split keyboard handling between Text and Drawing
  • [*] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [*] EX3GRC2K bugfix typo

Change contents

  • edit in text.lua at line 78
    [5.37]
    [2.2661]
    if cursor_pos == pos then
    -- cursor
    love.graphics.setColor(1,0,0)
    love.graphics.circle('fill', x,y+math.floor(15*Zoom), 2)
    end
  • edit in manual_tests at line 9
    [7.72]
    [6.76]
    cursor past end of line -> renders