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

77610Patch 7.4.418

Expand Messages
  • Bram Moolenaar
    Aug 29, 2014
      Patch 7.4.418
      Problem: When leaving ":append" the cursor shape is like in Insert mode.
      (Jacob Niehus)
      Solution: Do not have State set to INSERT when calling getline().
      Files: src/ex_cmds.c


      *** ../vim-7.4.417/src/ex_cmds.c 2014-08-06 18:17:03.471147780 +0200
      --- src/ex_cmds.c 2014-08-29 08:54:26.666398204 +0200
      ***************
      *** 4011,4021 ****
      --- 4011,4029 ----
      eap->nextcmd = p;
      }
      else
      + {
      + int save_State = State;
      +
      + /* Set State to avoid the cursor shape to be set to INSERT mode
      + * when getline() returns. */
      + State = CMDLINE;
      theline = eap->getline(
      #ifdef FEAT_EVAL
      eap->cstack->cs_looplevel > 0 ? -1 :
      #endif
      NUL, eap->cookie, indent);
      + State = save_State;
      + }
      lines_left = Rows - 1;
      if (theline == NULL)
      break;
      *** ../vim-7.4.417/src/version.c 2014-08-24 21:39:45.488526954 +0200
      --- src/version.c 2014-08-29 08:58:31.086398738 +0200
      ***************
      *** 743,744 ****
      --- 743,746 ----
      { /* Add new patch number below this line */
      + /**/
      + 418,
      /**/

      --
      hundred-and-one symptoms of being an internet addict:
      88. Every single time you press the 'Get mail' button...it does get new mail.

      /// 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/d/optout.