The symbol navigation function is slow to respond

SyntaxEditor for WPF Forum

The latest build of this product (v22.1.0) was released 1 month ago, which was before this thread was created.
Posted 14 days ago by Sunshine - Appeon
Version: 22.1.0
Avatar

I implement the symbol navigation function by inheriting the INavigableSymbolProvider interface. When the cursor position changes, the content of the navigation bar will change, but I found that this change is not instantaneous, and it takes about 1 second to respond. Shouldn't this response be very fast?

Comments (3)

Posted 13 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Yes, there is searching and processing that takes place to locate the proper symbol and then update the UI in response.  We don't do that synchronously so that we don't affect editor performance.  Instead we wait for a very brief delay after typing/editing completes to update it.


Actipro Software Support

Posted 10 days ago by Sunshine - Appeon
Avatar

Can you provide a property to set this delay time? We want it to be more responsive, now our users are reporting that the navbar is too slow to respond

Answer - Posted 9 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

We have been able to refactor the timing of things internally so that after a first parse has been loaded, there is a much smaller delay to updating the NavigableSymbolSelector's ComboBoxes on selection changes.  It feels a lot more "alive" with the change since you will actively see the selections update as the caret moves.  This update will be in v22.1.1.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.