SF.net SVN: geany: [1140] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Dec 21 20:47:31 UTC 2006


Revision: 1140
          http://svn.sourceforge.net/geany/?rev=1140&view=rev
Author:   eht16
Date:     2006-12-21 12:47:31 -0800 (Thu, 21 Dec 2006)

Log Message:
-----------
Start column count from 0 in the statusbar display.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-12-21 20:40:23 UTC (rev 1139)
+++ trunk/ChangeLog	2006-12-21 20:47:31 UTC (rev 1140)
@@ -7,6 +7,7 @@
    Updated date in documentation and manpage.
  * src/callbacks.c: Fixed wrong paste behaviour under Windows with some
                     applications.
+ * src/ui_utils.c: Start column count from 0 in the statusbar display.
 
 
 2006-12-20  Enrico Tröger  <enrico.troeger at uvena.de>

Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c	2006-12-21 20:40:23 UTC (rev 1139)
+++ trunk/src/ui_utils.c	2006-12-21 20:47:31 UTC (rev 1140)
@@ -113,7 +113,7 @@
 
 		text = g_strdup_printf(_("%c  line: % 4d column: % 3d  selection: % 4d   %s      mode: %s%s      cur. function: %s      encoding: %s %s     filetype: %s"),
 			(doc_list[idx].changed) ? 42 : 32,
-			(line + 1), (col + 1),
+			(line + 1), col,
 			sci_get_selected_text_length(doc_list[idx].sci) - 1,
 			sci_get_overtype(doc_list[idx].sci) ? _("OVR") : _("INS"),
 			document_get_eol_mode(idx),


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