|
Karsten Hopp |
2eaf77 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
2eaf77 |
Subject: Patch 7.2.064
|
|
Karsten Hopp |
2eaf77 |
Fcc: outbox
|
|
Karsten Hopp |
2eaf77 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
2eaf77 |
Mime-Version: 1.0
|
|
Karsten Hopp |
2eaf77 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
2eaf77 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
2eaf77 |
------------
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
Patch 7.2.064
|
|
Karsten Hopp |
2eaf77 |
Problem: Screen update bug when repeating "~" on a Visual block and the
|
|
Karsten Hopp |
2eaf77 |
last line doesn't change.
|
|
Karsten Hopp |
2eaf77 |
Solution: Keep track of changes for all lines. (Moritz Orbach)
|
|
Karsten Hopp |
2eaf77 |
Files: src/ops.c
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
*** ../vim-7.2.063/src/ops.c Tue Jun 24 23:59:55 2008
|
|
Karsten Hopp |
2eaf77 |
--- src/ops.c Wed Dec 3 13:12:06 2008
|
|
Karsten Hopp |
2eaf77 |
***************
|
|
Karsten Hopp |
2eaf77 |
*** 2209,2220 ****
|
|
Karsten Hopp |
2eaf77 |
{
|
|
Karsten Hopp |
2eaf77 |
for (; pos.lnum <= oap->end.lnum; ++pos.lnum)
|
|
Karsten Hopp |
2eaf77 |
{
|
|
Karsten Hopp |
2eaf77 |
block_prep(oap, &bd, pos.lnum, FALSE);
|
|
Karsten Hopp |
2eaf77 |
pos.col = bd.textcol;
|
|
Karsten Hopp |
2eaf77 |
! did_change = swapchars(oap->op_type, &pos, bd.textlen);
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
# ifdef FEAT_NETBEANS_INTG
|
|
Karsten Hopp |
2eaf77 |
! if (usingNetbeans && did_change)
|
|
Karsten Hopp |
2eaf77 |
{
|
|
Karsten Hopp |
2eaf77 |
char_u *ptr = ml_get_buf(curbuf, pos.lnum, FALSE);
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
--- 2209,2223 ----
|
|
Karsten Hopp |
2eaf77 |
{
|
|
Karsten Hopp |
2eaf77 |
for (; pos.lnum <= oap->end.lnum; ++pos.lnum)
|
|
Karsten Hopp |
2eaf77 |
{
|
|
Karsten Hopp |
2eaf77 |
+ int one_change;
|
|
Karsten Hopp |
2eaf77 |
+
|
|
Karsten Hopp |
2eaf77 |
block_prep(oap, &bd, pos.lnum, FALSE);
|
|
Karsten Hopp |
2eaf77 |
pos.col = bd.textcol;
|
|
Karsten Hopp |
2eaf77 |
! one_change = swapchars(oap->op_type, &pos, bd.textlen);
|
|
Karsten Hopp |
2eaf77 |
! did_change |= one_change;
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
# ifdef FEAT_NETBEANS_INTG
|
|
Karsten Hopp |
2eaf77 |
! if (usingNetbeans && one_change)
|
|
Karsten Hopp |
2eaf77 |
{
|
|
Karsten Hopp |
2eaf77 |
char_u *ptr = ml_get_buf(curbuf, pos.lnum, FALSE);
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
*** ../vim-7.2.063/src/version.c Wed Dec 3 13:18:16 2008
|
|
Karsten Hopp |
2eaf77 |
--- src/version.c Wed Dec 3 13:14:46 2008
|
|
Karsten Hopp |
2eaf77 |
***************
|
|
Karsten Hopp |
2eaf77 |
*** 678,679 ****
|
|
Karsten Hopp |
2eaf77 |
--- 678,681 ----
|
|
Karsten Hopp |
2eaf77 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
2eaf77 |
+ /**/
|
|
Karsten Hopp |
2eaf77 |
+ 64,
|
|
Karsten Hopp |
2eaf77 |
/**/
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
--
|
|
Karsten Hopp |
2eaf77 |
Q: How many hardware engineers does it take to change a lightbulb?
|
|
Karsten Hopp |
2eaf77 |
A: None. We'll fix it in software.
|
|
Karsten Hopp |
2eaf77 |
|
|
Karsten Hopp |
2eaf77 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
2eaf77 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
2eaf77 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
2eaf77 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|