updated for version 7.0079
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*spell.txt* For Vim version 7.0aa. Last change: 2005 Apr 24
|
||||
*spell.txt* For Vim version 7.0aa. Last change: 2005 Jun 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -140,13 +140,19 @@ find them here:
|
||||
http://lingucomponent.openoffice.org/spell_dic.html
|
||||
|
||||
:mksp[ell] [-ascii] {outname} {inname} ... *:mksp* *:mkspell*
|
||||
Generate spell file {outname}.spl from Myspell files
|
||||
{inname}.aff and {inname}.dic.
|
||||
Generate spell file {outname}.spl.
|
||||
|
||||
When the [-ascii] argument is present, words with
|
||||
non-ascii characters are skipped. The resulting file
|
||||
ends in "ascii.spl". Otherwise the resulting file
|
||||
ends in "ENC.spl", where ENC is the value of
|
||||
'encoding'.
|
||||
|
||||
The input can be the Myspell format files {inname}.aff
|
||||
and {inname}.dic. If {inname}.aff does not exist then
|
||||
{inname} is used as the file name of a plain word
|
||||
list.
|
||||
|
||||
Multiple {inname} arguments can be given to combine
|
||||
regions into one Vim spell file. Example: >
|
||||
:mkspell ~/.vim/spell/en /tmp/en_US /tmp/en_CA /tmp/en_AU
|
||||
@ -187,6 +193,27 @@ Names will not appear in a dictionary, but do appear in a word list. And
|
||||
some old words are rarely used and are common misspellings. These do appear
|
||||
in a dictionary but not in a word list.
|
||||
|
||||
There are two formats: one with affix compression and one without. The files
|
||||
with affix compression are used by Myspell (Mozilla and OpenOffice.org). This
|
||||
requires two files, one with .aff and one with .dic extension. The second
|
||||
format is a list of words.
|
||||
|
||||
|
||||
FORMAT OF WORD LIST
|
||||
|
||||
The words must appear one per line. That is all that is required. Optional
|
||||
items are:
|
||||
- Empty and blank lines are ignored.
|
||||
- Lines starting with a # are ignored (comment lines).
|
||||
- A line starting with "=encoding=" before any word. After the second '='
|
||||
comes an encoding name. This tells Vim to setup conversion from the
|
||||
specified encoding to 'encoding'.
|
||||
- Other lines starting with '=' are special. The ones that are not recognized
|
||||
are ignored (but you do get a warning message).
|
||||
|
||||
|
||||
FORMAT WITH AFFIX COMPRESSION
|
||||
|
||||
There are two files: the basic word list and an affix file. The affixes are
|
||||
used to modify the basic words to get the full word list. This significantly
|
||||
reduces the number of words, especially for a language like Polish. This is
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2005 May 18
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2005 Jun 03
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -3636,6 +3636,8 @@ the same syntax file on all terminals, and use the optimal highlighting.
|
||||
|
||||
1. highlight arguments for normal terminals
|
||||
|
||||
*bold* *underline* *undercurl*
|
||||
*inverse* *italic* *standout*
|
||||
term={attr-list} *attr-list* *highlight-term* *E418*
|
||||
attr-list is a comma separated list (without spaces) of the
|
||||
following items (in any order):
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jun 01
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Jun 04
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -30,6 +30,12 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Patch in if_cscope.c also in 6.3? (Froloff)
|
||||
Sergey says it's OK.
|
||||
|
||||
Now that search HL combines with existing color, ctermfg=white doesn't work.
|
||||
(Gautam Iyer)
|
||||
|
||||
Add extra list of file locations. Can be used with:
|
||||
:ltag list of matching tags, like :tselect
|
||||
|
||||
@ -39,21 +45,20 @@ Add extra list of file locations. Can be used with:
|
||||
:lNfile :lpfile location in previous file
|
||||
:lrewind :lfirst first location
|
||||
:llast last location
|
||||
:lq [N] go to location N (current one if N omitted)
|
||||
:ll [N] go to location N (current one if N omitted)
|
||||
:lwindow open window with locations (separate from quickfix window)
|
||||
:lopen open window with locations
|
||||
:lclose close window with locations
|
||||
:llist list locations
|
||||
:lfile read locations from file using 'errorformat'
|
||||
:lgetfile idem, don't jump to first one
|
||||
:lbuffer idem, from current buffer.
|
||||
|
||||
Win32: Balloon text can't contain line break.
|
||||
Hints for multiline tooltips from Alexei Alexandrov (2005 Mar 26)
|
||||
Patch from Sergey Khorev, 2005 Apr 11
|
||||
Add has("balloon_multiline")
|
||||
|
||||
Patch in if_cscope.c also in 6.3? (Froloff)
|
||||
|
||||
Mac unicode patch (Da Woon Jung):
|
||||
- selecting proportional font breaks display
|
||||
- UTF-8 text causes display problems. Font replacement causes this.
|
||||
@ -92,9 +97,10 @@ Still seems to fail 15% of the time.
|
||||
PLANNED FOR VERSION 7.0:
|
||||
|
||||
- Add SPELLCHECKER, with support for many languages.
|
||||
- Use "engspchk" from Charles Campbell for ideas.
|
||||
- Is it worth trying the trie structure (see code from Olaf Seibert, 2005
|
||||
May 9)
|
||||
- Use "engspchk" from Charles Campbell for ideas (commands, rare words).
|
||||
- Should quickly return if there is no word with the character.
|
||||
Use array with flags, indicating if there is a word starting with this
|
||||
byte. Quickly skip bytes where no word can start.
|
||||
- Spell checking code todo's:
|
||||
- Implement user and project word lists. Commands to add words and to
|
||||
mark words as wrong.
|
||||
@ -107,14 +113,10 @@ PLANNED FOR VERSION 7.0:
|
||||
:set spelllang=en_us,en-rare/SpellRare,en-math/SpellMath
|
||||
- How about making suggestions? Use an external program like aspell?
|
||||
Or include the myspell suggestion code in Vim?
|
||||
- Some word lists are inefficient. Remove affixes from a word when it
|
||||
results in another basic word.
|
||||
- References MySpell library (in OpenOffice.org).
|
||||
- References: MySpell library (in OpenOffice.org).
|
||||
http://spellchecker.mozdev.org/source.html
|
||||
http://whiteboard.openoffice.org/source/browse/whiteboard/lingucomponent/source/spellcheck/myspell/
|
||||
author: Kevin Hendricks <kevin.hendricks@sympatico.ca>
|
||||
- Alternative: use aspell library.
|
||||
ispell is replaced by aspell, thus forget about ispell.
|
||||
- More complicated: Regions with different languages? E.g. comments in
|
||||
English, strings in German (po file).
|
||||
- Commands required:
|
||||
@ -136,11 +138,6 @@ PLANNED FOR VERSION 7.0:
|
||||
items.
|
||||
- Install spell files with src/main.aap.
|
||||
Alternatives using ispell or aspell:
|
||||
8 Add spell checking. Use "ispell -a" somehow.
|
||||
~/vim/patches/wm_vim-5_4d.zip can be used as an example (includes
|
||||
ispell inside Vim). Gautam Iyer has an example with "aspell".
|
||||
Patch from Marcin Dalecki, uses pipe to aspell.
|
||||
|
||||
|
||||
- REFACTORING: The main() function is very long. Move parts to separate
|
||||
functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 May 31
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Jun 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -149,7 +149,8 @@ The "guisp" color can be used to give it a color different from foreground and
|
||||
background.
|
||||
The number of possible different highlight attributes was raised from about
|
||||
220 to over 30000. This allows for the attributes of spelling to be combined
|
||||
with syntax highlighting attributes.
|
||||
with syntax highlighting attributes. This is also used for syntax
|
||||
highlighting.
|
||||
|
||||
Much more info here: |spell|.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user