home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.128 < prev    next >
Encoding:
Internet Message Format  |  2002-07-13  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.128
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.128
  11. Problem:    The expression "input('very long prompt')" puts the cursor in the
  12.         wrong line (column is OK).
  13. Solution:   Add the wrapped lines to the indent. (Yasuhiro Matsumoto)
  14. Files:        src/ex_getln.c
  15.  
  16.  
  17. *** ../vim61.127/src/ex_getln.c    Sat Mar 16 13:45:04 2002
  18. --- src/ex_getln.c    Sun Jul 14 16:35:18 2002
  19. ***************
  20. *** 2169,2175 ****
  21.       if (ccline.cmdprompt != NULL)
  22.       {
  23.       msg_puts_attr(ccline.cmdprompt, ccline.cmdattr);
  24. !     ccline.cmdindent = msg_col;
  25.       }
  26.       else
  27.       for (i = ccline.cmdindent; i > 0; --i)
  28. --- 2170,2179 ----
  29.       if (ccline.cmdprompt != NULL)
  30.       {
  31.       msg_puts_attr(ccline.cmdprompt, ccline.cmdattr);
  32. !     ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
  33. !     /* do the reverse of set_cmdspos() */
  34. !     if (ccline.cmdfirstc)
  35. !         --ccline.cmdindent;
  36.       }
  37.       else
  38.       for (i = ccline.cmdindent; i > 0; --i)
  39. *** ../vim61.127/src/version.c    Sat Jul 13 15:34:13 2002
  40. --- src/version.c    Sun Jul 14 16:28:34 2002
  41. ***************
  42. *** 608,609 ****
  43. --- 608,611 ----
  44.   {   /* Add new patch number below this line */
  45. + /**/
  46. +     128,
  47.   /**/
  48.  
  49. -- 
  50. ARTHUR:       Now stand aside worthy adversary.
  51. BLACK KNIGHT: (Glancing at his shoulder) 'Tis but a scratch.
  52. ARTHUR:       A scratch?  Your arm's off.
  53.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  54.  
  55.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  56. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  57. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  58.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  59.