In my free time, I decided to make a pseudo TextBox which can highlight Lua syntax.
This also uses a ScrollingFrame, which is pretty cool.
What are your comments on it?
Just a few things to keep an eye out for:
Comments don’t work yet.
Nor do long strings.
The keyboard layout is EN-GB - I’m working on a way to autodetect keyboards or have the user change it.
I just went on it, nothing really special to see from what I saw, a white box that you can click to make it slide up or slide down, I couldn’t type or anything.
I’m not saying that its nothing cool or anything I’m just letting you know that thats what happened when I went in maybe its a glitch or something.
[quote] I just went on it, nothing really special to see from what I saw, a white box that you can click to make it slide up or slide down, I couldn’t type or anything.
I’m not saying that its nothing cool or anything I’m just letting you know that thats what happened when I went in maybe its a glitch or something. [/quote]
That’s odd. I’ll have a look now.
EDIT: I just had a look, and everything seemed to work for me.
That’s because you don’t have an EN-GB model keyboard. Basically, when making this I found out that keycodes which should be passed when one of the SHIFT keys are down don’t get passed, so I had to make my own function for shifting cases. Funny thing is, when making it I went off of the EN-GB layout so that’s how it happens. If you find that things like this happen, simply type the key which appears instead.