Mirror of the Vim source from https://github.com/vim/vim
Revisão | 3ee6db0a746e990164e288fed6344e519a5bd1d2 (tree) |
---|---|
Hora | 2005-06-09 07:07:37 |
Autor | vimboss |
Commiter | vimboss |
updated for version 7.0083
@@ -1,4 +1,4 @@ | ||
1 | -*todo.txt* For Vim version 7.0aa. Last change: 2005 Jun 07 | |
1 | +*todo.txt* For Vim version 7.0aa. Last change: 2005 Jun 08 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -30,6 +30,8 @@ | ||
30 | 30 | *known-bugs* |
31 | 31 | -------------------- Known bugs and current work ----------------------- |
32 | 32 | |
33 | +New menu file doesn't work with older vim. exists("spell") doesn't work? | |
34 | + | |
33 | 35 | Add extra list of file locations. Can be used with: |
34 | 36 | :ltag list of matching tags, like :tselect |
35 | 37 |
@@ -91,35 +93,30 @@ | ||
91 | 93 | PLANNED FOR VERSION 7.0: |
92 | 94 | |
93 | 95 | - Add SPELLCHECKER, with support for many languages. |
94 | - - Use "engspchk" from Charles Campbell for ideas (commands, rare words). | |
95 | 96 | - Spell checking code todo's: |
96 | - - Is "-" to be considered a word character? "last-minute". | |
97 | - No, in Dutch it can be added optionally. Then make English | |
98 | - dictionaries consistent. | |
99 | - - Implement compound words? | |
100 | - - When @Spell and @NoSpell are both used only do spell checking for | |
101 | - @Spell items, not where they both appear. Useful for Perl pod. | |
97 | + - How about making suggestions? Use an external program like aspell? | |
98 | + Or include the myspell suggestion code in Vim? | |
99 | + - Support for approximate-regexps will help with finding similar words | |
100 | + (agrep http://www.tgries.de/agrep/). | |
102 | 101 | - Make "en-rare" spell file. |
103 | 102 | Convention: use en_US (language_region) and en-rare (language-field) |
104 | 103 | Add hl groups to 'spelllang'? |
105 | 104 | :set spelllang=en_us,en-rare/SpellRare,en-math/SpellMath |
106 | - - How about making suggestions? Use an external program like aspell? | |
107 | - Or include the myspell suggestion code in Vim? | |
105 | + - Use "engspchk" from Charles Campbell for ideas (commands, rare words). | |
108 | 106 | - References: MySpell library (in OpenOffice.org). |
109 | 107 | http://spellchecker.mozdev.org/source.html |
110 | 108 | http://whiteboard.openoffice.org/source/browse/whiteboard/lingucomponent/source/spellcheck/myspell/ |
111 | 109 | author: Kevin Hendricks <kevin.hendricks@sympatico.ca> |
112 | - - More complicated: Regions with different languages? E.g. comments in | |
113 | - English, strings in German (po file). | |
114 | 110 | - Update option window for 'verbosefile', 'spell', 'spellfile' and |
115 | 111 | 'spelllang'. |
116 | 112 | - Distribution: Need wordlists for many languages; "language pack" |
117 | 113 | Put them on the ftp site, ready to download. Include README for |
118 | 114 | copyrights. |
115 | + - More complicated: Regions with different languages? E.g. comments in | |
116 | + English, strings in German (po file). | |
119 | 117 | - Work together with OpenOffice.org to update the wordlists. (Adri |
120 | 118 | Verhoef, Aad Nales) Setup vim-spell maillist? |
121 | - - Support for approximate-regexps will help with finding similar words | |
122 | - (agrep http://www.tgries.de/agrep/). | |
119 | + - Insert mode completion mechanism that uses the spell word lists. | |
123 | 120 | - Charles Campbell asks for method to add "contained" groups to |
124 | 121 | existing syntax items (to add @Spell). |
125 | 122 | Add ":syntax contains {pattern} add=@Spell" command? A bit like ":syn |
@@ -128,6 +125,12 @@ | ||
128 | 125 | - Install spell files with src/main.aap. |
129 | 126 | - Alternate Dutch word list at www.nederlandsewoorden.nl (use script to |
130 | 127 | obtain). |
128 | + - The English dictionaries for different regions are not consistent in | |
129 | + their use of words with a dash. | |
130 | + Later: | |
131 | + - Implement compound words when it works for Myspell. Current idea has | |
132 | + the problem that "foo/X" always allows "foofoo", there is no way to | |
133 | + specify a word can only be at the start or end. | |
131 | 134 | |
132 | 135 | - REFACTORING: The main() function is very long. Move parts to separate |
133 | 136 | functions, especially loops. Ideas from Walter Briscoe (2003 Apr 3, 2004 |
@@ -433,6 +436,8 @@ | ||
433 | 436 | 7 The ":undo" command works differently in Ex mode. Edit a file, make some |
434 | 437 | changes, "Q", "undo" and _all_ changes are undone, like the ":visual" |
435 | 438 | command was one command. |
439 | + On the other hand, an ":undo" command in an Ex script only undoes the last | |
440 | + change (e.g., use two :append commands, then :undo). | |
436 | 441 | 7 The ":map" command output overwrites the command. Perhaps it should keep |
437 | 442 | the ":map" when it's used without arguments? |
438 | 443 | 7 CTRL-L is not the end of a section? It is for Posix! Make it an option. |
@@ -0,0 +1,6 @@ | ||
1 | +" Vim indent file | |
2 | +" Language: Scheme | |
3 | +" Maintainer: Sergey Khorev <sergey.khorev@gmail.com> | |
4 | +" Last Change: 2005 Jun 08 | |
5 | + | |
6 | +runtime! indent/lisp.vim |
@@ -3605,7 +3605,8 @@ | ||
3605 | 3605 | break; |
3606 | 3606 | } |
3607 | 3607 | if ((p[0] == '.' && p[1] == NUL) |
3608 | - || (!did_undo && u_save(lnum, lnum + 1) == FAIL)) | |
3608 | + || (!did_undo && u_save(lnum, lnum + 1 + (empty ? 1 : 0)) | |
3609 | + == FAIL)) | |
3609 | 3610 | { |
3610 | 3611 | vim_free(theline); |
3611 | 3612 | break; |