Patch 7.4a.022
Problem: Using "d2g$" does not delete the last character. (ZyX)
Solution: Set the "inclusive" flag properly.
Files: src/normal.c
*** ../vim-7.4a.021/src/normal.c 2013-07-14 13:31:03.000000000 +0200
--- src/normal.c 2013-07-14 13:24:37.000000000 +0200
***************
*** 4545,4551 ****
int width2; /* test width for wrapped screen line */
oap->motion_type = MCHAR;
! oap->inclusive = FALSE;
col_off1 = curwin_col_off();
col_off2 = col_off1 - curwin_col_off2();
--- 4545,4551 ----
int width2; /* test width for wrapped screen line */
oap->motion_type = MCHAR;
! oap->inclusive = (curwin->w_curswant == MAXCOL);
col_off1 = curwin_col_off();
col_off2 = col_off1 - curwin_col_off2();
*** ../vim-7.4a.021/src/version.c 2013-07-14 13:30:32.000000000 +0200
--- src/version.c 2013-07-14 13:26:02.000000000 +0200
***************
*** 729,730 ****
--- 729,732 ----
{ /* Add new patch number below this line */
+ /**/
+ 22,
/**/
--
ARTHUR: Now stand aside worthy adversary.
BLACK KNIGHT: (Glancing at his shoulder) 'Tis but a scratch.
ARTHUR: A scratch? Your arm's off.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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/groups/opt_out.