Posted 17 years ago by Alex
Version: 4.0.0243

Here is my case – I have editor embedded into a UserControl and I often use the ParseService to parse the document like this

Document doc = editor.Document;
string key = SemanticParserServiceRequest.GetParseHashKey(doc, doc);
CompilationUnit unit = doc.SemanticParseData as CompilationUnit;

Everything is working great except one case. Sometimes I don’t need to show the editor, but still need to load and parse the document. But I can't make it working - when the editor isn’t shown yet, the SemanticParseData is always empty. It is starts working again after I show the control. Is there a way to resolve this problem and to parse document while the control is hidden?


Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Alex,

Actually just check out our DocumentOutlineForm QuickStart. It is a great sample of doing semantic parsing without using a SyntaxEditor at all.

Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.