Hi guys,
I'm trying to guess which item my user wants from the completion list, based on some logic. I then use the following code to pre-select this item, if possible:However, even though I have specified the Full selection state, the item is only partially selected, meaning that I have to press the first letter of the item to have it fully selected. I want it fully selected immediately, which is also what I would expect from the above code. Am I missing something? :)
I'm trying to guess which item my user wants from the completion list, based on some logic. I then use the following code to pre-select this item, if possible:
if(itemToPreSelect != null)
completionSession.Selection = new ActiproSoftware.Windows.Controls.SyntaxEditor.IntelliPrompt.CompletionSelection(itemToPreSelect, ActiproSoftware.Windows.Controls.SyntaxEditor.IntelliPrompt.CompletionSelectionState.Full);
completionSession.Open(editor.ActiveView);