Posted 21 years ago
by Greg Shaffer
- Boulder

Hi,
I'm having an issue with showing my IntelliPrompt. I'm getting an array index out of range exception. To help me investigate the problem, could you tell me how to access the StringCollection that gets accessed in the IntelliPrompt show call?
I'm pretty sure that I am supplying a valid offset because it is less than the Document.CurrentView.Selection.EndOffset. What I did was show the IntelliPrompt at one location near the end of the document. Then I removed some text from the end of the document, added some text (less than what was removed) and displayed the intelliprompt at a smaller offset (still less than EndOffset.) Then I get the error.
Thanks,
Greg
I'm having an issue with showing my IntelliPrompt. I'm getting an array index out of range exception. To help me investigate the problem, could you tell me how to access the StringCollection that gets accessed in the IntelliPrompt show call?
I'm pretty sure that I am supplying a valid offset because it is less than the Document.CurrentView.Selection.EndOffset. What I did was show the IntelliPrompt at one location near the end of the document. Then I removed some text from the end of the document, added some text (less than what was removed) and displayed the intelliprompt at a smaller offset (still less than EndOffset.) Then I get the error.
Thanks,
Greg