Show list of reserved words for a language

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by ori
Version: 4.0.0257
Avatar
Hello,

I want the intelli-prompt to show the list of resevred word in a language. For example in html I want to see there 'HTML', 'BODY' and so on.

Is there a way to do it using the syntax language data?

Thanks,
Ori

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
If you are using a dynamic language you can get its LexicalPatternGroup for the reserved words and iterate through that to build member list items. The object model for dynamic languages lets you view anything that was set up in the XML definition. You also can change anything if you wrap your changes with IsUpdating = true and then false.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 6 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.