working on backspace.
internal row var broken. going to try to change display method to fix this
maybe fixed internal row stuff. also made it so that if you change lines your cursor cannot be past the end of the line.
fixed srolling from longer lines to shorter lines. Now, the cursor will not display past the end of the shorter line, it will be pushed back to where it should live, at the end of the line
fully functional scrolling, I believe. Now I want to backspace off the edge of the screen.
I believe that deleting past the edge of the screen works. Now I want to fix page faults that occur when you delete to have only one line left
fixed problem with deleting the last line (wasn't to do with deleting all text, that works, just leaves a newline). Going to move on to try dealing with the enter key, methinks
I think I have enter (return) working correctly now. On to actual characters
Implemented adding characters, but I haven't accouted for if they go off the edge of the screen yet.
Fixed enter (return) so that when you try to enter off the screen, you will scoll with the cursor
fixed an off-by-one error in enter. It was 1 char too long, so it was incorporating other data
fixed problem with scrolling of text while typing and going off screen. Still a very few bugs that show up now and again that have to do with scrolling off the screen. Also, I separated the save and quit into two different functions, so we do not have to call both of them at the same time. In theory, this should be functional\! We cannot save an unnamed buffer (as far as I know), but that can be future work, I'm not too worried. As long as we have the editor, then that is fairly trivial, just have to modify the directory to add an entry.