Spell Checking
Hello:
Just curious if there are options that one can set to determine the behavior of the spell checker so that it can be set to ignore formatting characters, or combinations of letters and numbers or letters and symbols? For example, if you have something like underlined text (%%UNotes%%u) the application will pickup that text as incorrect as it is looking at the formatting characters and the correctly spelled text as one item. Other things like 32" or 2x8 or (typ.) are picked up as well...
0
Comments
-
Your problem can be partly solved by defining (new) break points in the .aff file used by the spell checker. This does not solve '2x8' or '(typ.)'.
If there are no 'BREAK' rules in the .aff file you can just paste the code at the top of the file.
If you add or remove 'BREAK' rules make sure to update the 'Total number of BREAK rules'.
[code]# BREAK: Define new break points for breaking words and checking word parts separately.
BREAK 15 # Total number of BREAK rules.
BREAK - # Default BREAK.
BREAK ^- # Default BREAK.
BREAK -$ # Default BREAK.
BREAK %%c
BREAK %%C
BREAK %%d
BREAK %%D
BREAK %%o
BREAK %%O
BREAK %%p
BREAK %%P
BREAK %%u
BREAK %%U
BREAK ' # Feet.
BREAK " # Inches.[/code]0 -
Good to know. Thanks!
I also discovered that I was carrying over 100 .aff files used by assorted applications. Dang...0 -
... It is also possible to add 10 BREAK rules for digits 0 to 9. Then even '2x8' will no longer be regarded as a spelling error.
[code]# BREAK: Define new break points for breaking words and checking word parts separately.
BREAK 25 # Total number of BREAK rules.
BREAK - # Default BREAK.
BREAK ^- # Default BREAK.
BREAK -$ # Default BREAK.
BREAK %%c
BREAK %%C
BREAK %%d
BREAK %%D
BREAK %%o
BREAK %%O
BREAK %%p
BREAK %%P
BREAK %%u
BREAK %%U
BREAK ' # Feet.
BREAK " # Inches.
BREAK 0
BREAK 1
BREAK 2
BREAK 3
BREAK 4
BREAK 5
BREAK 6
BREAK 7
BREAK 8
BREAK 9[/code]0
This discussion has been closed.