Hi,
Here are some fixes and updates for the documents.
1. Parameter name is inconsistent
In eval.txt,
L1758:
> cursor( {lnum}, {col} [, {coladd}])
> Number move cursor to {lnum}, {col}, {coladd}
L2604:
> cursor({lnum}, {col} [, {off}]) *cursor()*
The third parameter is different.
Maybe this is better:
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1755,8 +1755,8 @@ count( {list}, {expr} [, {ic} [, {start}
Number count how many {expr} are in {list}
cscope_connection( [{num} , {dbpath} [, {prepend}]])
Number checks existence of cscope connection
-cursor( {lnum}, {col} [, {coladd}])
- Number move cursor to {lnum}, {col}, {coladd}
+cursor( {lnum}, {col} [, {off}])
+ Number move cursor to {lnum}, {col}, {off}
cursor( {list}) Number move cursor to position in
{list}
deepcopy( {expr} [, {noref}]) any make a full copy of {expr}
delete( {fname}) Number delete file {fname}
2. Typo
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4851,7 +4851,7 @@ readfile({fname} [, {binary} [, {max}]])
separated with CR will result in a single long line (unless a
NL appears somewhere).
All NUL characters are replaced with a NL character.
- When {binary/append} is contains "b" binary mode is used:
+ When {binary/append} contains "b" binary mode is used:
- When the last line ends in a NL an extra empty list item is
added.
- No CR characters are removed.
3. Clean up todo.txt
There are some items in todo.txt that are already fixed:
L292: Patch to make test 100 work on MS-Windows. (Taro Muraoka, 2013 Dec 12)
L296: Perl: support for Activestate perl 5.18: Issue 170.
L1563: Win32: Patch for convert_filterW(). (Taro Muraoka, 2007 Mar 2)
They can be removed. And,
L115:
> On MS-Windows running tests with Mercurial has problems when the input files
> are changed. (Ken Takata, Taro Muraoka, 2014 Sep 25)
> Update Nov 5.
L442:
> MS-Windows: Patch to make tests copy files to avoid changing the fileformat of
> the files under version control. (Taro Muraoka, 2013 Jul 5)
They are referring the same patches. They can be merged.
(Not fixed yet.)
Regards,
Ken Takata
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.