How to Restart Intellisense

SyntaxEditor for WPF Forum

Posted 10 years ago by Richard Carlin
Avatar
I am using the DocumentTextChanged event to check the latest typed character and show the appropriate intelliprompt menu. The user clicks on a choice and the new code is added. The problem is that I want to immediately pop a new intelliprompt menu based on the users prior choice but the prior intellisense insert doesnt fire the DocumentTextChanged event.

Is there another event I should be using to trigger a new intelliprompt menu.

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
If the completion session changes the document's text then there should definitely be a DocumentTextChanged event that fires since document text changes are very low-level calls and each one will initiate that event.

However each IntelliPrompt session has a Closed event that indicates whether it was canceled or not. This is probably a better way to go, use the CompletionSession.Closed event instead.


Actipro Software Support

The latest build of this product (v2019.1 build 0684) was released 14 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.