FarNet.RightWords: Spell-checker and thesaurus

Анонсы новых плагинов. Обсуждение плагинов ведется ниже.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

FarNet.RightWords: Spell-checker and thesaurus

Post 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

===
Обсуждение
Last edited by NightRoman on Tue 11 Oct, 2016 20:16, edited 12 times in total.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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).
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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".
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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).
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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).
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post by NightRoman »

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

2.0.0

Adapted for Far3 + FarNet5.
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post by NightRoman »

2.0.1

Requires FarNet 5.0.1. Bug fixing.

http://code.google.com/p/farnet/downloads/list
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post by NightRoman »

2.0.2

Fixed highlighting defects on editing with spelling errors without Colorer.

http://code.google.com/p/farnet/downloads/list
User avatar
NightRoman
Posts: 6184
Joined: Fri 18 Aug, 2006 13:52
Location: Cambridge, UK
Has thanked: 32 times
Been thanked: 62 times
Contact:

Re: FarNet.RightWords: Spell-checker and thesaurus

Post 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
Post Reply

Return to “Анонсы новых плагинов”