SF.net SVN: geany-plugins:[1325] trunk/geanygendoc/src/ggd.c

colombanw at users.sourceforge.net colombanw at xxxxx
Sat May 1 17:47:37 UTC 2010


Revision: 1325
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1325&view=rev
Author:   colombanw
Date:     2010-05-01 17:47:37 +0000 (Sat, 01 May 2010)

Log Message:
-----------
GeanyGenDoc: Display a message when no setting applies to a tag

This eases writing/debugging of rules, and is not that intrusive for
production use.

Modified Paths:
--------------
    trunk/geanygendoc/src/ggd.c

Modified: trunk/geanygendoc/src/ggd.c
===================================================================
--- trunk/geanygendoc/src/ggd.c	2010-05-01 17:47:09 UTC (rev 1324)
+++ trunk/geanygendoc/src/ggd.c	2010-05-01 17:47:37 UTC (rev 1325)
@@ -471,6 +471,11 @@
       } else {
         g_hash_table_insert (tag_done_table, (gpointer)tag, (gpointer)tag);
       }
+    } else if (! setting) {
+      msgwin_status_add (_("No setting applies to symbol \"%s\" of type \"%s\" "
+                           "at line %lu"),
+                         tag->name, ggd_tag_get_type_name (tag),
+                         tag->atts.entry.line);
     }
   }
   sci_end_undo_action (sci);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list