SF.net SVN: geany: [1447] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Apr 13 16:51:48 UTC 2007


Revision: 1447
          http://svn.sourceforge.net/geany/?rev=1447&view=rev
Author:   eht16
Date:     2007-04-13 09:51:48 -0700 (Fri, 13 Apr 2007)

Log Message:
-----------
Fixed missing calltip display when using a space after a symbol name (thanks to Anh Ph?\225?\186?\161m for reporting).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/sci_cb.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-04-13 11:42:25 UTC (rev 1446)
+++ trunk/ChangeLog	2007-04-13 16:51:48 UTC (rev 1447)
@@ -1,3 +1,9 @@
+2007-04-13  Enrico Tröger  <enrico.troeger at uvena.de>
+
+ * src/sci_cb.c: Fixed missing calltip display when using a space after
+                 a symbol name (thanks to Anh Phạm for reporting).
+
+
 2007-04-13  Nick Treleaven  <nick.treleaven at btinternet.com>
 
  * src/sci_cb.c, tagmanager/tm_tag.c, tagmanager/tm_workspace.c:

Modified: trunk/src/sci_cb.c
===================================================================
--- trunk/src/sci_cb.c	2007-04-13 11:42:25 UTC (rev 1446)
+++ trunk/src/sci_cb.c	2007-04-13 16:51:48 UTC (rev 1447)
@@ -203,7 +203,7 @@
 		}
 		case '(':
 		{	// show calltips
-			sci_cb_show_calltip(idx, pos);
+			sci_cb_show_calltip(idx, --pos);
 			break;
 		}
 		case ')':
@@ -223,7 +223,7 @@
 			if (sci_get_lexer(sci) == SCLEX_LATEX)
 			{
 				auto_close_bracket(sci, pos, nt->ch);	// Tex auto-closing
-				sci_cb_show_calltip(idx, pos);
+				sci_cb_show_calltip(idx, --pos);
 			}
 			break;
 		}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list