Revision: 2081 http://geany.svn.sourceforge.net/geany/?rev=2081&view=rev Author: frlan Date: 2007-11-30 10:04:25 -0800 (Fri, 30 Nov 2007)
Log Message: ----------- Added .ltx as extension for LaTeX-documents
Modified Paths: -------------- trunk/data/filetype_extensions.conf trunk/src/filetypes.c
Modified: trunk/data/filetype_extensions.conf =================================================================== --- trunk/data/filetype_extensions.conf 2007-11-30 18:01:43 UTC (rev 2080) +++ trunk/data/filetype_extensions.conf 2007-11-30 18:04:25 UTC (rev 2081) @@ -1,4 +1,5 @@ #*** This file generated by: geany --generate-data-files *** + #Filetype extension configuration file for Geany #Insert as many items as you want, seperate them with a ";". #See Geany's main documentation for details. @@ -33,7 +34,7 @@ XML=*.xml;*.sgml;*.xsl;*.xslt;*.xsd; Conf=*.conf;*.ini;config;*rc;*.cfg; Diff=*.diff;*.patch;*.rej; -LaTeX=*.tex;*.sty;*.idx; +LaTeX=*.tex;*.sty;*.idx;*.ltx; reStructuredText=*.rest;*.reST;*.rst; SQL=*.sql; None=*;
Modified: trunk/src/filetypes.c =================================================================== --- trunk/src/filetypes.c 2007-11-30 18:01:43 UTC (rev 2080) +++ trunk/src/filetypes.c 2007-11-30 18:04:25 UTC (rev 2081) @@ -401,7 +401,7 @@ filetypes[GEANY_FILETYPES_LATEX]->name = g_strdup("LaTeX"); filetypes[GEANY_FILETYPES_LATEX]->title = g_strdup_printf(_("%s source file"), "LaTeX"); filetypes[GEANY_FILETYPES_LATEX]->extension = g_strdup("tex"); - filetypes[GEANY_FILETYPES_LATEX]->pattern = utils_strv_new("*.tex", "*.sty", "*.idx", NULL); + filetypes[GEANY_FILETYPES_LATEX]->pattern = utils_strv_new("*.tex", "*.sty", "*.idx", "*.ltx", NULL); filetypes[GEANY_FILETYPES_LATEX]->comment_open = g_strdup("%"); filetypes[GEANY_FILETYPES_LATEX]->comment_close = NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.