We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

LUA Parsing

Thread ID:





78485 Dec 15,2008 09:21 PM UTC Dec 18,2008 06:13 AM UTC WinForms 1
Tags: EditControl
Rich Bosworth
Asked On December 15, 2008 09:21 PM UTC


I am relatively new to this control. I am just wondering if you have any examples for parsing a LUA script file. What I want to do, is basically:

1. Create a configuration that highlights things like "function", "end", "if" etc

2. At runtime, add new "functions" users have added so they can show up in the auto-complete box

Can anybody help me with this?

Rich Bosworth

Administrator [Syncfusion]
Replied On December 18, 2008 06:13 AM UTC

Hi ,

Thank you for using Syncfusion products.

EditControl provides predefined configuration files for languages like SQL, Delphi or Pascal, HTML, VB.NET, XML, Java, VBScript, JScript and C#.

It supports Syntax highlighting and code coloring of some of the commonly used languages with the help of configuration files.

Please refer the shipped sample from the below location that demonstrates this feature.

..\Edit.Windows\Samples\2.0\Syntax Highlighting\SyntaxColoringDemo

Essential Edit provides Intellisense feature which allows creation of a pop-up window used to display a list of options that completes what the user is typing.

Please refer the shipped sample from the below location that demonstrates this feature.

..\Edit.Windows\Samples\2.0\IntelliSense Functions\Advanced IntelliSense Demo

You can also plug-in an external configuration file that defines a custom language to the EditControl using Configurator.Open and ApplyConfiguration methods.

Please let me know if this helps you.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon