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

Patch 7.4a.022

Expand Messages
  • Bram Moolenaar
    Patch 7.4a.022 Problem: Using d2g$ does not delete the last character. (ZyX) Solution: Set the inclusive flag properly. Files: src/normal.c ...
    Message 1 of 3 , Jul 14, 2013
    • 0 Attachment
      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 -- Bram@... -- 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 vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • ZyX
      ... Umm. I just forwarded the message, I did not discover the error. -- -- You received this message from the vim_dev maillist. Do not top-post! Type your
      Message 2 of 3 , Jul 14, 2013
      • 0 Attachment
        > Problem: Using "d2g$" does not delete the last character. (ZyX)

        Umm. I just forwarded the message, I did not discover the error.

        --
        --
        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 vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      • Bram Moolenaar
        ... We re just shooting the messenger :-). -- Mrs Abbott: I m a paediatrician. Basil: Feet? Mrs Abbott: Children. Sybil: Oh, Basil! Basil: Well, children have
        Message 3 of 3 , Jul 14, 2013
        • 0 Attachment
          ZyX wrote:

          > > Problem: Using "d2g$" does not delete the last character. (ZyX)
          >
          > Umm. I just forwarded the message, I did not discover the error.

          We're just shooting the messenger :-).

          --
          Mrs Abbott: I'm a paediatrician.
          Basil: Feet?
          Mrs Abbott: Children.
          Sybil: Oh, Basil!
          Basil: Well, children have feet, don't they? That's how they move
          around, my dear. You must take a look next time, it's most
          interesting. (Fawlty Towers)

          /// Bram Moolenaar -- Bram@... -- 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 vim_dev+unsubscribe@....
          For more options, visit https://groups.google.com/groups/opt_out.
        Your message has been successfully submitted and would be delivered to recipients shortly.