|
Karsten Hopp |
11b217 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
11b217 |
Subject: patch 7.0.218
|
|
Karsten Hopp |
11b217 |
Fcc: outbox
|
|
Karsten Hopp |
11b217 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
11b217 |
Mime-Version: 1.0
|
|
Karsten Hopp |
11b217 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
11b217 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
11b217 |
------------
|
|
Karsten Hopp |
11b217 |
|
|
Karsten Hopp |
11b217 |
Patch 7.0.218
|
|
Karsten Hopp |
11b217 |
Problem: "%B" in 'statusline' always shows zero in Insert mode. (DervishD)
|
|
Karsten Hopp |
11b217 |
Solution: Remove the exception for Insert mode, check the column for being
|
|
Karsten Hopp |
11b217 |
valid instead.
|
|
Karsten Hopp |
11b217 |
Files: src/buffer.c
|
|
Karsten Hopp |
11b217 |
|
|
Karsten Hopp |
11b217 |
|
|
Karsten Hopp |
11b217 |
*** ../vim-7.0.217/src/buffer.c Tue Mar 6 20:27:03 2007
|
|
Karsten Hopp |
11b217 |
--- src/buffer.c Thu Mar 15 22:50:54 2007
|
|
Karsten Hopp |
11b217 |
***************
|
|
Karsten Hopp |
11b217 |
*** 3710,3716 ****
|
|
Karsten Hopp |
11b217 |
case STL_BYTEVAL_X:
|
|
Karsten Hopp |
11b217 |
base = 'X';
|
|
Karsten Hopp |
11b217 |
case STL_BYTEVAL:
|
|
Karsten Hopp |
11b217 |
! if (((State & INSERT) && wp == curwin) || empty_line)
|
|
Karsten Hopp |
11b217 |
num = 0;
|
|
Karsten Hopp |
11b217 |
else
|
|
Karsten Hopp |
11b217 |
{
|
|
Karsten Hopp |
11b217 |
--- 3710,3716 ----
|
|
Karsten Hopp |
11b217 |
case STL_BYTEVAL_X:
|
|
Karsten Hopp |
11b217 |
base = 'X';
|
|
Karsten Hopp |
11b217 |
case STL_BYTEVAL:
|
|
Karsten Hopp |
11b217 |
! if (wp->w_cursor.col > STRLEN(linecont))
|
|
Karsten Hopp |
11b217 |
num = 0;
|
|
Karsten Hopp |
11b217 |
else
|
|
Karsten Hopp |
11b217 |
{
|
|
Karsten Hopp |
11b217 |
*** ../vim-7.0.217/src/version.c Thu Mar 15 21:38:30 2007
|
|
Karsten Hopp |
11b217 |
--- src/version.c Thu Mar 15 22:54:05 2007
|
|
Karsten Hopp |
11b217 |
***************
|
|
Karsten Hopp |
11b217 |
*** 668,669 ****
|
|
Karsten Hopp |
11b217 |
--- 668,671 ----
|
|
Karsten Hopp |
11b217 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
11b217 |
+ /**/
|
|
Karsten Hopp |
11b217 |
+ 218,
|
|
Karsten Hopp |
11b217 |
/**/
|
|
Karsten Hopp |
11b217 |
|
|
Karsten Hopp |
11b217 |
--
|
|
Karsten Hopp |
11b217 |
Vim is like Emacs without all the typing. (John "Johann" Spetz)
|
|
Karsten Hopp |
11b217 |
|
|
Karsten Hopp |
11b217 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
11b217 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
11b217 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
11b217 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|