/plugins/SpellCheck/tags/SpellCheckR003/src/cswilly/jeditPlugins/spell/help.html

# · HTML · 187 lines · 153 code · 34 blank · 0 comment · 0 complexity · adedd037d752123547f03eb34a675328 MD5 · raw file

  1. <html>
  2. <head>
  3. <title>Spell check jEdit plugin</title>
  4. </head>
  5. <body>
  6. <h1>Spell Check jEdit Plugin</h1>
  7. This is an jEdit plugin to perform spell checking of text in a jEdit buffer.
  8. It is based on <a href="http://aspell.sourceforge.net/">Aspell</a>
  9. (which you will need to download and install before using this plugin) which is
  10. available for Windows and various Unix platforms.
  11. <h2>Features</h2>
  12. <ul>
  13. <li>An jEdit action to spell check selected text</li>
  14. <li>Configurable location of <a href="http://aspell.sourceforge.net/">Aspell</a>
  15. executable</li>
  16. <li>Spell check dialog to allow the user to validate each suspect word. The
  17. dialog has buttons for: Cancel, Change, Change All, Ignore, and Ignore All.
  18. It shows the suspect word, lists suggested replacements, and has a field
  19. where the user can type in the replacement word.</li>
  20. </ul>
  21. <h2>System Requirements</h2>
  22. <ul>
  23. <li>Tested with jEdit 3.0.2 and jEdit 3.1pre5.</li>
  24. <li>The plugin requires Java JDK 1.3--for no real reason (bummer).</li>
  25. <li>Tested on Windows 2000, Linux (with 2.2.14 kernel)</li>
  26. <li>Aspell .32.6 alpha or better (I am using Aspell .33.5 alpha)</li>
  27. </ul>
  28. <h2>Installation and Configuration</h2>
  29. <ul>
  30. <li>Download and install <a href="http://prdownloads.sourceforge.net/aspell/aspell-.33.5-win32-i386.zip">aspell-.33.5-win32-i386.zip</a>
  31. for Windows. If you are running some flavour of Unix, you can get the source
  32. as well as some binarys from <a href="http://aspell.sourceforge.net/">Aspell</a>. </li>
  33. <li>Copy the the <code>SpellPlugin.jar</code> file to your jEdit <code>jars</code>
  34. directory. </li>
  35. <li>Restart jEdit. You should see a <code>Spell Check</code> option on the <code>Help</code>
  36. menu. </li>
  37. <li>In the <code>Utilities/Global Options.../Plugin Options/Spell Check</code>
  38. option dialog set the <code>Aspell executable filename</code> to where
  39. installed it. </li>
  40. </ul>
  41. <h2>Usage</h2>
  42. <ul>
  43. <li>Select the text you would like to spell check</li>
  44. <li>Choose the menu item <code>Plugins/Spell check selection...</code></li>
  45. <li>The Aspell subprocess will start showing a DOS console (anybody knows how
  46. to hide this on Windows?)</li>
  47. <li>You will be prompted with a MS-Office-like spell check dialog box for each
  48. word that needs to be validated.</li>
  49. <li>Below is more info on the dialog box.</li>
  50. </ul>
  51. <h3>Spell Check Dialog Box</h3>
  52. <p>For each misspelled word the user has buttons to choose to:</p>
  53. <dl>
  54. <dt>Add (not in this version)</dt>
  55. <dd>Adds the word not in the <cite> Not in Dictionary</cite> field to the dictionary.</dd>
  56. <dt>Cancel</dt>
  57. <dd>Closes the dialog box without making any changes you have made.</dd>
  58. <dt>Change</dt>
  59. <dd>Replaces the word not in the <cite> Not in Dictionary</cite> text field with the word in the
  60. <cite> Change to</cite> text field. If the <cite> Change to</cite> text field is empty,
  61. the button name changes to <cite>Delete</cite>. To remove the selected word from the item, click
  62. <cite>Delete</cite>.</dd>
  63. <dt>Change All</dt>
  64. <dd>Replaces all instances of the word not in the <cite> Not in Dictionary</cite>
  65. text field with the word in the
  66. <cite> Change to</cite> text field. If the <cite> Change to</cite> text field is empty,
  67. the button name changes to <cite>Delete</cite>. To remove all instances of the selected word from the item, click
  68. <cite>Delete</cite>.</dd>
  69. <dt>Ignore</dt>
  70. <dd>Leaves the word not in the <cite> Not in Dictionary</cite> text field unchanged.</dd>
  71. <dt>Ignore All</dt>
  72. <dd>Leaves all instances of the word not in the <cite> Not in Dictionary</cite>
  73. text field unchanged.</dd>
  74. </dl>
  75. <p>The dialog has the following components:</p>
  76. <dl>
  77. <dt>Not in Dictionary:</dt>
  78. <dd>Displays a possible error, such as a misspelled word, a duplicate word, or a incorrect capitalization.</dd>
  79. <dt>Change to:</dt>
  80. <dd>Displays a suggested word to replace the word that appears in the <cite> Not in Dictionary</cite>
  81. text field. To accept the suggested replacement, click <cite>Change</cite>. To delete the word in the
  82. <cite> Not in Dictionary</cite> text field, delete the text in the <cite> Change to</cite>
  83. text field, and then click <cite>Delete</cite>.</dd>
  84. <dt>Suggestions:</dt>
  85. <dd>Lists suggested replacement words.</dd>
  86. </dl>
  87. <h2>Building</h2>
  88. <p>
  89. I do the build using
  90. <a href="http://jakarta.apache.org/ant/index.html">Ant</a>. Look in the
  91. <code>build.cmd</code> file for the version of Ant used. To see the build targets,
  92. type <code>build -projecthelp</code>. The most important target is
  93. <code>make.jar.spellPlugin</code> which creates the
  94. <code>SpellPlugin.jar</code>. There are other targets, but the <code>build.xml</code>
  95. is still a bit full of crap.
  96. </p>
  97. <p>Mike Dillon contributed
  98. a <code>makefile.jmk</code> makefile, which should work, but I have not used,
  99. but should make some people happy.
  100. </p>
  101. <h2>Current Bugs</h2>
  102. <ul>
  103. <li>When a selection is spell checked, if its last line is only a newline,
  104. then it is removed.</li>
  105. <li>
  106. The Aspell subprocess creates a visible console window on Windows
  107. 95/98/NT/2000.
  108. The console window is a long-standing Java
  109. <a href="http://developer.java.sun.com/developer/bugParade/bugs/4244515.html">bug</a>..
  110. Sun encountered problems under Windows 95 and 98 when the JVM ran system calls in a
  111. hidden window, which are still there under Windows NT/2000.
  112. <br></br>
  113. If you kill the visible console window, when you next spell check you will get
  114. an error. If you spell check again, it should work as the subprocess is
  115. recreated.
  116. </li>
  117. <li>
  118. The current buffer is changed even if there were no errors corrected in the
  119. buffer.
  120. </li>
  121. </ul>
  122. <h2>Current Todo List</h2>
  123. <ul>
  124. <li>Add words to an user dictionary</li>
  125. <li>Allow the user to reset Ignore All and Change All options (currently these
  126. are result only if jEdit is restarted)</li>
  127. <li>Undo a change</li>
  128. <li>Allow the user access to Aspell options</li>
  129. <li>Complete tool tips on the Validation dialog</li>
  130. <li>Use the EditBus to report spelling errors (so they can be underlined like
  131. Word does)</li>
  132. <li>Highlight the context of the word being corrected</li>
  133. </ul>
  134. <h2>Change Log</h2>
  135. <h3>Release 003 (Sep 09, 2001)</h3>
  136. <ul>
  137. <li>Same functionality as R002, but now in SourceForge's CVS.</li>
  138. <li>Cleaned and improved the build.xml and build.cmd files.</li>
  139. </ul>
  140. <h3>Release 002 (Apr 22, 2001)</h3>
  141. <ul>
  142. <li>Added build files (<code>build.xml</code> and <code>makefile.jmk</code>)
  143. to distribution</li>
  144. <li>Updated <code>help.html</code> with test feedback and system requirements</li>
  145. <li>The <code>ValidationDialog</code> now remembers its last placement. This
  146. mean that once you move it out-of-the-way, it stays out-of-the-way.</li>
  147. </ul>
  148. <h3>Release 001 (Apr 16, 2001)</h3>
  149. <ul>
  150. <li>First release.</li>
  151. </ul>
  152. </body>
  153. </html>