Q: How can I add outlining for VBScript code?

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Aric
Version: 4.0.0233
It doesn't work by default, and I started to mess around with the language definition XML files, but was wondering if there was a way to add simple outlining for VBScript code.

I DID RTFM on this one, and all it did was confuse me more.

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Aric,

Take a look at the VB.NET one. It has a codebehind SyntaxLanguage class that defines the outlining nodes based on tokens in the XML def. So the VBScript one would need some tokens separated out like a specific FunctionReservedWordToken, EndFunctionReservedWordToken, etc. But it's all done in the VB.NET XML def and related code-behind class so check those out.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.