Page 1 of 1

show error for repeated words

Posted: Fri Nov 10, 2023 9:02 am
by shikhar_472
Hi Team,

I want to show the error line for repeated words into the document for spell check is there any way to do that.
Could you please help.

Thanks,
Shikhar.

Re: show error for repeated words

Posted: Fri Nov 10, 2023 1:26 pm
by cosminef
Hello,
We tested this functionality on the public demo version [1] and noticed that the spell checker flags two successive identical words as an error.
spell.PNG
Is this your use case ?

[1] https://www.oxygenxml.com/oxygen-xml-we ... xygen.html

Best Regards,
Cosmin

Re: show error for repeated words

Posted: Thu Nov 16, 2023 10:07 am
by shikhar_472
Hi Cosmin,
Yes i am able to see that i have overridden the spell check functionality how to pick that in java code that word has been repeated because whenever the work is repeating i want to show the flag on dialog that word is repeating.

Re: show error for repeated words

Posted: Thu Nov 16, 2023 3:05 pm
by cosminef
Hello,

Can you contact us via email at: support@oxygenxml.com in order to discuss in detail this use case ?

Best,
Cosmin

Re: show error for repeated words

Posted: Fri Nov 17, 2023 7:37 am
by shikhar_472
is there any flag in jaeditor which tells about the duplicate word or is there any flag in java which tells about the duplicate word, spelll checker is throwing the error for duplicate word i understood but the moment i am running the spell check i want to if the error is coming because of duplicate word

Re: show error for repeated words

Posted: Fri Nov 17, 2023 12:26 pm
by cosminef
We have submitted a feature request ( WA-6880) for this functionality so that, in the Spell Check dialog, a separate field with duplicate word will appear, something like this (this is just an example):
duplicate.PNG
Is this the functionality you desire?

Best Regards,
Cosmin

Re: show error for repeated words

Posted: Fri Nov 17, 2023 1:43 pm
by shikhar_472
yes cosmin, thanks very much is it possible to achieve this as I have implemented custom spell check

taking the reference from

https://github.com/oxygenxml/web-author ... log-plugin

Re: show error for repeated words

Posted: Fri Nov 17, 2023 4:50 pm
by cosminef
Hello,

To develop this feature, more complex operations are required.
We assure you that once it is implemented, we will announce it here on the forum.
Thank you for your understanding.

Best Regards,
Cosmin