Quantcast
Channel: TX Text Control Community
Viewing all articles
Browse latest Browse all 1022

[OPEN] RemoveWord from a UserDictionary throws IndexOutOfRangeException

$
0
0
Hi there,

I'm trying to put together a Userdictionary with Technical Terms of our documents, so they won't be marked as incorrect.
To avoid Duplicates I'm removing the word and adding it then.
But when I'm removing a word (that ist not yet in the Dictionary) and there is a word that starts with the same String-Part I get an IndexOutOfRangeException. See example below.

dataDic.IsEditable = True
dataDic.RemoveWord("12345678")
dataDic.AddWord("12345678")
dataDic.RemoveWord("1234567")
A first chance exception of type 'System.IndexOutOfRangeException' occurred in TXSpell.dll

Looks like a bug to me...

I'm using TXSpell20 SP2 (Version of TXSpell.dll: 4.0.300.500).

Thanks, K. Roelleke.

Viewing all articles
Browse latest Browse all 1022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>