SF.net SVN: geany: [2652] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Jun 6 14:17:20 UTC 2008


Revision: 2652
          http://geany.svn.sourceforge.net/geany/?rev=2652&view=rev
Author:   eht16
Date:     2008-06-06 07:17:16 -0700 (Fri, 06 Jun 2008)

Log Message:
-----------
Display current file position in the status bar when compiled with GEANY_DEBUG.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/ui_utils.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-06-06 12:37:10 UTC (rev 2651)
+++ trunk/ChangeLog	2008-06-06 14:17:16 UTC (rev 2652)
@@ -1,3 +1,10 @@
+2008-06-06  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/ui_utils.c:
+   Display current file position in the status bar when compiled
+   with GEANY_DEBUG.
+
+
 2008-06-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/utils.c:

Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c	2008-06-06 12:37:10 UTC (rev 2651)
+++ trunk/src/ui_utils.c	2008-06-06 14:17:16 UTC (rev 2652)
@@ -188,6 +188,11 @@
 		g_string_append_printf(stats_str, _("scope: %s"),
 			cur_tag);
 
+#ifdef GEANY_DEBUG
+		g_string_append(stats_str, sp);
+		g_string_append_printf(stats_str, _("pos: %d"), pos);
+#endif
+
 		/* can be overridden by status messages */
 		set_statusbar(stats_str->str, TRUE);
 	}


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