PICO-8 Text Editor with Effects, #6

Today I worked on splitting the huge “handle_keypress” function into two separate functions: one to add/delete characters and another to format the lines. Now the “handle_keypress” function only handles adding/deleting characters and the “format_text” function will clean up after it. The editor feels a lot less like a pile of if-statements now! xD
It also finally supports the character juggling I talked about before.

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.