Posted 10 years ago by Eli Gazit - CEO, Softwear Suit Ltd
Version: 9.1.0500
Avatar
How do I set the SyntaxEditor Language to be SQL?

Comments (3)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Eli,

Please look in the SdiCodeEditor sample in the MainControl.LoadLanguage method. That shows how to load a SQL language. Although note that those "dynamic" language XML definitions are SyntaxEditor 4.0 for WinForms ones and sometime during the beta process we will be updating them to a new format, with a better loading mechanism. We'll document this when we do it though and will likely provide a conversion routine.


Actipro Software Support

Posted 10 years ago by Eli Gazit - CEO, Softwear Suit Ltd
Avatar
Yes one of the thing I suffer from is that you allow loading from stream but not from string. I keep this files in the Properties.Resource and it is really easy to load using the Properties.Resource.SQL which returns string.
Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Eli,

Check this post out for a tip on how to create a Stream from a String:
http://weblogs.asp.net/whaggard/archive/2006/09/04/String-Streams-in-.Net.aspx

Once we do more work on the format for saving the language data, we'll definitely look into supporting readers and strings too.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.