SF.net SVN: geany: [1681] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Mon Jul 9 13:16:26 UTC 2007


Revision: 1681
          http://svn.sourceforge.net/geany/?rev=1681&view=rev
Author:   eht16
Date:     2007-07-09 06:16:26 -0700 (Mon, 09 Jul 2007)

Log Message:
-----------
Always show calltip for PHP files.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-07-09 12:46:16 UTC (rev 1680)
+++ trunk/ChangeLog	2007-07-09 13:16:26 UTC (rev 1681)
@@ -3,6 +3,7 @@
  * src/filetypes.c, src/filetypes.h:
    Change name of XML filetype to "XML document".
    Add sub menus to "Set Filetype" menu.
+ * src/editor.c: Always show calltip for PHP files.
 
 
 2007-07-08  Enrico Tröger  <enrico.troeger at uvena.de>

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2007-07-09 12:46:16 UTC (rev 1680)
+++ trunk/src/editor.c	2007-07-09 13:16:26 UTC (rev 1681)
@@ -859,9 +859,6 @@
 	style = SSM(sci, SCI_GETSTYLEAT, pos, 0);
 	if (is_comment(lexer, style))
 		return FALSE;
-	// never show a calltip in a PHP file outside of the <? ?> tags
-	if (lexer == SCLEX_HTML && ! (style >= SCE_HPHP_DEFAULT && style <= SCE_HPHP_OPERATOR))
-		return FALSE;
 
 	word[0] = '\0';
 	editor_find_current_word(sci, pos - 1, word, sizeof word, NULL);


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