Page 1 of 1
spell check flags space before a hyphen
Posted: Thu Mar 04, 2021 7:53 am
by laurenkusa
Hi,
we have a lot of text where we write use the -abcd argument and the spell check always flags the hyphen. Is there a way to tell Oxygen to ignore the white space before the hyphen?
We are using DITA with OXygen, in case that maters.
Thanks,
Lauren
Re: spell check flags space before a hyphen
Posted: Thu Mar 04, 2021 8:32 am
by Radu
Hi Lauren,
What version of Oxygen are you using?
Can you post a small sample XML fragment showing how that text is used in context? Maybe also tell us if you changed the Oxygen spell checking global settings in any way.
Regards,
Radu
Re: spell check flags space before a hyphen
Posted: Tue Apr 20, 2021 4:35 am
by laurenkusa
Hi Radu, I got super-busy and forgot to check the forum.
I will try to get back to this post in a couple of weeks.
Lauren
Re: spell check flags space before a hyphen
Posted: Wed Aug 11, 2021 4:42 pm
by chrispitude
We have option names with leading hyphens in our content:
Code: Select all
<p>Use the <codeph>-verbose</codeph> option to...</p>
Oxygen's spell checker does not care about the leading hyphen. However, it will spell-check the word following the hyphen in the usual way:
Code: Select all
<p>Use the <codeph>-more_verbose</codeph> option to...</p>
Because "more_verbose" is not a word, the spell-checker will flag it.
We have many such tool-specific option names that are not words. But because we always wrap these in <codeph>, we use the "Ignore elements" feature of the Oxygen spell-checker to exclude <codeph> (and various other) elements from spell-checking:
https://www.oxygenxml.com/doc/versions/ ... ts-section
This has worked great for us.