Posted 19 years ago
by Harry Graave
-
IT-Consultancy,
TeamWiSE GmbH

Hi!
is it possible, that the CompleteWord method of the MemberList contains a bug? If the length passed is greater than 9, an ArgumentOutOfRangeException occurs. I circumvented this with the following code:
if (tok.Length > 9)
{
memberList.Show(tok.StartOffset, tok.Length);
}
else
{
memberList.CompleteWord(tok.StartOffset, tok.Length);
}
but ofcourse this is not what i really want... I checked and double-checked everything: the offset and length are within limits. Perhaps you can reproduce the problem? I'm using Version 2.5.158.0.
Regards,
Harry
is it possible, that the CompleteWord method of the MemberList contains a bug? If the length passed is greater than 9, an ArgumentOutOfRangeException occurs. I circumvented this with the following code:
if (tok.Length > 9)
{
memberList.Show(tok.StartOffset, tok.Length);
}
else
{
memberList.CompleteWord(tok.StartOffset, tok.Length);
}
but ofcourse this is not what i really want... I checked and double-checked everything: the offset and length are within limits. Perhaps you can reproduce the problem? I'm using Version 2.5.158.0.
Regards,
Harry