SF.net SVN: geany: [2555] branches/custom-filetypes

ntrel at users.sourceforge.net ntrel at xxxxx
Wed May 7 12:22:59 UTC 2008


Revision: 2555
          http://geany.svn.sourceforge.net/geany/?rev=2555&view=rev
Author:   ntrel
Date:     2008-05-07 05:22:46 -0700 (Wed, 07 May 2008)

Log Message:
-----------
Add filetypes_array macro to allow use of filetypes[ft_id].

Modified Paths:
--------------
    branches/custom-filetypes/ChangeLog
    branches/custom-filetypes/plugins/pluginmacros.h

Modified: branches/custom-filetypes/ChangeLog
===================================================================
--- branches/custom-filetypes/ChangeLog	2008-05-07 12:13:58 UTC (rev 2554)
+++ branches/custom-filetypes/ChangeLog	2008-05-07 12:22:46 UTC (rev 2555)
@@ -8,6 +8,8 @@
    Move print_filetypes() out of parse_command_line_options();
  * src/dialogs.c, src/filetypes.c:
    Make Open dialog file filter work for custom filetypes.
+ * plugins/pluginmacros.h:
+   Add filetypes_array macro to allow use of filetypes[ft_id].
 
 
 2008-05-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: branches/custom-filetypes/plugins/pluginmacros.h
===================================================================
--- branches/custom-filetypes/plugins/pluginmacros.h	2008-05-07 12:13:58 UTC (rev 2554)
+++ branches/custom-filetypes/plugins/pluginmacros.h	2008-05-07 12:22:46 UTC (rev 2555)
@@ -28,7 +28,8 @@
 #define PLUGINMACROS_H
 
 #define app				geany_data->app
-#define doc_array		geany_data->doc_array
+#define doc_array		geany_data->doc_array			/* Allows use of doc_list[] macro */
+#define filetypes_array	geany_data->filetypes_array		/* Allows use of filetypes[] macro */
 #define prefs			geany_data->prefs
 #define project			app->project
 


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