DocumentModification Suggestion

SyntaxEditor for Windows Forms Forum

Posted 18 years ago by Greg Shaffer - Boulder
In my semantic parser's PostParse function, I found it useful to extract the changed token using the modification.StartOffset.

I use the changed token to help me determine if I need to perform semantic parsing. This check is needed for performance reasons.

My suggestion is to add "ChangedToken" as a field to the DocumentModification class.


Comments (1)

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

Actually in an upcoming release we are planning to flag which Tokens are modified, added, deleted etc. I posted some details on that in a posting a week or two ago. Check that out. I think it will accomplish what you're asking for.

Actipro Software Support

The latest build of this product (v22.1.3) 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.