diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-22 23:30:12 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-22 23:30:12 +0000 |
commit | 33aec765bdc2096f123c5a4c61f8948a61aa9ef5 (patch) | |
tree | 858b75b899a2ed6cf6e5543a1f29201c04650bd4 /runtime | |
parent | 71fe80dddd436b36de5d814c1165a3e56b1f0974 (diff) | |
download | vim-git-33aec765bdc2096f123c5a4c61f8948a61aa9ef5.tar.gz |
updated for version 7.0185v7.0185
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/pattern.txt | 23 | ||||
-rw-r--r-- | runtime/doc/spell.txt | 17 | ||||
-rw-r--r-- | runtime/doc/todo.txt | 31 | ||||
-rw-r--r-- | runtime/doc/version7.txt | 11 |
4 files changed, 45 insertions, 37 deletions
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 191a8d587..ca6431e19 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 7.0aa. Last change: 2006 Jan 05 +*pattern.txt* For Vim version 7.0aa. Last change: 2006 Jan 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -394,7 +394,9 @@ More explanation and examples below, follow the links. |/\ze| \ze \ze anything, sets end of match |/\%^| \%^ \%^ beginning of file |/zero-width| *E71* |/\%$| \%$ \%$ end of file |/zero-width| +|/\%V| \%V \%V inside Visual area |/zero-width| |/\%#| \%# \%# cursor position |/zero-width| +|/\%'m| \%'m \%'m mark m position |/zero-width| |/\%l| \%23l \%23l in line 23 |/zero-width| |/\%c| \%23c \%23c in column 23 |/zero-width| |/\%v| \%23v \%23v in virtual column 23 |/zero-width| @@ -788,6 +790,11 @@ $ At end of pattern or in front of "\|" or "\)" ("|" or ")" after "\v"): position after the first "VIM". Searching from the end of the file backwards is easier! + */\%V* +\%V Match inside the Visual area. When Visual mode has already been + stopped match in the area that |gv| would reselect. + Only works for the current buffer. + */\%#* *cursor-position* \%# Matches with the cursor position. Only works when matching in a buffer displayed in a window. {not in Vi} @@ -802,6 +809,20 @@ $ At end of pattern or in front of "\|" or "\)" ("|" or ")" after "\v"): < When 'hlsearch' is set and you move the cursor around and make changes this will clearly show when the match is updated or not. + */\%'m* */\%<'m* */\%>'m* +\%'m Matches with the position of mark m. +\%<'m Matches before the position of mark m. +\%>'m Matches after the position of mark m. + Example, to highlight the text from mark 's to 'e: > + /.\%>'s.*\%<'e.. +< Note that two dots are required to include mark 'e in the match. That + is because "\%<'e" matches at the character before the 'e mark, and + since it's a |/zero-width| match it doesn't include that character. + {not in Vi} + WARNING: When the mark is moved after the pattern was used, the result + becomes invalid. Vim doesn't automatically update the matches. + Similar to moving the cursor for |\%#|. + */\%l* */\%>l* */\%<l* \%23l Matches in a specific line. \%<23l Matches above a specific line (lower line number). diff --git a/runtime/doc/spell.txt b/runtime/doc/spell.txt index 56365c7ae..6393565a9 100644 --- a/runtime/doc/spell.txt +++ b/runtime/doc/spell.txt @@ -1,4 +1,4 @@ -*spell.txt* For Vim version 7.0aa. Last change: 2006 Jan 13 +*spell.txt* For Vim version 7.0aa. Last change: 2006 Jan 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -995,16 +995,11 @@ word to start with an upper case letter. WORDS WITH A SLASH *spell-SLASH* The slash is used in the .dic file to separate the basic word from the affix -letters that can be used. Unfortunately, this means you cannot use a slash in -a word. Thus "TCP/IP" cannot be a word. To work around that you can define a -replacement character for the slash. Example: - - SLASH , ~ - -Now you can use "TCP,IP" to add the word "TCP/IP". - -Of course, the letter used should itself not appear in any word! The letter -must be ASCII, thus a single byte. +letters and other flags. Unfortunately, this means you cannot use a slash in +a word. Thus "TCP/IP" is not a word but "TCP with the flags "IP". To include +a slash in the word put a backslash before it: "TCP\/IP". In the rare case +you want to use a backslash inside a word you need to use two backslashes. +Any other use of the backslash is reserved for future expansion. KEEP-CASE WORDS *spell-KEEPCASE* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 6785f7621..01f88e83e 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 Jan 20 +*todo.txt* For Vim version 7.0aa. Last change: 2006 Jan 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -71,7 +71,6 @@ spelling: - Check out Hunspell 1.1.3. what does MAXNGRAMSUGS do? See announcement (Nemeth, 5 jan) - use "\/" instead of SLASH item? is COMPLEXPREFIXES necessary now that we have flags for affixes? - Look into hungarian dictionary: http://magyarispell.sourceforge.net/hu_HU-1.0.tar.gz @@ -100,26 +99,6 @@ spelling: adding a bad word like "zw" would. Use "zuw" to undo "zw"? (Antonio Colombo) -GTK: get an X error while exiting quickly after starting (running the tests). -Caused by new GTK library? - X Error: BadWindow (invalid Window parameter) 3 - -Support saving and restoring session for X windows? It should work to do -":mksession" and use "-S fname" for the restart command. The -gui_x11_wm_protocol_handler() already takes care of the rest. -global_event_filter() for GTK. - -Is it easy to have an item in a pattern that matches with a mark location? -Similar to |/\%>l| and |/\%c|. (Benji Fisher) - -Win32 installer: Default _vimrc contains absolute path to diff.exe. After -upgrading it becomes invalid. Fix it automatically somehow? Use $VIMRUNTIME -in the path instead of filling it the path? At least give a clear error -message. - -In diff mode deleting lines is very slow. E.g., when diffing two .po files -and then sourcing po/cleaup.vim. - 7 Add plugins for formatting. Should be able to make a choice depending on the language of a file (English/Korean/Japanese/etc.). Setting the 'langformat' option to "chinese" would load the @@ -139,8 +118,8 @@ Mac unicode patch (Da Woon Jung): Patch to add a few flags to search(). (Benji Fisher, Nov 29, doc update Dec 1) Also add search???() function that returns list with lnum and col. -Win32: Use the free downloadable compiler 7.1. Figure out how to do debugging -(with Agide?) and describe it. (George Reilly) +Win32: Use the free downloadable compiler 7.1 (2003). Figure out how to do +debugging (with Agide?) and describe it. (George Reilly) Try out using the free MS compiler and debugger, using Make_mvc.mak. Try using Visual C++ Express 2005. (Ilya Bobir Dec 20) Disadvantage: Annoying warning messages, requires ..._NO_DEPRECATE, this @@ -1445,6 +1424,10 @@ User Friendlier: 7 When Vim detects a file is being edited elsewhere and it's a gvim session of the same user it should offer a "Raise" button, so that the other gvim window can be displayed. (Eduard) +8 Support saving and restoring session for X windows? It should work to do + ":mksession" and use "-S fname" for the restart command. The + gui_x11_wm_protocol_handler() already takes care of the rest. + global_event_filter() for GTK. Spell checking: diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt index 8f71ee517..0dcc713c9 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 Jan 21 +*version7.txt* For Vim version 7.0aa. Last change: 2006 Jan 22 VIM REFERENCE MANUAL by Bram Moolenaar @@ -550,9 +550,15 @@ New items in search patterns: ~ |/\%U| \%U1234abcd search for character with 8 pos. hex number |/\]| [\U1234abcd] idem, in a colletion (The above partly by Ciaran McCreesh) + |/[[=| [[=a=]] an equivalence class (only for latin1 characters) |/[[.| [[.a.]] a collation element (only works with single char) +|/\%'m| \%'m match at mark m +|/\%<'m| \%<'m match before mark m +|/\%>'m| \%>'m match after mark m +|/\%V| \%V match in Visual area + Nesting |/multi| items no longer is an error when an empty match is possible. It is now possible to use \{0}, it matches the preceding atom zero times. Not @@ -1599,4 +1605,7 @@ the quickfix window to leave an unlisted "No Name" buffer behind every time. Win32: when using two screens of different size, setting 'lines' to a large value didn't fill the whole screen. (SungHyun Nam) +Win32 installer: The generated _vimrc contained an absolute path to diff.exe. +After upgrading it becomes invalid. Now use $VIMRUNTIME instead. + vim:tw=78:ts=8:ft=help:norl: |