# HG changeset patch # User vimboss # Date 1141251151 0 # Node ID c78d973dce9e0456b96725f55b853ecbe4ebda96 # Parent 2af8de31a3a8e482aa324ee1193e807d1d5d3dbe updated for version 7.0211 diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 28 +*todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,26 +30,27 @@ be worked on, but only if you sponsor Vi *known-bugs* -------------------- Known bugs and current work ----------------------- -Gcc 4 gives more warnings for uninitialized vars. - -Ignore "j" at hit-enter prompt? "k" already works differently. +Test58 and test59: also test with NOSPLITSUGS? Crash with X command server (Ciaran McCreesh). Ctags still hasn't included the patch. Darren is looking for someone to do -maintanance. +maintanance. Is there another solution? spelling: - Also use the spelling dictionary for dictionary completion. When 'dictionary' is empty and/or when "kspell" is in 'complete'. +- Using KEEPCASE flag still allows all-upper word, docs say it doesn't. + Don't allow it, because there is no other way to do this. - Use runtime/cleanadd script to cleanup .add files. When to invoke it? After deleting a word with "zw" and some timestamp difference perhaps? Store it as spell/cleanadd.vim. -- suggestion for "KG" to "kg" when it's keepcase. -- Using KEEPCASE flag still allows all-upper word, docs say it doesn't. - Don't allow it, because there is no other way to do this. -- Implement NOSUGGEST flag (used for obscene words). -- Implement NOSPLITSUGS. +- Have "zg" and "zw" report the file that was modified. (Marvin Renich) +- Add a command like "zg" that selects one of the files in 'spellfile'. +- Add a "zug" command that undoes "zg"? Deletes the good word instead of + adding a bad word like "zw" would. Use "zuw" to undo "zw"? (Antonio + Colombo) + - Rename COMPOUNDFLAGS to COMPOUNDPATTERN or COMPOUNDRULE? Hunspell now uses COMPOUND with a count. - Check out Hunspell 1.1.3. @@ -69,18 +70,9 @@ spelling: Check Myspell and Aspell if they also work this way. Thus a word + suffix needs a flag that it can't be used with a following compound, and word + prefix can't be after another word in a compound. -- Implement COMPOUNDFORBIDFLAG. +- Implement COMPOUNDFORBIDFLAG . - Support breakpoint character · 0xb7 and ignore it? Makes it possible to use same wordlist for hyphenation. -8 Alternate Dutch word list at www.nederlandsewoorden.nl (use script to - obtain). But new Myspell wordlist will come (Hagen) -- Finding suggestions with sound folding is slow. Somehow store the - sound-folded words and link to the words it comes from? -- Have "zg" and "zw" report the file that was modified. (Marvin Renich) -- Add a command like "zg" that selects one of the files 'spellfile'. -- Add a "zug" command that undoes "zg"? Deletes the good word instead of - adding a bad word like "zw" would. Use "zuw" to undo "zw"? (Antonio - Colombo) Is it possible to keep the command-line window open? Would actually work like closing it, executing the command and re-opening it (at the same position). @@ -1352,8 +1344,6 @@ 8 tab pages in the session file, if "t 8 :tabmove +N move tab page N pages forward 8 :tabmove -N move tab page N pages backward 7 :tabdup duplicate the tab with all its windows. -6 :tab ball tab page for each buffer -6 :tab all tab page for each argument 7 Option to put tab line at the left or right? Need an option to specify its witdh. It's like a separate window with ":tabs" output. 7 Add local variables for each tab page? @@ -1363,8 +1353,7 @@ 7 Add local highlighting for each tab Spell checking: -9 Work together with OpenOffice.org to update the wordlists. (Adri Verhoef, - Aad Nales) Setup vim-spell maillist? +- suggestion for "KG" to "kg" when it's keepcase. - Compound word is accepted if nr of words is <= COMPOUNDMAX OR nr of syllables <= COMPOUNDSYLMAX. Specify using AND in the affix file? - COMPOUNDMAX -> COMPOUNDWORDMAX? @@ -1381,6 +1370,8 @@ 9 Work together with OpenOffice.org to - PSEUDOROOT == NEEDAFFIX - COMPOUNDROOT -> COMPOUNDED? For a word that already is a compound word Or use COMPOUNDED2, COMPOUNDED3, etc. +8 Alternate Dutch word list at www.nederlandsewoorden.nl (use script to + obtain). But new Myspell wordlist will come (Hagen) - CIRCUMFIX: when a word uses a prefix marked with the CIRCUMFIX flag, then the word must also have a suffix marked with the CIRCUMFIX flag. It's a bit primitive, since only one flag is used, which doesn't allow matching diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt --- a/runtime/doc/version7.txt +++ b/runtime/doc/version7.txt @@ -1,4 +1,4 @@ -*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 28 +*version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 01 VIM REFERENCE MANUAL by Bram Moolenaar @@ -241,7 +241,11 @@ When moving the cursor through the text matching paren can be highlighted. This uses the new |CursorMoved| autocommand event. -See |pi_paren.txt| for more information. +See |matchparen| for more information. + +The plugin uses the |:match| command. It now supports three match patterns. +The plugin uses the third one. The first one is for the user and the second +one can be used by another plugin. Translated manual pages *new-manpage-trans* @@ -678,6 +682,8 @@ VHDL indent file (Gerald Lai) MGL syntax file. (Gero Kuhlmann) +rd syntax file. (Johannes Ranke) + New Keymaps: ~ Sinhala (Sri Lanka) (Harshula Jayasuriya) diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -13412,8 +13412,8 @@ do_searchpair(spat, mpat, epat, dir, ski save_cursor = curwin->w_cursor; pos = curwin->w_cursor; - firstpos.lnum = 0; - foundpos.lnum = 0; + clearpos(&firstpos); + clearpos(&foundpos); pat = pat3; for (;;) { @@ -15582,9 +15582,9 @@ var2fpos(varp, lnum) typval_T *varp; int lnum; /* TRUE when $ is last line */ { - char_u *name; + char_u *name; static pos_T pos; - pos_T *pp; + pos_T *pp; /* Argument can be [lnum, col]. */ if (varp->v_type == VAR_LIST) diff --git a/src/ex_cmds.h b/src/ex_cmds.h --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -582,7 +582,7 @@ EX(CMD_mapclear, "mapclear", ex_mapclear EX(CMD_marks, "marks", do_marks, EXTRA|TRLBAR|CMDWIN), EX(CMD_match, "match", ex_match, - EXTRA|CMDWIN), + RANGE|NOTADR|EXTRA|CMDWIN), EX(CMD_menu, "menu", ex_menu, RANGE|NOTADR|ZEROR|BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN), EX(CMD_menutranslate, "menutranslate", ex_menutranslate, diff --git a/src/menu.c b/src/menu.c --- a/src/menu.c +++ b/src/menu.c @@ -2146,6 +2146,9 @@ ex_emenu(eap) curwin->w_cursor.col = 1; tpos.lnum = eap->line2; tpos.col = MAXCOL; +#ifdef FEAT_VIRTUALEDIT + tpos.coladd = 0; +#endif } /* Activate visual mode */ diff --git a/src/testdir/test58.in b/src/testdir/test58.in --- a/src/testdir/test58.in +++ b/src/testdir/test58.in @@ -117,7 +117,7 @@ KEP = RAR ? BAD ! -NOSPLITSUGS +#NOSPLITSUGS PFX I N 1 PFX I 0 in . @@ -183,7 +183,7 @@ KEP = RAR ? BAD ! -NOSPLITSUGS +#NOSPLITSUGS PFX I N 1 PFX I 0 in . @@ -340,7 +340,7 @@ KEP = RAR ? BAD ! -NOSPLITSUGS +#NOSPLITSUGS PFX I N 1 PFX I 0 in .