Hi
Attached patch fixes errors in ":help jumps" and ":help tags".
Regards
-- Dominique
--
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
diff -r 28398206597f runtime/doc/motion.txt
--- a/runtime/doc/motion.txt Fri Dec 24 14:00:17 2010 +0100
+++ b/runtime/doc/motion.txt Sat Dec 25 22:27:28 2010 +0100
@@ -1033,20 +1033,20 @@
For example, after three jump commands you have this jump list:
- jump line col file/line ~
+ jump line col file/text ~
3 1 0 some text ~
2 70 0 another line ~
1 1154 23 end. ~
> ~
-The "file/line" column shows the file name, or the text at the jump if it is
+The "file/text" column shows the file name, or the text at the jump if it is
in the current file (an indent is removed and a long line is truncated to fit
in the window).
You are currently in line 1167. If you then use the CTRL-O command, the
cursor is put in line 1154. This results in:
- jump line col file/line ~
+ jump line col file/text ~
2 1 0 some text ~
1 70 0 another line ~
> 0 1154 23 end. ~
@@ -1076,7 +1076,7 @@
After the CTRL-O command that got you into line 1154 you could give another
jump command (e.g., "G"). The jump list would then become:
- jump line col file/line ~
+ jump line col file/text ~
4 1 0 some text ~
3 70 0 another line ~
2 1167 0 foo bar ~
diff -r 28398206597f runtime/doc/tagsrch.txt
--- a/runtime/doc/tagsrch.txt Fri Dec 24 14:00:17 2010 +0100
+++ b/runtime/doc/tagsrch.txt Sat Dec 25 22:27:28 2010 +0100
@@ -115,7 +115,7 @@
The output of ":tags" looks like this:
- # TO tag FROM line in file/line
+ # TO tag FROM line in file/text
1 1 main 1 harddisk2:text/vim/test
> 2 2 FuncA 58 i = FuncA(10);
3 1 FuncC 357 harddisk2:text/vim/src/amiga.c
@@ -135,7 +135,7 @@
deleting/inserting lines, unless this was done by another program (e.g.
another instance of Vim).
-For the current file, the "file/line" column shows the text at the position.
+For the current file, the "file/text" column shows the text at the position.
An indent is removed and a long line is truncated to fit in the window.
You can jump to previously used tags with several commands. Some examples:
@@ -164,9 +164,9 @@
deleted. This means that an old branch in the call graph is lost. After the
commands explained above the tag stack will look like this:
- # TO tag FROM line in file
- 1 main 1 harddisk2:text/vim/test
- 2 FuncB 59 harddisk2:text/vim/src/main.c
+ # TO tag FROM line in file/text
+ 1 1 main 1 harddisk2:text/vim/test
+ 2 1 FuncB 59 harddisk2:text/vim/src/main.c
*E73*
When you try to use the tag stack while it doesn't contain anything you will