Revision: 4707 http://geany.svn.sourceforge.net/geany/?rev=4707&view=rev Author: frlan Date: 2010-02-28 01:04:19 +0000 (Sun, 28 Feb 2010)
Log Message: ----------- Show number of lines of current document inside statusbar. Thanks to Can Koy for providing the patch.
Modified Paths: -------------- trunk/ChangeLog trunk/src/ui_utils.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-02-26 16:08:34 UTC (rev 4706) +++ trunk/ChangeLog 2010-02-28 01:04:19 UTC (rev 4707) @@ -1,3 +1,10 @@ +2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> + + * src/ui_utils.c: + Show number of lines of current document inside statusbar. Thanks to + Can Koy for providing the patch. + + 2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, doc/geany.txt, doc/geany.html:
Modified: trunk/src/ui_utils.c =================================================================== --- trunk/src/ui_utils.c 2010-02-26 16:08:34 UTC (rev 4706) +++ trunk/src/ui_utils.c 2010-02-28 01:04:19 UTC (rev 4707) @@ -187,8 +187,8 @@ col = 0;
/* Status bar statistics: col = column, sel = selection. */ - g_string_printf(stats_str, _("line: %d\t col: %d\t sel: %d\t "), - (line + 1), col, + g_string_printf(stats_str, _("line: %d / %d\t col: %d\t sel: %d\t "), + (line + 1), sci_get_line_count(doc->editor->sci), col, sci_get_selected_text_length(doc->editor->sci) - 1);
g_string_append(stats_str,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.