#931 SpellCheck R009 release request

None
closed
Townsfolk
None
5
2014-08-24
2014-01-09
Eric Le Lay
No

{{{ SpellCheckPlugin R009
Source: Source code is in git with the tag SpellCheckR009
Announcement: This is a maintenance release; bringing back jEdit trunk compatibility
Requires Java 1.6
Requires jEdit 04.04.99.01
Required plugins:
Common Controls 1.3 (CommonControlsPlugin)
ErrorList 1.9 (errorlist.ErrorListPlugin)
Optional plugins:
VoxSpell 1.0.8 (voxspellcheck.VoxSpellPlugin)

Short Description: The SpellCheck Plugin performs spell checking of text in a jEdit buffer.You will need to install Aspell to use this plugin.

Long Description: <html>


SpellCheck is an jEdit plugin to perform spell checking of text in a jEdit buffer.



This plugin provides: an jEdit action to spell check selected text,
a 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.
It also features user-editable dictionaries.


</html>
}}}

Discussion

  • Townsfolk
    Townsfolk
    2014-01-14

    Testing with jEdit 4.5.2, Common Controls 1.5.

    I'm getting compile time errors even though I've initialized and updated the hunspell submodule:
    gineManager.java:58: package dk.dren.hunspell does not exist
    [jp.javac] import dk.dren.hunspell.Hunspell;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/hunspellbridge/HunspellEngineManager.java:72: cannot find symbol
    [jp.javac] symbol : class Hunspell
    [jp.javac] location: class cswilly.jeditPlugins.spell.hunspellbridge.HunspellEngineManager
    [jp.javac] private Hunspell hspl;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellEngine.java:36: package voxspellcheck does not exist
    [jp.javac] import voxspellcheck.OffsetTrie;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellEngine.java:40: cannot find symbol
    [jp.javac] symbol : class OffsetTrie
    [jp.javac] location: class cswilly.jeditPlugins.spell.voxspellbridge.VoxSpellEngine
    [jp.javac] private OffsetTrie checker;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellEngine.java:44: cannot find symbol
    [jp.javac] symbol : class OffsetTrie
    [jp.javac] location: class cswilly.jeditPlugins.spell.voxspellbridge.VoxSpellEngine
    [jp.javac] public VoxSpellEngine(OffsetTrie checker){
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellEngineManager.java:37: package voxspellcheck does not exist
    [jp.javac] import voxspellcheck.OffsetTrie;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellEngineManager.java:38: package voxspellcheck does not exist
    [jp.javac] import voxspellcheck.VoxSpellPlugin;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellSuggestionValidator.java:30: package voxspellcheck does not exist
    [jp.javac] import voxspellcheck.SuggestionTree;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellSuggestionValidator.java:34: cannot find symbol
    [jp.javac] symbol : class SuggestionTree
    [jp.javac] location: class cswilly.jeditPlugins.spell.voxspellbridge.VoxSpellSuggestionValidator
    [jp.javac] private SuggestionTree suggestions;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellSuggestionValidator.java:36: cannot find symbol
    [jp.javac] symbol : class SuggestionTree
    [jp.javac] location: class cswilly.jeditPlugins.spell.voxspellbridge.VoxSpellSuggestionValidator
    [jp.javac] public VoxSpellSuggestionValidator(SuggestionTree suggestions){
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/spell/hunspellbridge/HunspellEngine.java:25: package dk.dren.hunspell does not exist
    [jp.javac] import dk.dren.hunspell.Hunspell;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/spell/hunspellbridge/HunspellEngine.java:49: package Hunspell does not exist
    [jp.javac] private Hunspell.Dictionary dict;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/spell/hunspellbridge/HunspellEngine.java:51: package Hunspell does not exist
    [jp.javac] public HunspellEngine(Hunspell.Dictionary dict){
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/spell/hunspellbridge/HunspellSuggestionValidator.java:25: package dk.dren.hunspell does not exist
    [jp.javac] import dk.dren.hunspell.Hunspell;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/spell/hunspellbridge/HunspellSuggestionValidator.java:45: package Hunspell does not exist
    [jp.javac] private Hunspell.Dictionary dict;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/spell/hunspellbridge/HunspellSuggestionValidator.java:47: package Hunspell does not exist
    [jp.javac] public HunspellSuggestionValidator(Hunspell.Dictionary dict){
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/hunspellbridge/HunspellEngineManager.java:98: package Hunspell does not exist
    [jp.javac] Hunspell.Dictionary d = null;
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/hunspellbridge/HunspellEngineManager.java:123: package Hunspell does not exist
    [jp.javac] Hunspell.Dictionary d = hspl.getDictionary(sd);
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/hunspellbridge/HunspellEngineManager.java:203: cannot find symbol
    [jp.javac] symbol : variable Hunspell
    [jp.javac] location: class cswilly.jeditPlugins.spell.hunspellbridge.HunspellEngineManager
    [jp.javac] if(libName==null)hspl = Hunspell.getInstance();
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/hunspellbridge/HunspellEngineManager.java:208: cannot find symbol
    [jp.javac] symbol : variable Hunspell
    [jp.javac] location: class cswilly.jeditPlugins.spell.hunspellbridge.HunspellEngineManager
    [jp.javac] hspl = Hunspell.getInstance(f.getParent());
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellEngineManager.java:51: cannot find symbol
    [jp.javac] symbol : variable VoxSpellPlugin
    [jp.javac] location: class cswilly.jeditPlugins.spell.voxspellbridge.VoxSpellEngineManager
    [jp.javac] engine = new VoxSpellEngine(VoxSpellPlugin.getChecker());
    [jp.javac] ^
    [jp.javac] /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/voxspellbridge/VoxSpellEngineManager.java:62: cannot find symbol
    [jp.javac] symbol : variable VoxSpellPlugin
    [jp.javac] location: class cswilly.jeditPlugins.spell.voxspellbridge.VoxSpellEngineManager
    [jp.javac] return new VoxSpellSuggestionValidator(VoxSpellPlugin.getSuggestionTree());
    [jp.javac] ^
    [jp.javac] Note: Some input files use or override a deprecated API.
    [jp.javac] Note: Recompile with -Xlint:deprecation for details.
    [jp.javac] Note: /Users/elberry/development/projects/jedit/release-sandbox/SpellCheck-R009/SpellCheck/src/main/cswilly/jeditPlugins/spell/AspellOptionPane.java uses unchecked or unsafe operations.
    [jp.javac] Note: Recompile with -Xlint:unchecked for details.
    [jp.javac] 22 errors

     
  • Eric Le Lay
    Eric Le Lay
    2014-01-17

    Seems that plugin dependency voxspell is also missing...

    build.prepare compiles the lib/HunspellJNA/build/jar/hunspell.jar and copies it to .jedit/plugins
    Does it exist in your build environment ?

     
  • Townsfolk
    Townsfolk
    2014-02-16

    • status: open --> closed
    • assigned_to: Townsfolk
     
  • Townsfolk
    Townsfolk
    2014-02-16

    Released to plugin central.