Revision: 416 Author: eht16 Date: 2006-06-06 10:23:27 -0700 (Tue, 06 Jun 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=416&view=rev
Log Message: ----------- added Nick and Frank to AUTHORS, enabled folding for markup filetypes
Modified Paths: -------------- trunk/AUTHORS trunk/ChangeLog trunk/src/highlighting.c Modified: trunk/AUTHORS =================================================================== --- trunk/AUTHORS 2006-06-06 16:38:19 UTC (rev 415) +++ trunk/AUTHORS 2006-06-06 17:23:27 UTC (rev 416) @@ -1 +1,3 @@ Enrico Troeger enrico.troeger@uvena.de +Nick Treleaven nick.treleaven@btinternet.com +Frank Lanitz frank@frank.uvena.de
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-06-06 16:38:19 UTC (rev 415) +++ trunk/ChangeLog 2006-06-06 17:23:27 UTC (rev 416) @@ -1,3 +1,9 @@ +2006-06-06 Enrico Troeger enrico.troeger@uvena.de + + * src/highlighting.c: enabled folding for markup filetypes + (HTML, XML, PHP, DocBook) + + 2006-06-05 Nick Treleaven nick.treleaven@btinternet.com
* doc/geany.docbook: Added save current file behaviour when building.
Modified: trunk/src/highlighting.c =================================================================== --- trunk/src/highlighting.c 2006-06-06 16:38:19 UTC (rev 415) +++ trunk/src/highlighting.c 2006-06-06 17:23:27 UTC (rev 416) @@ -1070,6 +1070,9 @@ styleset_set_style(sci, SCE_HPHP_OPERATOR, GEANY_FILETYPES_XML, 40); styleset_set_style(sci, SCE_HPHP_HSTRING_VARIABLE, GEANY_FILETYPES_XML, 41); styleset_set_style(sci, SCE_HPHP_COMPLEX_VARIABLE, GEANY_FILETYPES_XML, 42); + + SSM(sci, SCI_SETPROPERTY, (sptr_t) "fold.html", (sptr_t) "1"); + SSM(sci, SCI_SETPROPERTY, (sptr_t) "fold.html.preprocessor", (sptr_t) "1"); }
@@ -1649,6 +1652,9 @@ styleset_set_style(sci, SCE_H_SGML_BLOCK_DEFAULT, GEANY_FILETYPES_DOCBOOK, 26); styleset_set_style(sci, SCE_H_SGML_1ST_PARAM_COMMENT, GEANY_FILETYPES_DOCBOOK, 27); styleset_set_style(sci, SCE_H_SGML_ERROR, GEANY_FILETYPES_DOCBOOK, 28); + + SSM(sci, SCI_SETPROPERTY, (sptr_t) "fold.html", (sptr_t) "1"); + SSM(sci, SCI_SETPROPERTY, (sptr_t) "fold.html.preprocessor", (sptr_t) "1"); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.