texworks icon indicating copy to clipboard operation
texworks copied to clipboard

[Feature Request] Add ignore/add commands to spellchecker

Open GoogleCodeExporter opened this issue 10 years ago • 5 comments

What steps will reproduce the problem?
1. Type a word not found in the dictionary (nanowire worked for me)
2. Right click the word which is (incorrectly) marked as wrong

What is the expected output? What do you see instead?
In addition to the suggestions, the menu items "Ignore" and "Add to
dictionary" found in many other applications would be useful.

What version of the product are you using? On what operating system?
SVN r246, Ubuntu 8.10

Original issue reported on code.google.com by st.loeffler on 19 Dec 2008 at 3:57

GoogleCodeExporter avatar Mar 14 '15 10:03 GoogleCodeExporter

Yes, this is definitely needed. I'd like to move to using the Enchant interface 
for spell-checkers, though, so it 
makes sense to do that first before adding more features.

Original comment by [email protected] on 20 Dec 2008 at 10:25

  • Changed state: Accepted

GoogleCodeExporter avatar Mar 14 '15 10:03 GoogleCodeExporter

Original comment by st.loeffler on 22 Aug 2009 at 3:43

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

GoogleCodeExporter avatar Mar 14 '15 10:03 GoogleCodeExporter

Issue 277 has been merged into this issue.

Original comment by st.loeffler on 30 Mar 2010 at 2:27

GoogleCodeExporter avatar Mar 14 '15 10:03 GoogleCodeExporter

Once spellchecking is enabled (en-GB), TW seems to recognise LaTeX commands as 
such, which is very appreciated here. Is it possible to add custom commands? 
Would fiddling directly with the dic or aff files be advised?

Big thanks, as usual, and best wishes,
Juan

Original comment by [email protected] on 24 Sep 2010 at 10:38

GoogleCodeExporter avatar Mar 14 '15 10:03 GoogleCodeExporter

The spellchecker doesn't recognize LaTeX commands as such. However, the syntax 
highlighter is configured not to check strings starting with a "\" (roughly 
speaking). Note that this applies to everything, whether it is a valid LaTeX 
command or not. Non-ASCII characters are not recognized by default, though.

I'm not exactly sure what you want to add, but 
<resources>/configuration/syntax-patterns.txt is probably the file to do that 
(See the wiki TipsAndTricks for locating the resources folder). There should be 
a brief introduction into the file format at the top.

Original comment by st.loeffler on 24 Sep 2010 at 10:43

GoogleCodeExporter avatar Mar 14 '15 10:03 GoogleCodeExporter