Force update of NavigableSymbolSelector

SyntaxEditor for WPF Forum

Posted 9 years ago by Luca Marzolla - CAREL INDUSTRIES S.p.A.
Version: 14.2.0611
Platform: .NET 4.5
Environment: Windows 7 (64-bit)


There's a way to force the update of a NavigableSymbolSelector from code?

The "GetSymbols" method is called right after a document change occurs, but my symbols info are generated in a background task so I need to update the dropdown bars when infos are ready.

Thanks in advance.

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Luca,

If you change the document's ParseData property, the ParseDataChanged event will end up triggering a refresh of the NavigableSymbolSelector.  I'd recommend that you change that property value once your background task completes.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.