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 / old / 5.5.063 < prev    next >
Encoding:
Internet Message Format  |  1999-12-07  |  1.3 KB

  1. To: vim-dev@vim.org
  2. Subject: patch 5.5.063
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.5.063
  8. Problem:    When using whole-line completion in Insert mode, 'cindent' is
  9.         applied, even after changing the indent of the line.
  10. Solution:   Don't reindent the completed line after inserting/removing indent.
  11.         (Robert Webb)
  12. Files:        src/edit.c
  13.  
  14.  
  15. *** ../vim-5.5.62/src/edit.c    Wed Sep 22 10:06:20 1999
  16. --- src/edit.c    Wed Dec  8 11:23:05 1999
  17. ***************
  18. *** 2033,2039 ****
  19.           {
  20.   #ifdef CINDENT
  21.           /* re-indent the current line */
  22. !         if (curbuf->b_p_cin)
  23.               fixthisline(get_c_indent);
  24.   #endif
  25.           }
  26. --- 2033,2039 ----
  27.           {
  28.   #ifdef CINDENT
  29.           /* re-indent the current line */
  30. !         if (can_cindent && curbuf->b_p_cin)
  31.               fixthisline(get_c_indent);
  32.   #endif
  33.           }
  34. *** ../vim-5.5.62/src/version.c    Tue Dec  7 19:57:51 1999
  35. --- src/version.c    Wed Dec  8 11:49:10 1999
  36. ***************
  37. *** 420,420 ****
  38. --- 420,421 ----
  39.   {   /* Add new patch number below this line */
  40. +     63,
  41.  
  42. -- 
  43. GALAHAD: No. Look, I can tackle this lot single-handed!
  44. GIRLS:   Yes, yes, let him Tackle us single-handed!
  45.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  46.  
  47. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  48.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  49.