Hello,
I have the following issue with the IntelliPrompt MemberList:
In some scenario, after selecting an option from a MemberList, I want a new MemebrList to appear immidiately after the AutoComplet of the previous word.
for example, my first MemberList includes an item with the text 'extends=""' and after selecting it, I want another MemberList to appear, with possible words to be placed inside the quotes.
note that the autoCompletePreText is 'extends="' and autoCompletePostText is '"', so the caret is placed inside the quotes after the AutoComplete.
I managed to trigger the second MemberList by overriding OnDocumentTextChanged and testing for (e.Modification.Type == DocumentModificationType.AutoComplete), however, at that point, the caret is after the closing quote and not between the quotes as I expected (i get the caret position using syntaxEditor.Caret.Offset).
I guess that OnDocumentTextChanged is called before the caret is moved back to the correct position (between the quotes).
Do you have a suggestion how I can resolve this problem?
Thanks in advance.
I have the following issue with the IntelliPrompt MemberList:
In some scenario, after selecting an option from a MemberList, I want a new MemebrList to appear immidiately after the AutoComplet of the previous word.
for example, my first MemberList includes an item with the text 'extends=""' and after selecting it, I want another MemberList to appear, with possible words to be placed inside the quotes.
note that the autoCompletePreText is 'extends="' and autoCompletePostText is '"', so the caret is placed inside the quotes after the AutoComplete.
I managed to trigger the second MemberList by overriding OnDocumentTextChanged and testing for (e.Modification.Type == DocumentModificationType.AutoComplete), however, at that point, the caret is after the closing quote and not between the quotes as I expected (i get the caret position using syntaxEditor.Caret.Offset).
I guess that OnDocumentTextChanged is called before the caret is moved back to the correct position (between the quotes).
Do you have a suggestion how I can resolve this problem?
Thanks in advance.