diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-01 00:01:28 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-01 00:01:28 +0000 |
commit | e224ffa156ce968d3e823fb8aa77d93812ca4092 (patch) | |
tree | 3b2339f73910b010487b90c7f12ed960c562e46e /runtime/doc | |
parent | 03f4855fc252dd389622715dd56cbc49423057ba (diff) | |
download | vim-git-e224ffa156ce968d3e823fb8aa77d93812ca4092.tar.gz |
updated for version 7.0210v7.0210
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 8 | ||||
-rw-r--r-- | runtime/doc/options.txt | 4 | ||||
-rw-r--r-- | runtime/doc/tags | 4 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 17 | ||||
-rw-r--r-- | runtime/doc/undo.txt | 36 | ||||
-rw-r--r-- | runtime/doc/usr_31.txt | 4 | ||||
-rw-r--r-- | runtime/doc/version7.txt | 20 |
7 files changed, 66 insertions, 27 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index a1c751d08..f628f225a 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0aa. Last change: 2006 Feb 27 +*eval.txt* For Vim version 7.0aa. Last change: 2006 Feb 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3375,11 +3375,11 @@ match({expr}, {pat}[, {start}[, {count}]]) *match()* {start} bytes later, thus "^" will match there. For a String, if {start} < 0, it will be set to 0. For a list the index is counted from the end. - If {start} is out of range (> strlen({expr} for a String or - > len({expr} for a |List|) -1 is returned. + If {start} is out of range ({start} > strlen({expr}) for a + String or {start} > len({expr}) for a |List|) -1 is returned. When {count} is given use the {count}'th match. When a match - is found in a String the search for the next one starts on + is found in a String the search for the next one starts one character further. Thus this example results in 1: > echo match("testing", "..", 0, 2) < In a |List| the search continues in the next item. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index b17fba95e..72ab3e3d9 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.0aa. Last change: 2006 Feb 27 +*options.txt* For Vim version 7.0aa. Last change: 2006 Feb 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3252,7 +3252,7 @@ A jump table for the options with a short description can be found at |Q_op|. 'c' Use console dialogs instead of popup dialogs for simple choices. - 'e' Add tab pages when indicated with 'showtabpages'. + 'e' Add tab pages when indicated with 'showtabline'. 'guitablabel' can be used to change the text in the labels. When 'e' is missing a non-GUI tab pages line may be used. diff --git a/runtime/doc/tags b/runtime/doc/tags index 3da16a4f3..59f240781 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -2710,6 +2710,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME* :una map.txt /*:una* :unabbreviate map.txt /*:unabbreviate* :undo undo.txt /*:undo* +:undoj undo.txt /*:undoj* +:undojoin undo.txt /*:undojoin* :unh windows.txt /*:unh* :unhide windows.txt /*:unhide* :unl eval.txt /*:unl* @@ -5471,6 +5473,7 @@ hebrew hebrew.txt /*hebrew* hebrew.txt hebrew.txt /*hebrew.txt* help various.txt /*help* help-context help.txt /*help-context* +help-tags tags 1 help-translated various.txt /*help-translated* help-xterm-window various.txt /*help-xterm-window* help.txt help.txt /*help.txt* @@ -7132,6 +7135,7 @@ uganda.txt uganda.txt /*uganda.txt* undercurl syntax.txt /*undercurl* underline syntax.txt /*underline* undo undo.txt /*undo* +undo-blocks undo.txt /*undo-blocks* undo-commands undo.txt /*undo-commands* undo-redo undo.txt /*undo-redo* undo-remarks undo.txt /*undo-remarks* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index efee16c9f..d89798442 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 27 +*todo.txt* For Vim version 7.0aa. Last change: 2006 Feb 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,19 +30,15 @@ be worked on, but only if you sponsor Vim development. See |sponsor|. *known-bugs* -------------------- Known bugs and current work ----------------------- -test 49 fails because of the function line numbering now taking care of -continuation lines. +Gcc 4 gives more warnings for uninitialized vars. + +Ignore "j" at hit-enter prompt? "k" already works differently. Crash with X command server (Ciaran McCreesh). Ctags still hasn't included the patch. Darren is looking for someone to do maintanance. -"fsutil hardlink" can create a hard link on an NTFS file system. (Daniel -Einspanjer) What library function can detect that? -Win32: use GetFileInformationByHandle() to detect hard links on NTFS? -(George Reilly) - spelling: - Also use the spelling dictionary for dictionary completion. When 'dictionary' is empty and/or when "kspell" is in 'complete'. @@ -89,9 +85,6 @@ spelling: 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). -":keepundo": add change to existing undo chain, so that one "u" undoes them -all. (Gautam Iyer) - Mac unicode patch (Da Woon Jung): - configuration option for platform: i386, ppc or both. Use __LITTLE_ENDIAN__ to test for current platform. @@ -249,7 +242,7 @@ Omni completion: to avoid a performance penalty (esp. for string options)? 8 Support four composing/combining characters, needed for Hebrew. (Ron Aaron) Add the 'maxcombining' option to set the nr. of composing characters. - At the same time support more colors (use two bytes when necessary). + At the same time support 32 bit Unicode characters? 8 "ga" should show all composing characters, also if there are more than 2. 8 Searching for a composing character by itself should work. Perhaps "." with a composing char should work too. diff --git a/runtime/doc/undo.txt b/runtime/doc/undo.txt index 433fc759a..bdb7ffbf3 100644 --- a/runtime/doc/undo.txt +++ b/runtime/doc/undo.txt @@ -1,4 +1,4 @@ -*undo.txt* For Vim version 7.0aa. Last change: 2003 Oct 21 +*undo.txt* For Vim version 7.0aa. Last change: 2006 Feb 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -10,7 +10,8 @@ The basics are explained in section |02.5| of the user manual. 1. Undo and redo commands |undo-commands| 2. Two ways of undo |undo-two-ways| -3. Remarks about undo |undo-remarks| +3. Undo blocks |undo-blocks| +4. Remarks about undo |undo-remarks| ============================================================================== 1. Undo and redo commands *undo-commands* @@ -72,7 +73,36 @@ Rationale: Nvi uses the "." command instead of CTRL-R. Unfortunately, this words, in Nvi it does nothing. ============================================================================== -3. Remarks about undo *undo-remarks* +3. Undo blocks *undo-blocks* + +One undo command normally undoes a typed command, no matter how many changes +that command makes. This sequence of undo-able changes forms an undo block. +Thus if the typed key(s) call a function, all the commands in the function are +undone together. + +If you want to write a function or script that doesn't create a new undoable +change but joins in with the previous change use this command: + + *:undoj* *:undojoin* +:undoj[oin] Join further changes with the previous undo block. + Warning: Use with care, it may prevent the user from + properly undoing changes. + {not in Vi} + +This is most useful when you need to prompt the user halfway a change. For +example in a function that calls |getchar()|. Do make sure that there was a +related change before this that you must join with. + +This doesn't work by itself, because the next key press will start a new +change again. But you can do something like this: > + + :undojoin | delete + +After this an "u" command will undo the delete command and the previous +change. + +============================================================================== +4. Remarks about undo *undo-remarks* The number of changes that are remembered is set with the 'undolevels' option. If it is zero, the Vi-compatible way is always used. If it is negative no diff --git a/runtime/doc/usr_31.txt b/runtime/doc/usr_31.txt index a836b0442..d7f2138cf 100644 --- a/runtime/doc/usr_31.txt +++ b/runtime/doc/usr_31.txt @@ -1,4 +1,4 @@ -*usr_31.txt* For Vim version 7.0aa. Last change: 2003 Oct 21 +*usr_31.txt* For Vim version 7.0aa. Last change: 2006 Feb 28 VIM USER MANUAL - by Bram Moolenaar @@ -76,7 +76,7 @@ Will start the browser in "/usr". When you are not using the GUI version, you could use the file explorer window to select files like in a file browser. However, this doesn't work for the -":browse" command. See |file-explorer|. +":browse" command. See |netrw-browse|. ============================================================================== *31.2* Confirmation diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt index 065cfaa92..324c85f0d 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 27 +*version7.txt* For Vim version 7.0aa. Last change: 2006 Feb 28 VIM REFERENCE MANUAL by Bram Moolenaar @@ -132,6 +132,12 @@ compatibility problems and because "SS" can't be changed back to a sharp s. that could be the function argument without type. Now it finds the position where the type is given. +The line continuation in functions was not taken into account, line numbers in +errors were logical lines, not lines in the sourced file. That made it +difficult to locate errors. Now the line number in the sourced file is +reported, relative to the function start. This also means that line numbers +for ":breakadd func" are different. + ============================================================================== NEW FEATURES *new-7* @@ -510,6 +516,8 @@ Win32: The ":winpos" command now also works in the console. (Vipin Aravind) |:lcscope| Like |:cscope| but use the location list. |:ltag| Jump to a tag and add matching tags to a location list. +|:undojoin| Join a change with the previous undo block. + Ex command modifiers: ~ @@ -836,6 +844,10 @@ list. Win32: When libintl.dll supports bind_textdomain_codeset(), use it. (NAKADAIRA Yukihiro) +Win32: Vim was not aware of hard links on NTFS file systems. These are +detected now for when 'backupcopy' is "auto". Also fixed a bogus "file has +been changed since reading it" error for links. + When foldtext() finds no text after removing the comment leader, use the second line of the fold. Helps for C-style /* */ comments where the first line is just "/*". @@ -1787,8 +1799,8 @@ GUI: The "Replace All" button didn't handle backslashes in the replacement in the same way as "Replace". Escape backslashes so that they are taken literally. -An error in a function reported a line number that doesn't take line -continuation into account. Now store a NULL for continuation lines, so that -the index is equal to the line number in the sourced file. +When using Select mode from Insert mode and typing a key, causing lines to be +deleted and a message displayed, delayed the effect of inserting the key. +Now overwrite the message without delay. vim:tw=78:ts=8:ft=help:norl: |