|
Karsten Hopp |
6ea3f8 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
6ea3f8 |
Subject: patch 7.1.014
|
|
Karsten Hopp |
6ea3f8 |
Fcc: outbox
|
|
Karsten Hopp |
6ea3f8 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
6ea3f8 |
Mime-Version: 1.0
|
|
Karsten Hopp |
6ea3f8 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
6ea3f8 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
6ea3f8 |
------------
|
|
Karsten Hopp |
6ea3f8 |
|
|
Karsten Hopp |
6ea3f8 |
Patch 7.1.014
|
|
Karsten Hopp |
6ea3f8 |
Problem: Crash when doing C indenting. (Chris Monson)
|
|
Karsten Hopp |
6ea3f8 |
Solution: Obtain the current line again after invoking cin_islabel().
|
|
Karsten Hopp |
6ea3f8 |
Files: src/edit.c
|
|
Karsten Hopp |
6ea3f8 |
|
|
Karsten Hopp |
6ea3f8 |
|
|
Karsten Hopp |
6ea3f8 |
*** ../vim-7.1.013/src/edit.c Thu May 10 20:44:18 2007
|
|
Karsten Hopp |
6ea3f8 |
--- src/edit.c Wed Jun 20 18:25:54 2007
|
|
Karsten Hopp |
6ea3f8 |
***************
|
|
Karsten Hopp |
6ea3f8 |
*** 7215,7220 ****
|
|
Karsten Hopp |
6ea3f8 |
--- 7215,7222 ----
|
|
Karsten Hopp |
6ea3f8 |
p = ml_get_curline();
|
|
Karsten Hopp |
6ea3f8 |
if (cin_iscase(p) || cin_isscopedecl(p) || cin_islabel(30))
|
|
Karsten Hopp |
6ea3f8 |
return TRUE;
|
|
Karsten Hopp |
6ea3f8 |
+ /* Need to get the line again after cin_islabel(). */
|
|
Karsten Hopp |
6ea3f8 |
+ p = ml_get_curline();
|
|
Karsten Hopp |
6ea3f8 |
if (curwin->w_cursor.col > 2
|
|
Karsten Hopp |
6ea3f8 |
&& p[curwin->w_cursor.col - 1] == ':'
|
|
Karsten Hopp |
6ea3f8 |
&& p[curwin->w_cursor.col - 2] == ':')
|
|
Karsten Hopp |
6ea3f8 |
*** ../vim-7.1.013/src/version.c Thu Jun 28 11:59:13 2007
|
|
Karsten Hopp |
6ea3f8 |
--- src/version.c Thu Jun 28 12:26:52 2007
|
|
Karsten Hopp |
6ea3f8 |
***************
|
|
Karsten Hopp |
6ea3f8 |
*** 668,669 ****
|
|
Karsten Hopp |
6ea3f8 |
--- 668,671 ----
|
|
Karsten Hopp |
6ea3f8 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
6ea3f8 |
+ /**/
|
|
Karsten Hopp |
6ea3f8 |
+ 14,
|
|
Karsten Hopp |
6ea3f8 |
/**/
|
|
Karsten Hopp |
6ea3f8 |
|
|
Karsten Hopp |
6ea3f8 |
--
|
|
Karsten Hopp |
6ea3f8 |
Have you heard about the new Barbie doll? It's called Divorce
|
|
Karsten Hopp |
6ea3f8 |
Barbie. It comes with all of Ken's stuff.
|
|
Karsten Hopp |
6ea3f8 |
|
|
Karsten Hopp |
6ea3f8 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
6ea3f8 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
6ea3f8 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
6ea3f8 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|