SF.net SVN: geany: [2083] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Dec 1 11:27:07 UTC 2007


Revision: 2083
          http://geany.svn.sourceforge.net/geany/?rev=2083&view=rev
Author:   eht16
Date:     2007-12-01 03:27:03 -0800 (Sat, 01 Dec 2007)

Log Message:
-----------
Avoid inclusion of PHP tags in PHP function descriptions.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-11-30 18:06:10 UTC (rev 2082)
+++ trunk/ChangeLog	2007-12-01 11:27:03 UTC (rev 2083)
@@ -1,3 +1,9 @@
+2007-12-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/templates.c:
+   Avoid inclusion of PHP tags in PHP function descriptions.
+
+
 2007-11-30  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
 
  * src/filetypes.c, data/filetypes.conf:

Modified: trunk/src/templates.c
===================================================================
--- trunk/src/templates.c	2007-11-30 18:06:10 UTC (rev 2082)
+++ trunk/src/templates.c	2007-12-01 11:27:03 UTC (rev 2083)
@@ -146,7 +146,10 @@
 }\n\
 ";
 
-static const gchar templates_filetype_php[] = "{fileheader}\n\
+static const gchar templates_filetype_php[] = "\
+<?php\n\
+{fileheader}\
+?>\n\n\
 <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n\
   \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n\
 <html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n\
@@ -454,8 +457,8 @@
 
 		case GEANY_FILETYPES_PHP:
 		{
-			frame_start = "<?php\n/*\n";
-			frame_end = " */\n?>\n";
+			frame_start = "/*\n";
+			frame_end = " */\n";
 			line_prefix = " *";
 			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