changeset 821:a2b128f7d705 v7.0c11

updated for version 7.0c11
author vimboss
date Thu, 06 Apr 2006 20:21:51 +0000
parents 57c7403f6599
children 45fad0f590d0
files runtime/doc/todo.txt runtime/doc/version7.txt runtime/syntax/help.vim src/ex_cmds.c src/ex_cmds.h
diffstat 5 files changed, 29 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.0c.  Last change: 2006 Apr 05
+*todo.txt*      For Vim version 7.0c.  Last change: 2006 Apr 06
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -31,17 +31,13 @@ be worked on, but only if you sponsor Vi
 -------------------- Known bugs and current work -----------------------
 
 New Hungarian dictionary. (Laci Nemeth)
--   Support flags on a suffix used for second level affixes.
-    The flags may also be used for compounding.  Default is an OR
-    mechanism with the flags of the word.
-    Adding "compset" flag on the affixes means the compound flags of the word
-    are not used?
-
--   implement use of CHECKCOMPOUND* flags, <compoptions> in .spl file
-
+-   implement use of <compoptions> in .spl file:
+-   implement CHECKCOMPOUNDREP: when a compound word seems to be OK apply REP
+    items and theck if the result is a valid word.
+-   implement CHECKCOMPOUNDDUP
+-   implement CHECKCOMPOUNDTRIPLE
 -   Add CHECKCOMPOUNDCASE: when compounding make leading capital lower case.
     How is it supposed to work?
-
 -   implement using CHECKCOMPOUNDPATTERN: match words with sl_comppat[].
 
 Obey 'switchbuf' "useopen" value for windows in other tabs, e.g. for :sbuffer.
@@ -1113,6 +1109,8 @@ Spell checking:
 -   Add a command the repeats ]s and z=, showing the misspelled word in its
     context.  Thus to spell-check a whole file.
 -   suggestion for "KG" to "kg" when it's keepcase.
+-   For flags on affixes: Use a "AFFCOMPSET" flag; means the compound flags of
+    the word are not used.
 -   Support breakpoint character ? 0xb7 and ignore it?  Makes it possible to
     use same wordlist for hyphenation.
 -   Compound word is accepted if nr of words is <= COMPOUNDWORDMAX OR nr of
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt*  For Vim version 7.0c.  Last change: 2006 Apr 05
+*version7.txt*  For Vim version 7.0c.  Last change: 2006 Apr 06
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2385,4 +2385,13 @@ to move to the right.
 When a line wraps, 'cursorcolumn' was never displayed past the end of the
 line.
 
+'autochdir' was only available when compiled with NetBeans and GUI.  Now it's
+a separate feature, also available in the "big" version.
+
+Added CTRL-W gf: open file under cursor in new tab page.
+
+When using the menu in the tab pages line, "New Tab" opens the new tab before
+where the click was.  Beyond the labels the new tab appears at the end instead
+of after the current tab page.
+
  vim:tw=78:ts=8:ft=help:norl:
--- a/runtime/syntax/help.vim
+++ b/runtime/syntax/help.vim
@@ -1,14 +1,14 @@
 " Vim syntax file
 " Language:	Vim help file
 " Maintainer:	Bram Moolenaar (Bram@vim.org)
-" Last Change:	2006 Mar 29
+" Last Change:	2006 Apr 06
 
 " Quit when a (custom) syntax file was already loaded
 if exists("b:current_syntax")
   finish
 endif
 
-syn match helpHeadline		"^[-A-Z ]\+[ \t]\+\*"me=e-1
+syn match helpHeadline		"^[-A-Z .]\+[ \t]\+\*"me=e-1
 syn match helpSectionDelim	"^=\{3,}.*===$"
 syn match helpSectionDelim	"^-\{3,}.*--$"
 syn region helpExample		matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<"
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3485,7 +3485,7 @@ do_ecmd(fnum, ffname, sfname, eap, newln
 	foldUpdateAll(curwin);
 #endif
 
-#if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG)
+#ifdef FEAT_AUTOCHDIR
 	if (p_acd && curbuf->b_ffname != NULL
 				     && vim_chdirfile(curbuf->b_ffname) == OK)
 	    shorten_fnames(TRUE);
@@ -3656,12 +3656,14 @@ do_ecmd(fnum, ffname, sfname, eap, newln
     if (p_im)
 	need_start_insertmode = TRUE;
 
-#if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG)
+#ifdef FEAT_AUTOCHDIR
     /* Change directories when the acd option is set on. */
     if (p_acd && curbuf->b_ffname != NULL
 				     && vim_chdirfile(curbuf->b_ffname) == OK)
 	shorten_fnames(TRUE);
-
+#endif
+
+#if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG)
     if (gui.in_use && curbuf->b_ffname != NULL)
     {
 # ifdef FEAT_SUN_WORKSHOP
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -914,19 +914,19 @@ EX(CMD_tabclose,	"tabclose",	ex_tabclose
 EX(CMD_tabdo,		"tabdo",	ex_listdo,
 			NEEDARG|EXTRA|NOTRLCOM),
 EX(CMD_tabedit,		"tabedit",	ex_splitview,
-			BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR),
+			BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|TRLBAR),
 EX(CMD_tabfind,		"tabfind",	ex_splitview,
-			BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|NEEDARG|TRLBAR),
+			BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|NEEDARG|TRLBAR),
 EX(CMD_tabfirst,	"tabfirst",	ex_tabnext,
 			TRLBAR),
 EX(CMD_tabmove,		"tabmove",	ex_tabmove,
-			RANGE|NOTADR|COUNT|TRLBAR|ZEROR),
+			RANGE|NOTADR|ZEROR|COUNT|TRLBAR|ZEROR),
 EX(CMD_tablast,		"tablast",	ex_tabnext,
 			TRLBAR),
 EX(CMD_tabnext,		"tabnext",	ex_tabnext,
 			RANGE|NOTADR|COUNT|TRLBAR),
 EX(CMD_tabnew,		"tabnew",	ex_splitview,
-			BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR),
+			BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|TRLBAR),
 EX(CMD_tabonly,		"tabonly",	ex_tabonly,
 			BANG|TRLBAR|CMDWIN),
 EX(CMD_tabprevious,	"tabprevious",	ex_tabnext,