Pushed a few more things into my repo, mainly to customize how it behaves for me.
Added $REPLACE into the language, as a quick typing replacement function. Only affects the IDE itself; has no actual effect on any programs. It can safely be removed from any program and will change functionality ZILCH...
So what's it do?
First, set a quick code for typing something:
$REPLACE ?? = _PRINTSTRING(
Then type something using that code:??10,10), "Hello World"
The moment you hit enter, that code will magically change to become: _PRINTSTRING(10,10), "Hello World"
With excessively long commands, or type names, it can be a complete lifesafer in terms of knuckle stress and typing needed to work on a program.
Just one cavet: Be careful what you set as a replace code. With the above, typing in, PRINT "What's your name??" would instantly turn into PRINT "What's your name_PRINTSTRING(".
Usually I'll just make a quick replacement with q(number).
$REPLACE q1 = MyVariableWithALongArseName.
$REPLACE q2 = AnotherLongArseNamedVariable.
Then I can type in:
q1x = q2x + 1
And it'll become:
MyVariableWithALongArseName.x = AnotherLongArseNamedVariable.x + 1
That's a ton of typing to save!
Also added _BORDERWIDTH and _TITLEBARHEIGHT, so we can get the value of these elements, if we ever want them
_BORDERWIDTH is, oddly enough, the width of the border of our screen, while _TITLEBARHEIGHT gives us the height of our titlebar. Works in both Linux and Windows, though I don't know about Mac.
Altered _INSTRREV so it terminates at 0, instead of going into an endless repetitive loop.
I don't know if anyone else will ever take advantage of these enhanced (at least I think they are) features, but they're in there, so I thought I'd share here and let folks be aware of them so they can decide for themselves if they want to make use of them or not.