Possible to use Syntax Parsers for single-member display?

CodeHighlighter for ASP.NET Forum

Posted 18 years ago by eric falsken
Avatar
My users want the ability to only display a single member at a time. I really don't want to have to parse Java+C#+VB.NET to identify methods etc. Can the Syntax Parsers for Dynamic Outlining be used for this purpose? What would it take?

Comments (1)

Posted 18 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
The free dynamic languages don't do intelligent parsing of methods, however our .NET Languages Add-on for SyntaxEditor does. But the problem is that I don't believe CodeHighlighter includes all the necessary classes for the add-on to work with it. Also since CodeHighlighter isn't storing a tokens collection like SyntaxEditor does, you can't parse the tokens defined by the dynamic language. Instead you'd have to scan the raw text of the code and look for { } yourself.


Actipro Software Support

The latest build of this product (v4.0.59) was released 13 years ago, which was after the last post in this thread.