From a3e6bc93d1a76e0619c27e462b75d8f94969f47d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 30 Jan 2013 14:18:00 +0100 Subject: Update runtime files. --- runtime/doc/cmdline.txt | 9 +- runtime/doc/eval.txt | 7 +- runtime/doc/help.txt | 12 +- runtime/doc/if_pyth.txt | 6 +- runtime/doc/insert.txt | 6 +- runtime/doc/options.txt | 13 +- runtime/doc/pattern.txt | 4 +- runtime/doc/syntax.txt | 11 +- runtime/doc/todo.txt | 97 ++++--- runtime/doc/various.txt | 18 +- runtime/indent/sqlanywhere.vim | 11 +- runtime/menu.vim | 4 +- runtime/syntax/c.vim | 10 +- runtime/syntax/php.vim | 3 +- src/po/de.po | 6 +- src/po/uk.cp1251.po | 608 ++++++++++++++++++++++++----------------- src/po/uk.po | 608 ++++++++++++++++++++++++----------------- 17 files changed, 847 insertions(+), 586 deletions(-) diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 0ed5cb3d3..c3627d409 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 7.3. Last change: 2012 Oct 11 +*cmdline.txt* For Vim version 7.3. Last change: 2013 Jan 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -714,10 +714,15 @@ three lines: > Visual Mode and Range *v_:* {Visual}: Starts a command-line with the Visual selected lines as a - range. The code ":'<,'>" is used for this range, which makes + range. The code `:'<,'>` is used for this range, which makes it possible to select a similar line from the command-line history for repeating a command on different Visually selected lines. + When Visual mode was already ended, a short way to use the + Visual area for a range is `:*`. This requires that "*" does + not appear in 'cpo', see |cpo-star|. Otherwise you will have + to type `:'<,'>` + ============================================================================== 5. Ex command-line flags *ex-flags* diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 7594ea980..9819d9bc9 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.3. Last change: 2012 Dec 05 +*eval.txt* For Vim version 7.3. Last change: 2013 Jan 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5943,8 +5943,9 @@ taglist({expr}) *taglist()* If there are no matching tags, then an empty list is returned. To get an exact tag match, the anchors '^' and '$' should be - used in {expr}. Refer to |tag-regexp| for more information - about the tag search regular expression pattern. + used in {expr}. This also make the function work faster. + Refer to |tag-regexp| for more information about the tag + search regular expression pattern. Refer to |'tags'| for information about how the tags file is located by Vim. Refer to |tags-file-format| for the format of diff --git a/runtime/doc/help.txt b/runtime/doc/help.txt index 4860eb2fc..bca336498 100644 --- a/runtime/doc/help.txt +++ b/runtime/doc/help.txt @@ -1,4 +1,4 @@ -*help.txt* For Vim version 7.3. Last change: 2010 Jul 20 +*help.txt* For Vim version 7.3. Last change: 2012 Dec 06 VIM - main help file k @@ -195,12 +195,12 @@ Remarks about specific systems ~ *standard-plugin-list* Standard plugins ~ |pi_getscript.txt| Downloading latest version of Vim scripts -|pi_gzip.txt| Reading and writing compressed files -|pi_netrw.txt| Reading and writing files over a network -|pi_paren.txt| Highlight matching parens -|pi_tar.txt| Tar file explorer +|pi_gzip.txt| Reading and writing compressed files +|pi_netrw.txt| Reading and writing files over a network +|pi_paren.txt| Highlight matching parens +|pi_tar.txt| Tar file explorer |pi_vimball.txt| Create a self-installing Vim script -|pi_zip.txt| Zip archive explorer +|pi_zip.txt| Zip archive explorer LOCAL ADDITIONS: *local-additions* diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index ec7d2396e..23b6b38ab 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 7.3. Last change: 2012 Sep 23 +*if_pyth.txt* For Vim version 7.3. Last change: 2013 Jan 30 VIM REFERENCE MANUAL by Paul Moore @@ -54,8 +54,8 @@ Example: > EOF endfunction < -Note: Python is very sensitive to the indenting. Also make sure the "class" -line and "EOF" do not have any indent. +Note: Python is very sensitive to the indenting. Make sure the "class" line +and "EOF" do not have any indent. *:pyfile* *:pyf* :[range]pyf[ile] {file} diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index bf020fd42..4db43418b 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1,4 +1,4 @@ -*insert.txt* For Vim version 7.3. Last change: 2012 Jul 10 +*insert.txt* For Vim version 7.3. Last change: 2013 Jan 09 VIM REFERENCE MANUAL by Bram Moolenaar @@ -380,7 +380,9 @@ The CTRL-O command sometimes has a side effect: If the cursor was beyond the end of the line, it will be put on the last character in the line. In mappings it's often better to use (first put an "x" in the text, will then always put the cursor on it). Or use CTRL-\ CTRL-O, but then -beware of the cursor possibly being beyond the end of the line. +beware of the cursor possibly being beyond the end of the line. Note that the +command following CTRL-\ CTRL-O can still move the cursor, it is not restored +to its original position. The CTRL-O command takes you to Normal mode. If you then use a command enter Insert mode again it normally doesn't nest. Thus when typing "aa" and diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index c3cc0871c..3beb2b0cf 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.3. Last change: 2012 Oct 21 +*options.txt* For Vim version 7.3. Last change: 2013 Jan 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3562,7 +3562,7 @@ A jump table for the options with a short description can be found at |Q_op|. Windows +multibyte only: *guifontwide_win_mbyte* - If set and vaild, 'guifontwide' is used for IME instead of 'guifont'. + If set and valid, 'guifontwide' is used for IME instead of 'guifont'. *'guiheadroom'* *'ghr'* 'guiheadroom' 'ghr' number (default 50) @@ -3824,7 +3824,8 @@ A jump table for the options with a short description can be found at |Q_op|. |hl-ModeMsg| M Mode (e.g., "-- INSERT --") |hl-LineNr| n line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. - |hl-CursorLineNr| N like n for when 'cursorline' is set. + |hl-CursorLineNr| N like n for when 'cursorline' or 'relativenumber' is + set. |hl-Question| r |hit-enter| prompt and yes/no questions |hl-StatusLine| s status line of current window |status-line| |hl-StatusLineNC| S status lines of not-current windows @@ -4717,8 +4718,10 @@ A jump table for the options with a short description can be found at |Q_op|. local to buffer {not in Vi} Characters that form pairs. The |%| command jumps from one to the - other. Currently only single byte character pairs are allowed, and - they must be different. The characters must be separated by a colon. + other. + Only character pairs are allowed that are different, thus you cannot + jump between two double quotes. + The characters must be separated by a colon. The pairs must be separated by a comma. Example for including '<' and '>' (HTML): > :set mps+=<:> diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 5c4a79020..6040ba88f 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 7.3. Last change: 2012 May 18 +*pattern.txt* For Vim version 7.3. Last change: 2013 Jan 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -993,6 +993,8 @@ x A single character, with no special meaning, matches itself [xyz] any 'x', 'y' or 'z' [a-zA-Z]$ any alphabetic character at the end of a line \c[a-z]$ same + [А-яЁё] Russian alphabet (with utf-8 and cp1251) + */[\n]* With "\_" prepended the collection also includes the end-of-line. The same can be done by including "\n" in the collection. The diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 5b565859e..b48307d01 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 7.3. Last change: 2012 Nov 28 +*syntax.txt* For Vim version 7.3. Last change: 2013 Jan 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3903,9 +3903,9 @@ External matches *:syn-ext-match* These extra regular expression items are available in region patterns: */\z(* */\z(\)* *E50* *E52* - \z(\) Marks the sub-expression as "external", meaning that it is can - be accessed from another pattern match. Currently only usable - in defining a syntax region start pattern. + \z(\) Marks the sub-expression as "external", meaning that it can be + accessed from another pattern match. Currently only usable in + defining a syntax region start pattern. */\z1* */\z2* */\z3* */\z4* */\z5* \z1 ... \z9 */\z6* */\z7* */\z8* */\z9* *E66* *E67* @@ -4592,7 +4592,8 @@ IncSearch 'incsearch' highlighting; also used for the text replaced with LineNr Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. *hl-CursorLineNr* -CursorLineNr Like LineNr when 'cursorline' is set for the cursor line. +CursorLineNr Like LineNr when 'cursorline' or 'relativenumber' is set for + the cursor line. *hl-MatchParen* MatchParen The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index 47dbce6dd..a4737ac96 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.3. Last change: 2012 Dec 05 +*todo.txt* For Vim version 7.3. Last change: 2013 Jan 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -34,9 +34,8 @@ not be repeated below, unless there is extra information. *known-bugs* -------------------- Known bugs and current work ----------------------- -On external command get the message: - SIGCHLD handler called (some thread has SIGCHLD unblocked) -From MzScheme +Several syntax file match "^\s*" which may get underlined if that's in the +highlight group. Add a "\zs" after it? Go through more coverity reports. @@ -53,30 +52,8 @@ The CompleteDone autocommand needs some info passed to it: - The word that was selected (empty if abandoned complete) - Type of completion: tag, omnifunc, user func. -Patch for matchit.vim. (Mike Morearty, 2012 Nov 28) - -Patch to fix that the QuitPre autocommand clears the quitmore flag. (Techlive -Zheng, 2012 Nov 28) - -":gundo" command: global undo. Undoes changes spread over multiple files in -the order they were made. Also ":gredo". Both with a count. Useful when -tests fail after making changes and you forgot in which files. - -Patch to make updating tabline faster. (Arseny Kapoulkine, 2012 Oct 3) -Also remove the "rc" variable. - -Patch to make "- register not always used. (Christian Brabandt, 2012 Nov 28) - -Crash with vimdiff. (Don Cruickshank, 2012 Sep 23) - -Patch to support subdirectories for help files. (Charles Campbell, 2012 Nov -21) - Patch for mzscheme. (Sergey Khorev, 2012 Nov 19) -What about ignoring SEGV? - -Win32: use 'guifontwide' for IME composition. (Taro Muraoka, 2012 Sep 30) -Update Oct 2. +Updated patch 2013 Jan 28. Patch to fix :s command with confirm and typing "a". (Christian Brabandt, 2012 Oct 28) @@ -88,24 +65,45 @@ Test files in archive in another message. Patch to make multibyte input work on Win32 console when codepage differs from 'encoding'. (Ken Takata, 2012 Sep 29) -It's possible to defined an input() function that overrides the built-in one. +Patch for building with Ruby and Cygwin. (Ken Takata, 2013 Jan 9) + +Patch to make 'relativenumber' show the current lnum instead of zero. +(Nazri Ramliy, 2013 Jan 29) + +It's possible to define an input() function that overrides the built-in one. (ZyX, 2012 Sep 28) +Patch to add sha256() function. (Tyru, 2013 Jan 8) + +Patch to make pyeval() print error messages. (ZyX, 2013 Jan 12) + Win32: When a directory name contains an exclamation mark, completion doesn't complete the contents of the directory. No escaping for the "!"? (Jan Stocker, 2012 Jan 5) +Patch for Win32 clipboard under Cygwin. (Frodak Baksik, Feb 15) + Sutcliffe says it works well. + Update 2007 May 22 for Vim 7.1 + Update 2008 Dec 2008 for Vim 7.2.xx (Sharonov) + Update by Ken Takata (2012 Dec 31, 2013 Jan 4, 2013 Jan 26) + Problem parsing expression with function(). (Andy Wokula, 2012 Nov 22) Patch by Christian Brabandt, Nov 22. Tests in another patch, Nov 23. +Patch to add default value to getbufvar() et al. (Hirohito Higashi, 2013 Jan 1) + Problem caused by patch 7.3.638: window->open does not update window correctly. Issue 91. +Patch to fix compiler warnings for MingW 4.5.3. (Ken Takata, 2013 Jan 26) + Do allow real tags above the !_TAG entries. Undo older patch. Issue 90. Patch to support 'u' in interactive substitute. (Christian Brabandt, 2012 Sep 28) With tests: Oct 9. +Patch to make fold updates much faster. (Christian Brabandt, 2012 Dec) + Patch for IME handling, adds 'imactivatefunc' and 'imstatusfunc' option. (Yukihiro Nakadaira, 2012 Aug 16) Patch to improve IME handling. (Yasuhiro Matsumoto, 2012 Jul 18) @@ -136,6 +134,8 @@ MS-Windows: Crash opening very long file name starting with "\\". It's probably a good idea to make a negative value for 'sts' use the value of 'sw'. Patch by So8res, Oct 3 2012 +patch to add "combine" flag to syntax commands. (so8res, 2012 Dec 6) + Syntax update problem in one buffer opened in two windows, bottom window is not correctly updated. (Paul Harris, 2012 Feb 27) @@ -145,9 +145,22 @@ Alternate patch by Gary Johnson, Sep 4. Patch to add getsid(). (Tyru, 2011 Oct 2) Do we want this? Update Oct 4. Or use expand('')? +Patch to make confirm() display colors. (Christian Brabandt, 2012 Nov 9) + +Patch to add functions for signs. (Christian Brabandt,, 2013 Jan 27) + +Patch to use directX to draw text on Windows. Adds the 'directx' option. +(Taro Muraoka, 2013 Jan 25) + +b:undo_ftplugin cannot call a script-local function. (Boris Danilov, 2013 Jan +7) + Patch for :tabcloseleft, after closing a tab go to left tab. (William Bowers, 2012 Aug 4) +Patch to improve equivalence classes in regexp patterns. +(Christian Brabandt, 2013 Jan 16, update Jan 17) + Patch with suggestions for starting.txt. (Tony Mechelynck, 2012 Oct 24) But use Gnome instead of GTK? @@ -160,6 +173,7 @@ Crash in autocmd that unloads buffers in a BufUnload event. (Andrew Pimlott, MS-Windows ACL support doesn't work well. Patch from Ken Takata, 2012 Aug 29. Update Aug 31. +Another patch for MingW, 2012 Dec 29. MS-Windows resizing problems: - Windows window on screen positioning: Patch by Yukihiro Nakadaira, 2012 Jun @@ -260,7 +274,7 @@ Update Jun 2. Patch to add ":py3do". (Lilydjwg, 2012 Apr 7) -`[ moves to character after insert, instead of the last inserted character. +`] moves to character after insert, instead of the last inserted character. (Yukihiro Nakadaira, 2011 Dec 9) Plugin for Modeleasy. (Massimiliano Tripoli, 2011 Nov 29) @@ -388,6 +402,11 @@ string() can't parse back "inf" and "nan". Fix documentation or fix code? Make 'formatprg' global-local. (Sung Pae) +When a buffer-local mapping is used, but a global mapping starts with the same +characters, Vim currently waits for the next typed character to find out if +the global mapping matches. It is probably better to let the local mapping +win and not wait. (discussion with Andy Wokula, 2013 Jan 30) + When doing "redir => s:foo" in a script and then "redir END" somewhere else (e.g. in a function) it can't find s:foo. @@ -516,6 +535,9 @@ names, shell commands and the like. (Kikuchan, 2010 Oct 14) Assume the system converts between the actual encoding of the filesystem to the system encoding (usually utf-8). +Patch to add GUI colors to the terminal, when it supports it. (ZyX, 2013 Jan +26) + Problem producing tags file when hebrew.frx is present. It has a BOM. Results in E670. (Tony Mechelynck, 2010 May 2) @@ -714,7 +736,7 @@ to avoid changing 'eventignore'? Patch for displaying 0x200c and 0x200d. (Ali Gholami Rudi, 2009 May 6) Probably needs a bit of work. -List of encoding aliases. (Takao Fujiware, 2009 Jul 18) +List of encoding aliases. (Takao Fujiwara, 2009 Jul 18) Are they all OK? Update Jul 22. Win32: Improved Makefile for MSVC. (Leonardo Valeri Manera, 2010 Aug 18) @@ -744,7 +766,7 @@ Problem with