diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index a89d8bb8de351df2b5d6b5ea9d72c8e388c9481e..a882d9912a93a04b524e9026b05ef2d5755abfc0 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1331,6 +1331,7 @@ There are a few things to remember when editing binary files: Vim is able to write files encrypted, and read them back. The encrypted text cannot be read without the right key. +{only available when compiled with the |+cryptv| feature} *E833* The text in the swap file and the undo file is also encrypted. diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index e63bcdb73c8d74480cf94616d5c0910b71184452..a80c4c8a9308e11f18d7abe10645273fa90af3d5 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4201,6 +4201,8 @@ A jump table for the options with a short description can be found at |Q_op|. 'key' string (default "") local to buffer {not in Vi} + {only available when compiled with the |+cryptv| + feature} The key that is used for encrypting and decrypting the current buffer. See |encryption| and 'cryptmethod'. Careful: Do not set the key value by hand, someone might see the typed diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index db7a82df5d1c153217271f56ae683632d7a93a7d..e0e315e17141bfbd767f04efda5e662c31795f6a 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1230,7 +1230,7 @@ identified directory. If not, it is searched in all other directories of the directory stack (NOT the directory subtree!). If it is still not found, it is assumed that it is in Vim's current directory. -There are limitation in this algorithm. This examples assume that make just +There are limitations in this algorithm. This examples assume that make just prints information about entering a directory in the form "Making all in dir". 1) Assume you have following directories and files: diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index 09336cda639da563759f90232f5b9bd9915f403b..8baeaaebfa587cd0d42e14d8e99d1c82866a8a66 100644 --- a/runtime/doc/quickref.txt +++ b/runtime/doc/quickref.txt @@ -927,7 +927,7 @@ Short explanation of each option: *option-list* 'virtualedit' 've' when to use virtual editing 'visualbell' 'vb' use visual bell instead of beeping 'warn' warn for shell command when buffer was changed -'weirdinvert' 'wi' for terminals that have weird inversion method +'weirdinvert' 'wiv' for terminals that have weird inversion method 'whichwrap' 'ww' allow specified keys to cross line boundaries 'wildchar' 'wc' command-line character for wildcard expansion 'wildcharm' 'wcm' like 'wildchar' but also works when mapped diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index 921f12028f601b50f649ba2ef43953f17171db6b..75e77d63d6196adbee4bf95b1794c14a7d59ae05 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -570,7 +570,7 @@ OBSCURE ============================================================================== 6. Profiling *profile* *profiling* -Profiling means that Vim measures the time that is spend on executing +Profiling means that Vim measures the time that is spent on executing functions and/or scripts. The |+profile| feature is required for this. It is only included when Vim was compiled with "huge" features. {Vi does not have profiling} diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 418b64ca2ffb902836468b75a1137ca4b81ba304..6d14f43b15b82e9893f69ab94a126936c3139557 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1929,7 +1929,7 @@ Some functions are highlighted by default. To switch it off: > :let pascal_no_functions=1 -Furthermore, there are specific variable for some compiler. Besides +Furthermore, there are specific variables for some compilers. Besides pascal_delphi, there are pascal_gpc and pascal_fpc. Default extensions try to match Turbo Pascal. > @@ -2683,7 +2683,7 @@ set "tf_minlines" to the value you desire. Example: > VIM *vim.vim* *ft-vim-syntax* *g:vimsyn_minlines* *g:vimsyn_maxlines* -There is a tradeoff between more accurate syntax highlighting versus screen +There is a trade-off between more accurate syntax highlighting versus screen updating speed. To improve accuracy, you may wish to increase the g:vimsyn_minlines variable. The g:vimsyn_maxlines variable may be used to improve screen updating rates (see |:syn-sync| for more on this). > diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index d6f6c120738f8e56f2ac7fb43f66a84c9d42c8f5..2324d73c60aae5c3503e525da4aab427448f5a2f 100644 --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1015,7 +1015,7 @@ Win32: When running ":make" and 'encoding' differs from the system locale, the output should be converted. Esp. when 'encoding' is "utf-8". (Yongwei Wu) Should we use 'termencoding' for this? -Win32, NTFS: When editing an specific infostream directly and 'backupcopy' is +Win32, NTFS: When editing a specific infostream directly and 'backupcopy' is "auto" should detect this situation and work like 'backupcopy' is "yes". File name is something like "c:\path\foo.txt:bar", includes a colon. (Alex Jakushev, 2008 Feb 1) @@ -1097,9 +1097,6 @@ Vim 7.3: - using NSIS 2.46: install on Windows 7 works, but no "Edit with Vim" menu. Use register_shell_extension()? Patch from Geoffrey Reilly, 2010 Jun 22 -- Patch for conceal feature from Vince, 2010 Jul 1. - fix insert mode, cursor up/down? - CTRL-O j doesn't trigger cursormoved event? - in August remove UF_VERSION_CRYPT_PREV and UF_VERSION_PREV. Patches to include: - Patch for Lisp support with ECL (Mikael Jansson, 2008 Oct 25) @@ -1112,7 +1109,7 @@ Patches to include: - Patch for gtk main_loop() to enable GtkFileChooser. (James Vega, 2010 Jun 28) Same as this one? GTK: file chooser is disabled. Patch by Tim Starling, 2009 Nov 13. -- Patch to make CTRL-L work better with 'ignorecase' and 'smarcase'. (Martin +- Patch to make CTRL-L work better with 'ignorecase' and 'smartcase'. (Martin Toft, 2010 Jun 8, Jun 16, Jun 30) - Patch to add diff functionality to 2html.vim. (Christian Brabandt, 2009 Dec 15) @@ -1896,7 +1893,7 @@ Macintosh: - Add a flag in 'printoptions' to add an empty page to make the total number even. "addempty"? (Mike Williams) - Respect 'linebreak'. Perhaps also 'showbreak'? - - Should interpreted CTRL-L as a page break. + - Should interpret CTRL-L as a page break. - Grey line numbers are not always readable. Add field in 'printoptions'. Default to black when no syntax highlighting. - Be able to print a window in diff mode. diff --git a/runtime/doc/usr_28.txt b/runtime/doc/usr_28.txt index 93e36f810a0fdb62815799ba8a3df87171876f8f..a46c9be03684bbb0a8c60b911499cde9bcfd0032 100644 --- a/runtime/doc/usr_28.txt +++ b/runtime/doc/usr_28.txt @@ -389,7 +389,7 @@ For more details see |fold-diff|. ============================================================================== *28.10* Which fold method to use? -All these possibilities make you wonder which method you should chose. +All these possibilities make you wonder which method you should choose. Unfortunately, there is no golden rule. Here are some hints. If there is a syntax file with folding for the language you are editing, that diff --git a/runtime/doc/version5.txt b/runtime/doc/version5.txt index 74e1bfc91c0f536367b70d7332ff3ac3d8223dc3..b27e93399dab43b5086cef91845466029699f8e3 100644 --- a/runtime/doc/version5.txt +++ b/runtime/doc/version5.txt @@ -1500,7 +1500,7 @@ the whole thing. "r<CR>" didn't work correctly on the last char of a line. -sometimes a window resize or other signal caused an endless loop, involving +Sometimes a window resize or other signal caused an endless loop, involving set_winsize(). "vim -r" didn't work, it would just hang (using tgetent() while 'term' is diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt index f469ac0f08853981fc7aae7f2e428b6845556066..5c9ba2a6e7aa46202964b914b318f6f0325f775b 100644 --- a/runtime/doc/version7.txt +++ b/runtime/doc/version7.txt @@ -6725,8 +6725,7 @@ Files: src/ex_getln.c Patch 7.1.326 Problem: ":s!from!to!" works, but ":smagic!from!to!" doesn't. It sees the - "!" as a flag to to the command. Same for ":snomagic". (Johan - Spetz) + "!" as a flag to the command. Same for ":snomagic". (Johan Spetz) Solution: When checking for a forced command also ignore ":smagic" and ":snomagic". (Ian Kelling) Files: src/ex_docmd.c diff --git a/runtime/doc/workshop.txt b/runtime/doc/workshop.txt index ae676de2be18794b9200b8be24656e711d872a77..422f81bcf8b1e54905e74b1b5cc09fbd21cbcdad 100644 --- a/runtime/doc/workshop.txt +++ b/runtime/doc/workshop.txt @@ -87,7 +87,7 @@ concatenated with the equivalent of version.h's VIM_VERSION_SHORT. The XPM library is required to show images within Vim with Motif or Athena. Without it the toolbar and signs will be disabled. -The XPM library is provide by Arnaud Le Hors of the French National Institute +The XPM library is provided by Arnaud Le Hors of the French National Institute for Research in Computer Science and Control. It can be downloaded from http://cgit.freedesktop.org/xorg/lib/libXpm. The current release, as of this writing, is xpm-3.4k-solaris.tgz, which is a gzip'ed tar file. If you create diff --git a/src/memline.c b/src/memline.c index aa901a91447a3902198c9958fe7b2d6944c309ae..0268087ab1d108cdf73e1dd4296a8ac7c41d7a5f 100644 --- a/src/memline.c +++ b/src/memline.c @@ -1259,7 +1259,7 @@ ml_recover() #else if (b0p->b0_id[1] != BLOCK0_ID1) { - EMSG2(_("E000: %s is encrypted and this version of Vim does not support encryption"), mfp->mf_fname); + EMSG2(_("E833: %s is encrypted and this version of Vim does not support encryption"), mfp->mf_fname); goto theend; } #endif