DocumentModification Suggestion

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by Greg Shaffer - Boulder
Avatar
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.

-Greg

Comments (1)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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 (v2020.1 build 0400) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.