SemanticParserService

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by Alexnaldo Santos
Version: 4.0.0280
Avatar
..
..
..
editor.Document.Text = "..source code..";

private void SimpleTest()
{
// Try and ensure the compilation unit is up-to-date
SemanticParserService.WaitForParse(SemanticParserServiceRequest.GetParseHashKey(editor.Document, editor.Document));

WaitFor doesn't wait.... I tried "WaitForParse(..., 5000) and nothing.

ICompilationUnit compilationUnit = (ICompilationUnit)editor.Document.SemanticParseData;

}

The above code only work after I call "SimpleTest" twice.

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Alexnaldo,

It's hard to say without being able to debug it. If you'd like us to look at something then please make a simple sample project that shows the issue and email it over. Thanks.


Actipro Software Support

The latest build of this product (v21.1.0) was released 19 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.