TRichView 16.10: spellcheckers, downloaders, bookmarks
Posted: Sun Nov 06, 2016 9:15 am
New versions are released: TRichView 16.10, RichViewActions 6.10, ScaleRichView 7.7
Trial versions are available here:
http://www.trichview.com/download/
As you may notice from version numbers, we do not consider this update as a major update. However, many interesting new features are implemented.
Spell checkers
TRichView does not include its own spell checker. However, you can use third-party spell checkers, both freeware and commercial ones.
In older versions:
Older versions had a special support for Addict spell checker. It was installed automatically by the TRichView installer (assuming that Addict 4 is already installed). It can be integrated in user interface created using RichViewActions, however, it required a recompilation with a special $DEFINE. If it was defined, special actions and special properties of TRVAControlPanel became available.
Other spell checkers were available for separate downloading. They did not include packages, only pas-files. To use them in RichViewActions, you need to write a special code to implement live spelling commands in popup menu and commands for spell checking using a dialog window.
In this update:
TRichView installer automatically installs parsers for Addict, GNU ASpell, HunSpell, ExpressSpellChecker spelling checkers.
The parsers for Addict and ExpressSpellChecker are installed only if Addict and DevExpress components are already installed.
The parsers for GNU ASpell and HunSpell are always installed, but they require the corresponding DLLs.
The parser for Polar ActiveX is not installed automatically, however, packages for all versions of Delphi and C++Builder are included, read the install instructions in ThirdParty\Polar folder.
Parsers for obsolete spell checkers (EDSSpell, VSSpell, LS Speller) are not installed, you can find them in ThirdParty\Other\Spell folder.
These parsers can be used both separately and with RichViewActions.
If you choose RichViewActions, you just need to place components on a form and link them together, no code is necessary.
So integration in RichViewActions does not require any special $DEFINEs or processing events any more.
A new group of components is available: spell interfaces. They can be found in "RichView Interfaces" page of the component palette.
For example, for HunSpell, it is TRVAHunSpellInterface component.
A new property is added to TRVAControlPanel: SpellInterface. Assign a spell interface component to this property, assign properties of this spell interface component (usually, a link to a spellchecker component).
After that:
- you can use TrvActionSpellingCheck action to check spelling in the target editor using a dialog box
- you can use TrvActionThesaurus action to find synonyms for the current word in the target editor (if the chosen spell interface supports a thesaurus; currently, it is supported only for Addict)
- TRAPopupMenu automatically displays suggestions, "Add to Dictionary", "Ignore All" commands
- use auto-correction on typing (if the chosen spell interface supports this feature; currently, it is supported in Addict, ExpressSpellChecker, Polar SpellChecker)
If the spelling dialog is designed by TRichView (HunSpell, ASpell), RichViewActions automatically translate its user interface. Currently, only Russian and English are available, more languages are in development.
If the spelling dialog can change its language itself (Addict), RichViewActions automatically set its language to the language most similar to the current RichViewActions UI language.
Demo projects for spell checkers are included in TRichView installer. They include both checking with and without RichViewActions.
- Addict: ThirdParty\Addict\Demos
- GNU ASpell: ThirdParty\ASpell\Demos
- HunSpell: ThirdParty\HunSpell\Demos
- ExpressSpellCheckers: ThirdParty\DevExpress\Demos\Spell\
- Polar SpellChecker ActiveX: ThirdParty\Polar\Demos\
All the demos above are almost identical. The DevExpress demo uses TcxTRichViewEdit instead of TRichViewEdit.
Additional information about spell interfaces can be found in the help file.
Previous version
http://www.trichview.com/forums/viewtopic.php?t=7531
Trial versions are available here:
http://www.trichview.com/download/
As you may notice from version numbers, we do not consider this update as a major update. However, many interesting new features are implemented.
Spell checkers
TRichView does not include its own spell checker. However, you can use third-party spell checkers, both freeware and commercial ones.
In older versions:
Older versions had a special support for Addict spell checker. It was installed automatically by the TRichView installer (assuming that Addict 4 is already installed). It can be integrated in user interface created using RichViewActions, however, it required a recompilation with a special $DEFINE. If it was defined, special actions and special properties of TRVAControlPanel became available.
Other spell checkers were available for separate downloading. They did not include packages, only pas-files. To use them in RichViewActions, you need to write a special code to implement live spelling commands in popup menu and commands for spell checking using a dialog window.
In this update:
TRichView installer automatically installs parsers for Addict, GNU ASpell, HunSpell, ExpressSpellChecker spelling checkers.
The parsers for Addict and ExpressSpellChecker are installed only if Addict and DevExpress components are already installed.
The parsers for GNU ASpell and HunSpell are always installed, but they require the corresponding DLLs.
The parser for Polar ActiveX is not installed automatically, however, packages for all versions of Delphi and C++Builder are included, read the install instructions in ThirdParty\Polar folder.
Parsers for obsolete spell checkers (EDSSpell, VSSpell, LS Speller) are not installed, you can find them in ThirdParty\Other\Spell folder.
These parsers can be used both separately and with RichViewActions.
If you choose RichViewActions, you just need to place components on a form and link them together, no code is necessary.
So integration in RichViewActions does not require any special $DEFINEs or processing events any more.
A new group of components is available: spell interfaces. They can be found in "RichView Interfaces" page of the component palette.
For example, for HunSpell, it is TRVAHunSpellInterface component.
A new property is added to TRVAControlPanel: SpellInterface. Assign a spell interface component to this property, assign properties of this spell interface component (usually, a link to a spellchecker component).
After that:
- you can use TrvActionSpellingCheck action to check spelling in the target editor using a dialog box
- you can use TrvActionThesaurus action to find synonyms for the current word in the target editor (if the chosen spell interface supports a thesaurus; currently, it is supported only for Addict)
- TRAPopupMenu automatically displays suggestions, "Add to Dictionary", "Ignore All" commands
- use auto-correction on typing (if the chosen spell interface supports this feature; currently, it is supported in Addict, ExpressSpellChecker, Polar SpellChecker)
If the spelling dialog is designed by TRichView (HunSpell, ASpell), RichViewActions automatically translate its user interface. Currently, only Russian and English are available, more languages are in development.
If the spelling dialog can change its language itself (Addict), RichViewActions automatically set its language to the language most similar to the current RichViewActions UI language.
Demo projects for spell checkers are included in TRichView installer. They include both checking with and without RichViewActions.
- Addict: ThirdParty\Addict\Demos
- GNU ASpell: ThirdParty\ASpell\Demos
- HunSpell: ThirdParty\HunSpell\Demos
- ExpressSpellCheckers: ThirdParty\DevExpress\Demos\Spell\
- Polar SpellChecker ActiveX: ThirdParty\Polar\Demos\
All the demos above are almost identical. The DevExpress demo uses TcxTRichViewEdit instead of TRichViewEdit.
Additional information about spell interfaces can be found in the help file.
Previous version
http://www.trichview.com/forums/viewtopic.php?t=7531