[Geany-devel] configurable status line?

2010-06-23 Thread Dimitar Zhekov
Hi, everyone, The status line is pretty crowded, as you know, so how about making it configurable? Something like: line: %l / %n\t col: %c\t sel: %s ... I can write it, if you think that's a good idea. -- E-gards: Jimmy ___ Geany-devel mailing list G

Re: [Geany-devel] configurable status line?

2010-06-23 Thread Nick Treleaven
On Wed, 23 Jun 2010 19:31:03 +0300 Dimitar Zhekov wrote: > Hi, everyone, > > The status line is pretty crowded, as you know, so how about making it > configurable? Something like: > > line: %l / %n\t col: %c\t sel: %s ... > > I can write it, if you think that's a good idea. I don't think it's

Re: [Geany-devel] configurable status line?

2010-06-26 Thread Nick Treleaven
On Wed, 23 Jun 2010 17:58:11 +0100 Nick Treleaven wrote: > On Wed, 23 Jun 2010 19:31:03 +0300 > Dimitar Zhekov wrote: > > > Hi, everyone, > > > > The status line is pretty crowded, as you know, so how about making it > > configurable? Something like: > > > > line: %l / %n\t col: %c\t sel: %s

Re: [Geany-devel] configurable status line?

2010-06-26 Thread Jiří Techet
On Sat, Jun 26, 2010 at 18:27, Nick Treleaven wrote: > On Wed, 23 Jun 2010 17:58:11 +0100 > Nick Treleaven wrote: > >> On Wed, 23 Jun 2010 19:31:03 +0300 >> Dimitar Zhekov wrote: >> >> > Hi, everyone, >> > >> > The status line is pretty crowded, as you know, so how about making it >> > configura

Re: [Geany-devel] configurable status line?

2010-06-27 Thread Dimitar Zhekov
On Sat, 26 Jun 2010 17:27:37 +0100 Nick Treleaven wrote: > OK, having thought more about it I think it could be configurable as a > hidden pref. That way we can hide any less generally useful things like > line count by default. > > So I'd accept a clean patch to do this. OK then, I'll write on

Re: [Geany-devel] configurable status line?

2010-06-27 Thread Dimitar Zhekov
Hi, This is the $subject. To preserve the status bar speed, I used only g_string_append(), as in the current code, instead of utils_string_replace_all(). There are more _append calls, but that can't be avoided. The format speifiers are: %l current line %c current column %n number of lines

Re: [Geany-devel] configurable status line?

2010-06-27 Thread Dimitar Zhekov
Hi, Here is a slightly newer version of the $subject patch. Support for %_ has been removed, it doesn't make sense if the number of spaces can not be set, and only makes the text harder to read. The default status line text is _("line: %l / %n\t col: %c ..."), not _(GEANY_DEFAULT_STATUSBAR_TEMPL

Re: [Geany-devel] configurable status line?

2010-06-27 Thread Eugene Arshinov
On Sat, 26 Jun 2010 20:31:12 +0200% Jiří Techet wrote: > On Sat, Jun 26, 2010 at 18:27, Nick Treleaven > wrote: > > On Wed, 23 Jun 2010 17:58:11 +0100 > > Nick Treleaven wrote: > > > >> On Wed, 23 Jun 2010 19:31:03 +0300 > >> Dimitar Zhekov wrote: > >> > >> > Hi, everyone, > >> > > >> > The st

Re: [Geany-devel] configurable status line?

2010-06-28 Thread Nick Treleaven
On Sun, 27 Jun 2010 15:20:24 +0300 Dimitar Zhekov wrote: > Hi, > > Here is a slightly newer version of the $subject patch. > > Support for %_ has been removed, it doesn't make sense if the number of > spaces can not be set, and only makes the text harder to read. > > The default status line te

Re: [Geany-devel] configurable status line?

2010-06-29 Thread Nick Treleaven
On Mon, 28 Jun 2010 13:13:11 +0100 Nick Treleaven wrote: > On Sun, 27 Jun 2010 15:20:24 +0300 > Dimitar Zhekov wrote: > > > Hi, > > > > Here is a slightly newer version of the $subject patch. > > > > Support for %_ has been removed, it doesn't make sense if the number of > > spaces can not be

Re: [Geany-devel] configurable status line?

2010-06-29 Thread Nick Treleaven
(The list seems to not be sending mails ATM, so sorry if I missed any reply.) On Tue, 29 Jun 2010 11:42:01 +0100 Nick Treleaven wrote: > > > To preserve the status bar speed, I used only g_string_append(), as in > > > the current code, instead of utils_string_replace_all(). There are more > > >

Re: [Geany-devel] configurable status line?

2010-06-29 Thread Nick Treleaven
On Sun, 27 Jun 2010 21:41:17 +0400 Eugene Arshinov wrote: > > Personally I find the total number of lines quite useful - it tells > > you quickly how big the file is. Also the space "wasted" by its > > presence is relatively small because it shares the caption with the > > current line number. Fo