SF.net SVN: geany:[3835] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Tue Jun 2 14:45:28 UTC 2009
Revision: 3835
http://geany.svn.sourceforge.net/geany/?rev=3835&view=rev
Author: ntrel
Date: 2009-06-02 14:45:23 +0000 (Tue, 02 Jun 2009)
Log Message:
-----------
Only use ":::" context separator for Conf, ReST, not all Misc group.
(Minor edit of yesterday's changelog.)
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/symbols.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-06-01 21:51:33 UTC (rev 3834)
+++ trunk/ChangeLog 2009-06-02 14:45:23 UTC (rev 3835)
@@ -13,8 +13,7 @@
Update docs for named styles in filetypes.* files.
* src/symbols.c:
Fix grouping symbol list children when parent name has "." character
- in for reStructuredText and Conf filetypes (and any in the Misc
- group).
+ in for reStructuredText and Conf filetypes.
* tagmanager/python.c:
Fix grouping functions/classes under a nested function.
Modified: trunk/src/symbols.c
===================================================================
--- trunk/src/symbols.c 2009-06-01 21:51:33 UTC (rev 3834)
+++ trunk/src/symbols.c 2009-06-02 14:45:23 UTC (rev 3835)
@@ -268,17 +268,6 @@
const gchar *symbols_get_context_separator(gint ft_id)
{
- GeanyFiletype *ft = filetypes[ft_id];
-
- switch (ft->group)
- {
- /* avoid confusion with other possible separators in section name for e.g. reST, Conf */
- case GEANY_FILETYPE_GROUP_MISC:
- return ":::";
- default:
- break;
- }
-
switch (ft_id)
{
case GEANY_FILETYPES_C: /* for C++ .h headers or C structs */
@@ -287,6 +276,11 @@
/*case GEANY_FILETYPES_RUBY:*/ /* not sure what to use atm*/
return "::";
+ /* avoid confusion with other possible separators in group/section name */
+ case GEANY_FILETYPES_CONF:
+ case GEANY_FILETYPES_REST:
+ return ":::";
+
default:
return ".";
}
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