Revision: 1994 http://geany.svn.sourceforge.net/geany/?rev=1994&view=rev Author: ntrel Date: 2007-10-31 05:16:48 -0700 (Wed, 31 Oct 2007)
Log Message: ----------- Set reStructuredText default file extension .rst.
Modified Paths: -------------- trunk/ChangeLog trunk/data/filetype_extensions.conf trunk/src/filetypes.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-10-31 10:19:34 UTC (rev 1993) +++ trunk/ChangeLog 2007-10-31 12:16:48 UTC (rev 1994) @@ -1,3 +1,9 @@ +2007-10-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/filetypes.c, data/filetype_extensions.conf: + Set reStructuredText default file extension .rst. + + 2007-10-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c: Make svn error messages better readable.
Modified: trunk/data/filetype_extensions.conf =================================================================== --- trunk/data/filetype_extensions.conf 2007-10-31 10:19:34 UTC (rev 1993) +++ trunk/data/filetype_extensions.conf 2007-10-31 12:16:48 UTC (rev 1994) @@ -34,6 +34,6 @@ Conf=*.conf;*.ini;config;*rc;*.cfg; Diff=*.diff;*.patch;*.rej; LaTeX=*.tex;*.sty;*.idx; -reStructuredText=*.rest;*.reST; +reStructuredText=*.rest;*.reST;*.rst; SQL=*.sql; None=*;
Modified: trunk/src/filetypes.c =================================================================== --- trunk/src/filetypes.c 2007-10-31 10:19:34 UTC (rev 1993) +++ trunk/src/filetypes.c 2007-10-31 12:16:48 UTC (rev 1994) @@ -499,8 +499,9 @@ filetypes[GEANY_FILETYPES_REST]->lang = 28; filetypes[GEANY_FILETYPES_REST]->name = g_strdup("reStructuredText"); filetypes[GEANY_FILETYPES_REST]->title = g_strdup(_("reStructuredText file")); - filetypes[GEANY_FILETYPES_REST]->extension = g_strdup("rest"); - filetypes[GEANY_FILETYPES_REST]->pattern = utils_strv_new("*.rest", "*.reST", NULL); + filetypes[GEANY_FILETYPES_REST]->extension = g_strdup("rst"); + filetypes[GEANY_FILETYPES_REST]->pattern = utils_strv_new( + "*.rest", "*.reST", "*.rst", NULL); filetypes[GEANY_FILETYPES_REST]->style_func_ptr = styleset_none; filetypes[GEANY_FILETYPES_REST]->comment_open = NULL; filetypes[GEANY_FILETYPES_REST]->comment_close = NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.