blakepell / AvalonMudClient

A Windows MUD client written in C#/WPF for .NET 8.
Other
31 stars 7 forks source link

Lua script validation #17

Closed blakepell closed 4 years ago

blakepell commented 4 years ago

See if there is anything in Moonsharp to validate Lua syntax, if not, write an extension method to validate syntax. Have places where Lua is used then validate and provide to the user syntax validation on save.

blakepell commented 4 years ago

The StringEditor dialog will now validate Lua scripts by default when it's set to be a Lua editor and the client setting to validate scripts on save is enabled (which is new, and it is enabled by default). This will be in the next release.