photools.com Community

IMatch Bug Reports and Feature Requests => Bug Reports => Solved Bug Reports (for next version) => Topic started by: pixeldroid.000 on February 12, 2025, 01:51:33 PM

Title: Thesaurus Function Request
Post by: pixeldroid.000 on February 12, 2025, 01:51:33 PM
I often paste a list when updating synonyms in the Thesaurus. If there are existing synonyms in the pasted list, IMatch ignores the entire list. It would be helpful to either update the entire list, or provide a method to delete all of the existing synonyms for a keyword.
Thanks.
Title: Re: Thesaurus Function Request
Post by: Mario on February 12, 2025, 02:44:17 PM
I have marked this as a bug and fixed it for the next release.

When adding a bunch of synonyms, the Thesaurus manager adds each individual synonym with an AddSynonym method. The loop adding the synonyms did only check for the "OK" result code and considered all others as errors and aborts.
It also should have check for the "DuplicateName" result code and just ignore it and continue.

This will work in the next release.
Title: Re: Thesaurus Function Request
Post by: pixeldroid.000 on February 13, 2025, 02:47:10 PM
Thanks!