summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt28
-rw-r--r--runtime/doc/options.txt53
-rw-r--r--runtime/doc/tags23
3 files changed, 99 insertions, 5 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 1cfa7b0fc..9e4f850b9 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1,4 +1,4 @@
-*eval.txt* For Vim version 7.0aa. Last change: 2005 Mar 04
+*eval.txt* For Vim version 7.0aa. Last change: 2005 Mar 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1105,6 +1105,32 @@ variables for each buffer. Use local buffer variables instead |b:var|.
Predefined Vim variables: *vim-variable* *v:var*
+ *v:beval_col* *beval_col-variable*
+v:beval_col The number of the column, over which the mouse pointer is.
+ This is the byte index in the |v:beval_lnum| line.
+ Only valid while evaluating the 'balloonexpr' option.
+
+ *v:beval_bufnr* *beval_bufnr-variable*
+v:beval_bufnr The number of the buffer, over which the mouse pointer is. Only
+ valid while evaluating the 'balloonexpr' option.
+
+ *v:beval_lnum* *beval_lnum-variable*
+v:beval_lnum The number of the line, over which the mouse pointer is. Only
+ valid while evaluating the 'balloonexpr' option.
+
+ *v:beval_text* *beval_text-variable*
+v:beval_text The text under or after the mouse pointer. Usually a word as it is
+ useful for debugging a C program. 'iskeyword' applies, but a
+ dot and "->" before the position is included. When on a ']'
+ the text before it is used, including the matching '[' and
+ word before it. When on a Visual area within one line the
+ highlighted text is used.
+ Only valid while evaluating the 'balloonexpr' option.
+
+ *v:beval_winnr* *beval_winnr-variable*
+v:beval_winnr The number of the window, over which the mouse pointer is. Only
+ valid while evaluating the 'balloonexpr' option.
+
*v:charconvert_from* *charconvert_from-variable*
v:charconvert_from
The name of the character encoding of a file to be converted.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 2c52c0475..f7b3020d6 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.0aa. Last change: 2005 Mar 06
+*options.txt* For Vim version 7.0aa. Last change: 2005 Mar 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -992,9 +992,40 @@ A jump table for the options with a short description can be found at |Q_op|.
global
{not in Vi}
{only available when compiled with the |+balloon_eval|
- and |+sun_workshop| or |+netbeans_intg| features}
+ feature}
Switch on the |balloon-eval| functionality.
+ *'balloonexpr'* *'bexpr'*
+'balloonexpr' 'bexpr' string (default "")
+ global
+ {not in Vi}
+ {only available when compiled with the |+balloon_eval|
+ feature}
+ Expression to show in evaluation balloon. It is only used when
+ 'ballooneval' is on. These variables can be used:
+
+ v:beval_bufnr number of the buffer in which balloon is going to show
+ v:beval_winnr number of the window
+ v:beval_lnum line number
+ v:beval_col column number (byte index)
+ v:beval_text word under or after the mouse pointer
+
+ The evaluation of the expression must not have side effects!
+ Example: >
+ function! MyBalloonExpr()
+ return 'Cursor is at line ' . v:beval_lnum .
+ \', column ' . v:beval_col .
+ \ ' of file ' . bufname(v:beval_bufnr) .
+ \ ' on word "' . v:beval_text . '"'
+ endfunction
+ set bexpr=MyBalloonExpr()
+ set ballooneval
+<
+ NOTE: The balloon is displayed only if the cursor is on a text
+ character. If the result of evaluating 'balloonexpr' is not empty,
+ Vim does not try to send a message to an external debugger (Netbeans
+ or Sun Workshop).
+
*'binary'* *'bin'* *'nobinary'* *'nobin'*
'binary' 'bin' boolean (default off)
local to buffer
@@ -4160,6 +4191,20 @@ A jump table for the options with a short description can be found at |Q_op|.
other memory to be freed. Maximum value 2000000. Use this to work
without a limit. Also see 'maxmemtot'.
+ *'maxmempattern'* *'mmp'*
+'maxmempattern' 'mmp' number (default 1000)
+ global
+ {not in Vi}
+ Maximum amount of memory (in Kbyte) to use for pattern matching.
+ Maximum value 2000000. Use this to work without a limit.
+ *E363*
+ When Vim runs into the limit it gives an error message mostly behaves
+ like CTRL-C was typed.
+ Running into the limit often means that the pattern is very
+ inefficient or too complex. This may already happen with the pattern
+ "\(.\)*" on a very long line. ".*" works much better.
+ Vim may run out of memory before hitting the 'maxmempattern' limit.
+
*'maxmemtot'* *'mmt'*
'maxmemtot' 'mmt' number (default between 2048 and 10240 (system
dependent) or half the amount of memory
@@ -6345,6 +6390,8 @@ A jump table for the options with a short description can be found at |Q_op|.
"s" = button state
"c" = column plus 33
"r" = row plus 33
+ This only works up to 223 columns! See "dec" for a
+ solution.
xterm2 Works like "xterm", but with the xterm reporting the
mouse position while the mouse is dragged. This works
much faster and more precise. Your xterm must at
@@ -6358,6 +6405,8 @@ A jump table for the options with a short description can be found at |Q_op|.
*dec-mouse*
dec DEC terminal mouse handling. The mouse generates a
rather complex sequence, starting with "<Esc>[".
+ This is also available for an Xterm, if it was
+ configured with "--enable-dec-locator".
*jsbterm-mouse*
jsbterm JSB term mouse handling.
*pterm-mouse*
diff --git a/runtime/doc/tags b/runtime/doc/tags
index c4cdbbb92..6d9005a27 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -59,11 +59,13 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'backupskip' options.txt /*'backupskip'*
'balloondelay' options.txt /*'balloondelay'*
'ballooneval' options.txt /*'ballooneval'*
+'balloonexpr' options.txt /*'balloonexpr'*
'bdir' options.txt /*'bdir'*
'bdlay' options.txt /*'bdlay'*
'beautify' vi_diff.txt /*'beautify'*
'beval' options.txt /*'beval'*
'bex' options.txt /*'bex'*
+'bexpr' options.txt /*'bexpr'*
'bf' vi_diff.txt /*'bf'*
'bg' options.txt /*'bg'*
'bh' options.txt /*'bh'*
@@ -351,6 +353,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'maxfuncdepth' options.txt /*'maxfuncdepth'*
'maxmapdepth' options.txt /*'maxmapdepth'*
'maxmem' options.txt /*'maxmem'*
+'maxmempattern' options.txt /*'maxmempattern'*
'maxmemtot' options.txt /*'maxmemtot'*
'mef' options.txt /*'mef'*
'menuitems' options.txt /*'menuitems'*
@@ -362,6 +365,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
'mls' options.txt /*'mls'*
'mm' options.txt /*'mm'*
'mmd' options.txt /*'mmd'*
+'mmp' options.txt /*'mmp'*
'mmt' options.txt /*'mmt'*
'mod' options.txt /*'mod'*
'modeline' options.txt /*'modeline'*
@@ -1065,6 +1069,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
+perl various.txt /*+perl*
+postscript various.txt /*+postscript*
+printer various.txt /*+printer*
++profile various.txt /*+profile*
+python various.txt /*+python*
+quickfix various.txt /*+quickfix*
+rightleft various.txt /*+rightleft*
@@ -2770,6 +2775,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
<register> map.txt /*<register>*
<sfile> cmdline.txt /*<sfile>*
<xCSI> intro.txt /*<xCSI>*
+<xDown> term.txt /*<xDown>*
<xEnd> term.txt /*<xEnd>*
<xEnd>-xterm term.txt /*<xEnd>-xterm*
<xF1> term.txt /*<xF1>*
@@ -2782,6 +2788,9 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
<xF4>-xterm term.txt /*<xF4>-xterm*
<xHome> term.txt /*<xHome>*
<xHome>-xterm term.txt /*<xHome>-xterm*
+<xLeft> term.txt /*<xLeft>*
+<xRight> term.txt /*<xRight>*
+<xUp> term.txt /*<xUp>*
= change.txt /*=*
== change.txt /*==*
> change.txt /*>*
@@ -3249,9 +3258,8 @@ E358 options.txt /*E358*
E359 term.txt /*E359*
E36 windows.txt /*E36*
E360 various.txt /*E360*
-E361 pattern.txt /*E361*
E362 term.txt /*E362*
-E363 pattern.txt /*E363*
+E363 options.txt /*E363*
E364 eval.txt /*E364*
E365 print.txt /*E365*
E366 options.txt /*E366*
@@ -4182,6 +4190,11 @@ beos-timeout os_beos.txt /*beos-timeout*
beos-unicode os_beos.txt /*beos-unicode*
beos-utf8 os_beos.txt /*beos-utf8*
beos-vimdir os_beos.txt /*beos-vimdir*
+beval_bufnr-variable eval.txt /*beval_bufnr-variable*
+beval_col-variable eval.txt /*beval_col-variable*
+beval_lnum-variable eval.txt /*beval_lnum-variable*
+beval_text-variable eval.txt /*beval_text-variable*
+beval_winnr-variable eval.txt /*beval_winnr-variable*
blockwise-examples visual.txt /*blockwise-examples*
blockwise-operators visual.txt /*blockwise-operators*
blockwise-register change.txt /*blockwise-register*
@@ -6614,6 +6627,11 @@ utf-8-in-xwindows mbyte.txt /*utf-8-in-xwindows*
utf-8-typing mbyte.txt /*utf-8-typing*
utf8 mbyte.txt /*utf8*
v visual.txt /*v*
+v:beval_bufnr eval.txt /*v:beval_bufnr*
+v:beval_col eval.txt /*v:beval_col*
+v:beval_lnum eval.txt /*v:beval_lnum*
+v:beval_text eval.txt /*v:beval_text*
+v:beval_winnr eval.txt /*v:beval_winnr*
v:charconvert_from eval.txt /*v:charconvert_from*
v:charconvert_to eval.txt /*v:charconvert_to*
v:cmdarg eval.txt /*v:cmdarg*
@@ -6967,6 +6985,7 @@ xterm-copy-paste term.txt /*xterm-copy-paste*
xterm-cursor-keys term.txt /*xterm-cursor-keys*
xterm-end-home-keys term.txt /*xterm-end-home-keys*
xterm-function-keys term.txt /*xterm-function-keys*
+xterm-modifier-keys term.txt /*xterm-modifier-keys*
xterm-mouse options.txt /*xterm-mouse*
xterm-mouse-wheel scroll.txt /*xterm-mouse-wheel*
xterm-save-screen tips.txt /*xterm-save-screen*