echo-lalia/MicroHydra

Code Editor does not auto delete/insert indentation properly

Closed this issue · 0 comments

Last update to HyDE.py has added support for tab characters, and converted both tabs/spaces to reserved space characters to better take advantage of the small screen width.

This has broken the editor's ability to automatically indent on new lines, and it has caused the backspace on indentation to delete too many characters.

Possible solution: update newline method to check for the appropriate special characters rather than checking for spaces. Update backspace method to only delete one character.