PICO-8 Text Editor with Effects, #9

Word wrap is almost working! I had no idea it was going to be so complicated. I added a field to each line to track whether it has a leading space and it’s working pretty well. The main thing which still isn’t working is separating different word wrapped lines. The editor doesn’t track lines in their non-wrapped form, so lines which overflow get combined with the lines below them. Maybe I could give each line an ID to separate them.

Leave a comment

Your email address will not be published. Required fields are marked *


Your data is processed in accordance with my privacy policy. Comments are manually approved and may take a while to appear.