Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Patch 7.1.203
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bram Moolenaar  
View profile  
 More options Jan 4 2008, 3:25 pm
From: Bram Moolenaar <B...@moolenaar.net>
Date: Fri, 04 Jan 2008 21:25:22 +0100
Local: Fri, Jan 4 2008 3:25 pm
Subject: Patch 7.1.203

Patch 7.1.203
Problem:    When 'virtualedit' is "onemore" then "99|" works but ":normal 99|"
            doesn't.  (Andy Wokula)
Solution:   Check for "onemore" flag in check_cursor_col().
Files:      src/misc2.c

*** ../vim-7.1.202/src/misc2.c  Sat Nov 24 21:27:33 2007
--- src/misc2.c Fri Jan  4 21:24:46 2008
***************
*** 507,517 ****
        curwin->w_cursor.col = 0;
      else if (curwin->w_cursor.col >= len)
      {
!       /* Allow cursor past end-of-line in Insert mode, restarting Insert
!        * mode or when in Visual mode and 'selection' isn't "old" */
        if ((State & INSERT) || restart_edit
  #ifdef FEAT_VISUAL
                || (VIsual_active && *p_sel != 'o')
  #endif
                || virtual_active())
            curwin->w_cursor.col = len;
--- 508,523 ----
        curwin->w_cursor.col = 0;
      else if (curwin->w_cursor.col >= len)
      {
!       /* Allow cursor past end-of-line when:
!        * - in Insert mode or restarting Insert mode
!        * - in Visual mode and 'selection' isn't "old"
!        * - 'virtualedit' is set */
        if ((State & INSERT) || restart_edit
  #ifdef FEAT_VISUAL
                || (VIsual_active && *p_sel != 'o')
+ #endif
+ #ifdef FEAT_VIRTUALEDIT
+               || (ve_flags & VE_ONEMORE)
  #endif
                || virtual_active())
            curwin->w_cursor.col = len;
*** ../vim-7.1.202/src/version.c        Fri Jan  4 17:46:46 2008
--- src/version.c       Fri Jan  4 21:22:29 2008
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     203,
  /**/

--
`When any government, or any church for that matter, undertakes to say to
 its subjects, "This you may not read, this you must not see, this you are
 forbidden to know," the end result is tyranny and oppression no matter how
 holy the motives' -- Robert A Heinlein, "If this goes on --"

 /// Bram Moolenaar -- B...@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »