Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Is is at all possible to implement the Lua syntax into a textbox?

Asked by
Benbebop 1049 Moderation Voter
4 years ago

I have a game that will come with modding tools allowing a player to modify their client in any way imaginable. I have one problem, the way I have it scripting is incredibly hard in the editor because it is missing the Lua syntax. If and how can I add the Lua syntax to a textbox? If there is no direct way I have some indirect ideas that will just take an incredibly long amount of time to code.

1 answer

Log in to vote
1
Answered by 4 years ago

Games like Lua Learning by boatbomber and the AeroGameFramework plugin already implement such a functionality. Seems like they use their own modified version of Penlight's Lexer.

You'll also have to create seperate textboxes for seperate continuous colors since text boxes don't support per-character colors.

Ad

Answer this question