Log In  

Cart #wg_ps_bugged-0 | 2021-09-24 | Code ▽ | Embed ▽ | No License

I am working on a productivity suite of sorts for PICO-8, and this is the very early version for the text editor.
The bug comes from scrolling with up and down. To reproduce, do the following:

  • Type some text on the top line, press enter
  • Type some text on the second line
  • Scroll as far down as possible
  • You should see the entire second line.

  • Delete all
  • Leave top line empty, press enter
  • Type some text on the second line
  • Scroll as far down as possible again

You should now see that the top two rows of pixels of the second line are not visible.
My code does not measure the length of the text, but the length of the table containing all lines, separated by new line characters. I have tried to debug, but that has not yielded any results.

P#97757 2021-09-24 18:06

Could you post a gif demoing the specific behavior you're describing?

P#97955 2021-09-29 02:50

Here you go.

P#97988 2021-09-29 16:45

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-12-05 15:21:16 | 0.006s | Q:17