1
0
forked from aniani/vim

updated for version 7.0c12

This commit is contained in:
Bram Moolenaar
2006-04-07 21:40:07 +00:00
parent 5555acc08e
commit 61660eadce
12 changed files with 106 additions and 73 deletions

View File

@@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 7.0c. Last change: 2006 Apr 04
*autocmd.txt* For Vim version 7.0c. Last change: 2006 Apr 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -506,8 +506,8 @@ FileChangedRO Before making the first change to a read-only
the change was caused by an autocommand.
This event is triggered when making the first
change in a buffer or the first change after
'readonly' was set,
just before the change is applied to the text.
'readonly' was set, just before the change is
applied to the text.
WARNING: If the autocommand moves the cursor
the effect of the change is undefined.
*E788*

View File

@@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.0c. Last change: 2006 Apr 04
*eval.txt* For Vim version 7.0c. Last change: 2006 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -819,7 +819,7 @@ Number. Note that this doesn't recognize multi-byte encodings.
Index zero gives the first character. This is like it works in C. Careful:
text column numbers start with one! Example, to get the character under the
cursor: >
:let c = getline(line("."))[col(".") - 1]
:let c = getline(".")[col(".") - 1]
If the length of the String is less than the index, the result is an empty
String. A negative index always results in an empty string (reason: backwards
@@ -4562,7 +4562,7 @@ strpart({src}, {start}[, {len}]) *strpart()*
strpart("abcdefg", 3) == "defg"
< Note: To get the first character, {start} must be 0. For
example, to get three bytes under and after the cursor: >
strpart(getline(line(".")), col(".") - 1, 3)
strpart(getline("."), col(".") - 1, 3)
<
strridx({haystack}, {needle} [, {start}]) *strridx()*
The result is a Number, which gives the byte index in

View File

@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 7.0c. Last change: 2006 Apr 04
*syntax.txt* For Vim version 7.0c. Last change: 2006 Apr 06
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2581,7 +2581,7 @@ somewhere else with "P".
Do you want to draw with the mouse? Try the following: >
:function! GetPixel()
: let c = getline(line("."))[col(".") - 1]
: let c = getline(".")[col(".") - 1]
: echo c
: exe "noremap <LeftMouse> <LeftMouse>r".c
: exe "noremap <LeftDrag> <LeftMouse>r".c

View File

@@ -5611,7 +5611,6 @@ 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*

View File

@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0c. Last change: 2006 Apr 06
*todo.txt* For Vim version 7.0c. Last change: 2006 Apr 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,6 +30,13 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
Handle postponed prefix with COMPOUNDPERMITFLAG or COMPOUNDFORBIDFLAG.
WFP_COMPPERMIT and WFP_COMPFORBID
":mkspell" still takes too long in Hungarian dictionary.
Use ~/tmp/hungarian*.txt to test dictionary with.
New Hungarian dictionary. (Laci Nemeth)
- implement use of <compoptions> in .spl file:
- implement CHECKCOMPOUNDREP: when a compound word seems to be OK apply REP

View File

@@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.0c. Last change: 2006 Apr 06
*version7.txt* For Vim version 7.0c. Last change: 2006 Apr 07
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -160,6 +160,7 @@ as <line1>. The items can no longer be abbreviated.
When executing a FileChangedRO autocommand it is no longer allowed to switch
to another buffer or edit another file. This is to prevent crashes (the event
is triggered deep down in the code where changing buffers is not anticipated).
It is possible to reload the buffer.
==============================================================================
NEW FEATURES *new-7*
@@ -951,6 +952,7 @@ sensors syntax and ftplugin file. (Nikolai Weibull)
services syntax and ftplugin file. (Nikolai Weibull)
setserial syntax and ftplugin file. (Nikolai Weibull)
sieve syntax and ftplugin file. (Nikolai Weibull)
SiSU syntax file (Ralph Amissah)
Sive syntax file. (Nikolai Weibull)
slp config, reg and spi syntax and ftplugin files. (Nikolai Weibull)
SML indent file. (Saikat Guha)
@@ -2394,4 +2396,19 @@ When using the menu in the tab pages line, "New Tab" opens the new tab before
where the click was. Beyond the labels the new tab appears at the end instead
of after the current tab page.
Inside a mapping with an expression getchar() could not be used.
When vgetc is used recursively vgetc_busy protects it from being used
recursively. But after a ":normal" command the protection was reset.
":s/a/b/n" didn't work when 'modifiable' was off.
When $VIMRUNTIME includes a multi-byte character then rgb.txt could not be
found. (Yukihiro Nakadaira)
":mkspell" didn't work correctly for non-ASCII affix flags when conversion is
needed on the spell file.
glob('/dir/\$ABC/*') didn't work.
vim:tw=78:ts=8:ft=help:norl: