Delay activating lexer/parser

SyntaxEditor for WPF Forum

Posted 14 years ago by Martin - Blaise - Statistics Netherlands
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.



Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.