Force update of NavigableSymbolSelector

SyntaxEditor for WPF Forum

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

Hi,

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 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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 (v25.1.0) was released 30 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.