Start column count from 0 in the statusbar display.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1140 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2006-12-21 20:47:31 +00:00
parent 55815e9549
commit 63efdd312b
2 changed files with 2 additions and 1 deletions

View File

@ -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@uvena.de>

View File

@ -113,7 +113,7 @@ void ui_update_statusbar(gint idx, gint pos)
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),