The following patch shows on status bar the number of lines in current document.
Index: src/ui_utils.c =================================================================== --- src/ui_utils.c (revision 4704) +++ src/ui_utils.c (working copy) -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,
Hi Can,
On Thu, 25 Feb 2010 03:34:24 -0800 (PST) Can Koy cankoy@ymail.com wrote:
The following patch shows on status bar the number of lines in current document.
Thanks very much. I liked it and applied it with svn r4707.
Thanks, Frank