Re: size of buffer switch window

From: mitchell <mforal.n....at.gmail.com>
Date: Fri, 9 Apr 2010 18:42:42 -0700 (PDT)

Martin,

On Apr 9, 12:24 pm, morchel <morc....at.hotmail.com> wrote:
> On 9 Apr., 17:13, mitchell <mforal.n....at.gmail.com> wrote:
>
> > Martin,
>
> > > Would it be possible to have the buffer switch window as wide as the
> > > largest filename/filepath? If there are a lot of files with large
> > > paths (or big font) that just differ in the path you need to scroll
> > > everytime you switch the buffer.
>
> > I don't know how to measure text width; it varies with the font a gtk
> > theme uses.
>
> How does the 'recent buffer userlist' calculate the size? OK, I could
> have a look at the code to find out :-)

It's in Scintilla gtk/PlatGTK.cxx:2102. I'm not sure how GTK is doing
it.

Mitchell

>
> Regards,
> Martin
Received on Fri 09 Apr 2010 - 21:42:42 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:42:40 EST