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.107 < prev    next >
Encoding:
Internet Message Format  |  2002-06-22  |  3.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.107
  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.107
  11. Problem:    When 'list' is set the current line in the error window may be
  12.         displayed wrong. (Muraoka Taro)
  13. Solution:   Don't continue the line after the $ has been displayed and the
  14.         rightmost column is reached.
  15. Files:        src/screen.c
  16.  
  17.  
  18. *** ../vim61.106/src/screen.c    Tue Jun 18 20:08:28 2002
  19. --- src/screen.c    Sun Jun  9 16:45:36 2002
  20. ***************
  21. *** 3384,3390 ****
  22.               mb_utf8 = FALSE;    /* don't draw as UTF-8 */
  23.   #endif
  24.           }
  25. !         else if (c == NUL && wp->w_p_list && lcs_eol_one != NUL)
  26.           {
  27.   #if defined(FEAT_DIFF) || defined(LINE_ATTR)
  28.               /* For a diff line the highlighting continues after the
  29. --- 3384,3390 ----
  30.               mb_utf8 = FALSE;    /* don't draw as UTF-8 */
  31.   #endif
  32.           }
  33. !         else if (c == NUL && wp->w_p_list && lcs_eol_one > 0)
  34.           {
  35.   #if defined(FEAT_DIFF) || defined(LINE_ATTR)
  36.               /* For a diff line the highlighting continues after the
  37. ***************
  38. *** 3417,3423 ****
  39.               }
  40.               }
  41.               c = lcs_eol;
  42. !             lcs_eol_one = NUL;
  43.               --ptr;        /* put it back at the NUL */
  44.               if (area_attr == 0 && search_attr == 0)
  45.               {
  46. --- 3417,3423 ----
  47.               }
  48.               }
  49.               c = lcs_eol;
  50. !             lcs_eol_one = -1;
  51.               --ptr;        /* put it back at the NUL */
  52.               if (area_attr == 0 && search_attr == 0)
  53.               {
  54. ***************
  55. *** 3789,3800 ****
  56.           ++row;
  57.           ++screen_row;
  58.   
  59. !         /* When not wrapping and finished diff lines, break here. */
  60. !         if (!wp->w_p_wrap
  61.   #ifdef FEAT_DIFF
  62.               && filler_todo <= 0
  63.   #endif
  64. !             )
  65.           break;
  66.   
  67.           /* When the window is too narrow draw all "@" lines. */
  68. --- 3789,3801 ----
  69.           ++row;
  70.           ++screen_row;
  71.   
  72. !         /* When not wrapping and finished diff lines, or when displayed
  73. !          * '$' and highlighting until last column, break here. */
  74. !         if ((!wp->w_p_wrap
  75.   #ifdef FEAT_DIFF
  76.               && filler_todo <= 0
  77.   #endif
  78. !             ) || lcs_eol_one == -1)
  79.           break;
  80.   
  81.           /* When the window is too narrow draw all "@" lines. */
  82. *** ../vim61.106/src/version.c    Sun Jun 23 14:39:52 2002
  83. --- src/version.c    Sun Jun 23 14:41:43 2002
  84. ***************
  85. *** 608,609 ****
  86. --- 608,611 ----
  87.   {   /* Add new patch number below this line */
  88. + /**/
  89. +     107,
  90.   /**/
  91.  
  92. -- 
  93.    GALAHAD hurries to the door and pushes through it.  As he leaves the room
  94.    we CUT TO the reverse to show that he is now in a room full of bathing
  95.    and romping GIRLIES, all innocent, wide-eyed and beautiful.  They smile
  96.    enchantingly at him as he tries to keep walking without being diverted by
  97.    the lovely sights assaulting his eyeballs.
  98.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  99.  
  100.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  101. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  102. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  103.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  104.