summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2006-03-01 22:12:31 +0000
committervimboss <devnull@localhost>2006-03-01 22:12:31 +0000
commitca9099acdc881dba15252aaad0f1e539fa36a37b (patch)
treedd8a610d7ff2b905b90e92aaacc2c9d670696c8b
parentb6fece131bb1983bfeded71e75bafc5570cf0270 (diff)
downloadvim-ca9099acdc881dba15252aaad0f1e539fa36a37b.tar.gz
updated for version 7.0211v7.0211v7-0211
-rw-r--r--runtime/doc/todo.txt39
-rw-r--r--runtime/doc/version7.txt10
-rw-r--r--src/eval.c8
-rw-r--r--src/ex_cmds.h2
-rw-r--r--src/menu.c3
-rw-r--r--src/testdir/test58.in6
6 files changed, 34 insertions, 34 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index d8979844..8d5c4f75 100644
--- 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 Vim development. See |sponsor|.
*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 @@ Tab pages:
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 @@ Tab pages:
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 @@ Spell checking:
- 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
index 324c85f0..5ca2c212 100644
--- 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 and it is on a paren, then the
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
index d1e2b19e..71a8dc3c 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -13412,8 +13412,8 @@ do_searchpair(spat, mpat, epat, dir, skip, flags, match_pos, lnum_stop)
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
index 9dcf0d55..74aaf4ef 100644
--- 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
index 088c822d..e30ac18e 100644
--- 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
index dacefd43..2c81ade2 100644
--- 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 .