|
Karsten Hopp |
a2079e |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
a2079e |
Subject: Patch 7.3.800
|
|
Karsten Hopp |
a2079e |
Fcc: outbox
|
|
Karsten Hopp |
a2079e |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a2079e |
Mime-Version: 1.0
|
|
Karsten Hopp |
a2079e |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a2079e |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a2079e |
------------
|
|
Karsten Hopp |
a2079e |
|
|
Karsten Hopp |
a2079e |
Patch 7.3.800
|
|
Karsten Hopp |
a2079e |
Problem: The " mark is not adjusted when inserting lines. (Roland Eggner)
|
|
Karsten Hopp |
a2079e |
Solution: Adjust the line number. (Christian Brabandt)
|
|
Karsten Hopp |
a2079e |
Files: src/mark.c
|
|
Karsten Hopp |
a2079e |
|
|
Karsten Hopp |
a2079e |
|
|
Karsten Hopp |
a2079e |
*** ../vim-7.3.799/src/mark.c 2013-01-23 15:53:08.000000000 +0100
|
|
Karsten Hopp |
a2079e |
--- src/mark.c 2013-02-06 12:29:46.000000000 +0100
|
|
Karsten Hopp |
a2079e |
***************
|
|
Karsten Hopp |
a2079e |
*** 1047,1052 ****
|
|
Karsten Hopp |
a2079e |
--- 1047,1053 ----
|
|
Karsten Hopp |
a2079e |
#ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
a2079e |
tabpage_T *tab;
|
|
Karsten Hopp |
a2079e |
#endif
|
|
Karsten Hopp |
a2079e |
+ static pos_T initpos = INIT_POS_T(1, 0, 0);
|
|
Karsten Hopp |
a2079e |
|
|
Karsten Hopp |
a2079e |
if (line2 < line1 && amount_after == 0L) /* nothing to do */
|
|
Karsten Hopp |
a2079e |
return;
|
|
Karsten Hopp |
a2079e |
***************
|
|
Karsten Hopp |
a2079e |
*** 1072,1077 ****
|
|
Karsten Hopp |
a2079e |
--- 1073,1083 ----
|
|
Karsten Hopp |
a2079e |
/* last change position */
|
|
Karsten Hopp |
a2079e |
one_adjust(&(curbuf->b_last_change.lnum));
|
|
Karsten Hopp |
a2079e |
|
|
Karsten Hopp |
a2079e |
+ /* last cursor position, if it was set */
|
|
Karsten Hopp |
a2079e |
+ if (!equalpos(curbuf->b_last_cursor, initpos))
|
|
Karsten Hopp |
a2079e |
+ one_adjust(&(curbuf->b_last_cursor.lnum));
|
|
Karsten Hopp |
a2079e |
+
|
|
Karsten Hopp |
a2079e |
+
|
|
Karsten Hopp |
a2079e |
#ifdef FEAT_JUMPLIST
|
|
Karsten Hopp |
a2079e |
/* list of change positions */
|
|
Karsten Hopp |
a2079e |
for (i = 0; i < curbuf->b_changelistlen; ++i)
|
|
Karsten Hopp |
a2079e |
*** ../vim-7.3.799/src/version.c 2013-02-06 12:14:36.000000000 +0100
|
|
Karsten Hopp |
a2079e |
--- src/version.c 2013-02-06 12:31:15.000000000 +0100
|
|
Karsten Hopp |
a2079e |
***************
|
|
Karsten Hopp |
a2079e |
*** 727,728 ****
|
|
Karsten Hopp |
a2079e |
--- 727,730 ----
|
|
Karsten Hopp |
a2079e |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a2079e |
+ /**/
|
|
Karsten Hopp |
a2079e |
+ 800,
|
|
Karsten Hopp |
a2079e |
/**/
|
|
Karsten Hopp |
a2079e |
|
|
Karsten Hopp |
a2079e |
--
|
|
Karsten Hopp |
a2079e |
ARTHUR: What does it say?
|
|
Karsten Hopp |
a2079e |
BROTHER MAYNARD: It reads ... "Here may be found the last words of Joseph of
|
|
Karsten Hopp |
a2079e |
Aramathea." "He who is valorous and pure of heart may find
|
|
Karsten Hopp |
a2079e |
the Holy Grail in the aaaaarrrrrrggghhh..."
|
|
Karsten Hopp |
a2079e |
ARTHUR: What?
|
|
Karsten Hopp |
a2079e |
BROTHER MAYNARD: "The Aaaaarrrrrrggghhh..."
|
|
Karsten Hopp |
a2079e |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
a2079e |
|
|
Karsten Hopp |
a2079e |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a2079e |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a2079e |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
a2079e |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|