Revision: 918 http://svn.sourceforge.net/geany/?rev=918&view=rev Author: eht16 Date: 2006-10-22 10:30:24 -0700 (Sun, 22 Oct 2006)
Log Message: ----------- Added shebang detection for D files (dmd).
Modified Paths: -------------- trunk/ChangeLog trunk/src/filetypes.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-10-22 16:52:42 UTC (rev 917) +++ trunk/ChangeLog 2006-10-22 17:30:24 UTC (rev 918) @@ -8,6 +8,7 @@ * src/sci_cb.c, src/sci_cb.h, src/search.c: Let the Find, Replace and FIF dialogs use the word at current cursor position if there is no selection. + * src/filetypes.c: Added shebang detection for D files (dmd).
2006-10-22 Nick Treleaven nick.treleaven@btinternet.com
Modified: trunk/src/filetypes.c =================================================================== --- trunk/src/filetypes.c 2006-10-22 16:52:42 UTC (rev 917) +++ trunk/src/filetypes.c 2006-10-22 17:30:24 UTC (rev 918) @@ -725,6 +725,8 @@ ft = filetypes[GEANY_FILETYPES_SH]; else if (strncmp(basename_interpreter, "csh", 3) == 0) ft = filetypes[GEANY_FILETYPES_SH]; + else if (strncmp(basename_interpreter, "dmd", 3) == 0) + ft = filetypes[GEANY_FILETYPES_D]; // what else to add?
g_free(basename_interpreter);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.