Loading ...
Sorry, an error occurred while loading the content.

Patch 6.3b.022

Expand Messages
  • Bram Moolenaar
    Patch 6.3b.022 Problem: Using 4v to select four times the old Visual area may put the cursor beyond the end of the line. (Jens Paulus) Solution: Correct
    Message 1 of 1 , Jun 2, 2004
    • 0 Attachment
      Patch 6.3b.022
      Problem: Using "4v" to select four times the old Visual area may put the
      cursor beyond the end of the line. (Jens Paulus)
      Solution: Correct the cursor column.
      Files: src/normal.c


      *** ../vim-6.3b.021/src/normal.c Sun May 16 22:38:46 2004
      --- src/normal.c Wed Jun 2 10:32:07 2004
      ***************
      *** 6854,6859 ****
      --- 6854,6860 ----
      curwin->w_cursor.col += resel_VIsual_col * cap->count0 - 1;
      else
      curwin->w_cursor.col = resel_VIsual_col;
      + check_cursor_col();
      }
      if (resel_VIsual_col == MAXCOL)
      {
      ***************
      *** 6864,6870 ****
      {
      validate_virtcol();
      curwin->w_curswant = curwin->w_virtcol
      ! + resel_VIsual_col * cap->count0 - 1;
      coladvance(curwin->w_curswant);
      }
      else
      --- 6865,6871 ----
      {
      validate_virtcol();
      curwin->w_curswant = curwin->w_virtcol
      ! + resel_VIsual_col * cap->count0 - 1;
      coladvance(curwin->w_curswant);
      }
      else
      *** ../vim-6.3b.021/src/version.c Tue Jun 1 20:45:40 2004
      --- src/version.c Wed Jun 2 10:33:38 2004
      ***************
      *** 643,644 ****
      --- 643,646 ----
      { /* Add new patch number below this line */
      + /**/
      + 22,
      /**/

      --
      How To Keep A Healthy Level Of Insanity:
      13. Go to a poetry recital and ask why the poems don't rhyme.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.