Spell Check jEdit Plugin
This is an jEdit plugin to perform spell checking of text in a jEdit buffer. It is based on Aspell
(which you will need to download and install before using this plugin) which is
available for Windows and various Unix platforms (only the Windows version has
been tested).
Features
- An jEdit action to spell check selected text
- Configurable location of Aspell
executable
- Spell check dialog to allow the user to validate each suspect word. The
dialog has buttons for: Cancel, Change, Change All, Ignore, and Ignore All.
It shows the suspect word, lists suggested replacements, and has a field
where the user can type in the replacement word.
Installation and Configuration
- Download and install: : aspell-.33.5-win32-i386.zip.
- Copy the the
SpellPlugin.jar file to your jEdit jars
directory.
- Restart jEdit. You should see a
Spell Check option on the Help
menu.
- In the
Utilities/Global Options.../Plugin Options/Spell Check
option dialog set the Aspell executable filename to where
installed it.
Usage
- Select the text you would like to spell check
- Choose the menu item
Plugins/Spell check selection...
- The Aspell subprocess will start showing a DOS console (anybody knows how
to hide this on Windows?)
- You will be prompted with a MS-Office-like spell check dialog box for each
word that needs to be validated.
- Below is more info on the dialog box.
Spell Check Dialog Box
For each misspelled word the user has buttons to choose to:
- Add (not in this version)
- Adds the word not in the Not in Dictionary field to the dictionary.
- Cancel
- Closes the dialog box without making any changes you have made.
- Change
- Replaces the word not in the Not in Dictionary text field with the word in the
Change to text field. If the Change to text field is empty,
the button name changes to Delete. To remove the selected word from the item, click
Delete.
- Change All
- Replaces all instances of the word not in the Not in Dictionary
text field with the word in the
Change to text field. If the Change to text field is empty,
the button name changes to Delete. To remove all instances of the selected word from the item, click
Delete.
- Ignore
- Leaves the word not in the Not in Dictionary text field unchanged.
- Ignore All
- Leaves all instances of the word not in the Not in Dictionary
text field unchanged.
The dialog has the following components:
- Not in Dictionary:
- Displays a possible error, such as a misspelled word, a duplicate word, or a incorrect capitalization.
- Change to:
- Displays a suggested word to replace the word that appears in the Not in Dictionary
text field. To accept the suggested replacement, click Change. To delete the word in the
Not in Dictionary text field, delete the text in the Change to
text field, and then click Delete.
- Suggestions:
- Lists suggested replacement words.
Current Bugs
- When a selection is spell checked, if its last line is only a newline,
then it is removed.
Current Todo List
- Add words to an user dictionary
- Allow the user to reset Ignore All and Change All options (currently these
are result only if jEdit is restarted)
- Undo a change
- Allow the user access to Aspell options
- Complete tool tips on the Validation dialog
- Use the EditBus to report spelling errors (so they can be underlined like
Word does)
- Highlight the context of the word being corrected
Change Log
Release 001 (Apr 16, 2001)