SF.net SVN: geany:[2972] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Sep 18 13:25:14 UTC 2008


Revision: 2972
          http://geany.svn.sourceforge.net/geany/?rev=2972&view=rev
Author:   eht16
Date:     2008-09-18 13:25:13 +0000 (Thu, 18 Sep 2008)

Log Message:
-----------
Display also the style of the current position in the status bar when debug mode is enabled.
No need to make the debugging strings translatable in the status bar.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-09-18 12:43:41 UTC (rev 2971)
+++ trunk/ChangeLog	2008-09-18 13:25:13 UTC (rev 2972)
@@ -1,3 +1,11 @@
+2008-09-18  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/ui_utils.c:
+   Display also the style of the current position in the status bar
+   when debug mode is enabled.
+   No need to make the debugging strings translatable in the status bar.
+
+
 2008-09-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/plugins.c:

Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c	2008-09-18 12:43:41 UTC (rev 2971)
+++ trunk/src/ui_utils.c	2008-09-18 13:25:13 UTC (rev 2972)
@@ -211,7 +211,9 @@
 
 #ifdef GEANY_DEBUG
 		g_string_append(stats_str, sp);
-		g_string_append_printf(stats_str, _("pos: %d"), pos);
+		g_string_append_printf(stats_str, "pos: %d", pos);
+		g_string_append(stats_str, sp);
+		g_string_append_printf(stats_str, "style: %d", sci_get_style_at(doc->editor->sci, pos));
 #endif
 
 		/* can be overridden by status messages */


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