Delay activating lexer/parser

SyntaxEditor for WPF Forum

Posted 11 years ago by Martin - Blaise - Statistics Netherlands
Avatar
Is it possible to change/extend the time between modifying the source by typing and the call to the lexer and/or parser. For large documents we want to postpone the parsing for better performance.

Greetz

Martin

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Martin,

The lexer (which updates syntax highlighting) occurs real-time and there is no delay option for that. Parser calls are delayed and are already optimized to execute on a worker thread (assuming you set up an ambient parse request dispatcher per in the documentation). When a user is typing, repeated parse requests will also be delayed temporarily until a brief pause occurs, keeping them optimized.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.