Whenever names intersected with the border of the map, there was a chance they would not be colored properly (background should turn white)
New grid based on PAIN.
+ Keyboard shortcuts now will properly react to modifier keys, and whether or not a control should repeat.
+ Pain2 will now exit cleanly with LeftCTRL + Q
+ A line tool is added. Use LeftShift + L.
+ Change the brush size with Plus and Minus.
Trying to tab-indent could crash if the selection went past the final line.
Also, pressing ENTER will actually delete your selections now. Oops.
Some micro-optimizations were also added.
Scrolling now has a limit, so you can't just scroll upwards infinitely.
Refreshing now has a dialogue box showing up to let you know it hasn't hung itself.
Clicking to the right of the text in a niftyRead prompt will move the cursor to the right position now.
(I still need to fix up that niftyRead prompt, since it's not as clean as I'd like)
You can also select text by holding down the mouse button and scrolling.
Gotta add some more stuff later, like the ability to declare a filename after starting up the program, or stuff like Save As and Open, as well as multiple clipboards and undo/redo.
This is a snippet, not an API.
Firstly, never ever ever use GOTO. Never even code GOTO. Neve-oh fuck
Declare tags with --::tagName::
Goto tags with goto(tagName). Don't include any colons or hyphens.
goto(tag) will not include any local variables, so keep that in mind.
+ Host will now always be P1, since sometimes it would act up and give host P2, especially on skynet.
+ How to Play has been updated with mouse controls
+ Update argument now runs the updated version of TRON instantly instead of waiting for a re-run.