Page 1 of 2

FarNet.RightWords: Spell-checker and thesaurus

Posted: Sun 19 Jun, 2011 13:28
by NightRoman
RightWords is the FarNet module for FarManager. It provides the spell-checker
and thesaurus based on NHunspell. The core Hunspell is used in OpenOffice and
it works with dictionaries published on OpenOffice.org.

Distributed as the NuGet package: https://www.nuget.org/packages/FarNet.RightWords

HOW TO DOWNLOAD AND INSTALL

Download and install manually (normally not recommended): https://nuget.org/api/v2/package/FarNet.RightWords

===
Обсуждение

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Tue 21 Jun, 2011 08:32
by NightRoman
http://code.google.com/p/farnet/

1.0.1

Added the SkipPattern to the settings.

Regular expression patterns in settings are created with
IgnorePatternWhitespace option (see Readme.txt for details).

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Tue 21 Jun, 2011 17:32
by NightRoman
http://code.google.com/p/farnet/

1.0.2

Fixed wrong text selection after word replacements.

Added [Ignore All] command to the suggestion menu.

Slightly improved the SkipPattern sample.

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Wed 22 Jun, 2011 07:50
by NightRoman
http://code.google.com/p/farnet/

1.0.3

Revised the suggestion menu actions and used numeric hotkeys.

Added [Add to Dictionary] command to the suggestion menu.
The user dictionary is the roaming file "RightWords.dic".

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Thu 23 Jun, 2011 18:57
by NightRoman
http://code.google.com/p/farnet/

1.0.4

Fixed potential SkipPattern filter issues after correction in the same line.

Dictionaries are sorted internally by numbers of valid word hits. This slightly
improves performance for 2+ dictionaries and provides word suggestions from
more expected dictionaries first.

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Fri 24 Jun, 2011 06:37
by NightRoman
http://code.google.com/p/farnet/

1.0.5.

Use FarNet 4.4.20 (new editor color API).

Experimental, with known caveats, highlighting of misspelled words in the
editor. This mode is turned on/off by the module menu command [Highlighting].

CAVEATS: Highlighting works fine (AFAIK) if there is the Colorer plugin and
there are no other color plugins. Without Colorer it works fine only if the
text is not being modified. With other editor color plugins it is not tried.

Highlighting color is black on red and it is not yet configurable.

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Mon 27 Jun, 2011 07:36
by NightRoman
http://code.google.com/p/farnet/

1.0.6

Use FarNet 4.4.21 (revised editor color API).

Highlighting is tested with and without the Colorer plugin and without other
editor color plugins. Scenarios with other editor color plugins are not tested.

Highlighting is turned on automatically for files which names match the mask:
[F9] | Options | Plugins configuration | .NET | Editors | RightWords

Highlighting colors are configurable in settings (default: black on yellow).

The [Correct word] menu contains the same commands as the [Correct text].

The thesaurus input box uses the current word as the default input.

Code clean-up and light optimization. NOTE: SkipPattern filter is relatively
expensive. The sample/recommended pattern is simplified (see Readme.txt).

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Wed 29 Jun, 2011 06:38
by NightRoman
http://code.google.com/p/farnet/

1.0.7

[Add to Dictionary] command supports the common and language dictionaries. See
Readme.txt for details. This feature is very useful but it is not that simple.

Ignore the `Native Library is already loaded` exception. It is possible in rare
cases when other modules use NHunspell and load it before RightWords.

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Thu 30 Jun, 2011 08:53
by NightRoman
http://code.google.com/p/farnet/

1.0.8

[Correct word] menu is shown one line lower (the word is visible more often).

[Add to Dictionary] | Common: a user is asked to add one or two word forms.

Changed the default WordPattern and the sample SkipPattern (see Readme).

Fixed double added colors in the current line on highlighting.

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Fri 01 Jul, 2011 06:57
by NightRoman
http://code.google.com/p/farnet/

1.0.9

Added UserDictionaryDirectory to settings (optional). Unlike the other settings
it is local, it is stored in the local module settings, not the roaming.

The UI is localized (English, Russian).

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Wed 06 Jul, 2011 06:52
by NightRoman
http://code.google.com/p/farnet/

1.0.10

Use FarNet 4.5.0

Fixed rare but possible dupes in the suggestion and dictionary menus.

The WordPattern setting: all regular expression capturing groups "(...)" are
removed from the word before spell-checking. This allows to check spelling of
words with embedded "noise" parts, like the hotkey markers "&" in .lng files.
See Readme.txt for details and the example pattern with "&".

Added "*.lng" to the default automatic highlighting file mask.

Minor tweaks.

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Mon 09 Jan, 2012 07:12
by NightRoman
http://code.google.com/p/farnet/

2.0.0

Adapted for Far3 + FarNet5.

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Tue 10 Jan, 2012 07:29
by NightRoman
2.0.1

Requires FarNet 5.0.1. Bug fixing.

http://code.google.com/p/farnet/downloads/list

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Wed 11 Jan, 2012 08:15
by NightRoman
2.0.2

Fixed highlighting defects on editing with spelling errors without Colorer.

http://code.google.com/p/farnet/downloads/list

Re: FarNet.RightWords: Spell-checker and thesaurus

Posted: Sat 14 Jan, 2012 11:42
by NightRoman
2.0.3

Use FarNet 5.0.3. Simplified and yet faster work with editor colors.

http://code.google.com/p/farnet/downloads/list