![Avatar](https://secure.gravatar.com/avatar/0f0cb6edd97d45720d5ef65e168f0fe7.jpg?s=64&d=identicon&r=g)
Hi,
I have an editor using CsharpLanguage (add-on).
The intelliprompt memberlist appears and works correctly when the editor's
text is manually changed ( pressing ".", etc).
I have now a requirement where i need to programatically select a token and
force to show the intelliprompt list.
I've tried this:
Insert text to the documentAfter this syntaxEditor2.IntelliPrompt.MemberList is still empty.
therefore calling syntaxEditor2.IntelliPrompt.MemberList.Show();
shows an error that there are no items to show.
Further inspection showed that:Fires when i type in the editor, but it's never fired if i use the InserText method.
I;ve tried many DocumentModificationType options ( DocumentModificationType.Typing, AutoComplete, etc) without the desired effect.
Am i doing something wrong ??
I have an editor using CsharpLanguage (add-on).
The intelliprompt memberlist appears and works correctly when the editor's
text is manually changed ( pressing ".", etc).
I have now a requirement where i need to programatically select a token and
force to show the intelliprompt list.
I've tried this:
Insert text to the document
// Set the Caret Offset
syntaxEditor2.Caret.Offset = textRange.EndOffset - 1;
// Type the "."
syntaxEditor2.Document.InsertText( DocumentModificationType.Typing,
syntaxEditor2.Caret.Offset , ".");
therefore calling syntaxEditor2.IntelliPrompt.MemberList.Show();
shows an error that there are no items to show.
Further inspection showed that:
void syntaxEditor2_KeyTyped(object sender, KeyTypedEventArgs e)
{
I;ve tried many DocumentModificationType options ( DocumentModificationType.Typing, AutoComplete, etc) without the desired effect.
Am i doing something wrong ??