Re: Discovering TextAdept

From: Robert <>
Date: Sat, 13 Mar 2010 10:29:19 -0800 (PST)

Could it be that some were referring to the position of the text
within the "view" not the entire Textadept window on the desktop ?
Even if not, this is something that occasionally happens: When I leave
Textadept with the cursor at the end of a line of ~80 characters the
view's content is scrolled, so that the end of the line is centered.
buffer.x_offset is 20 (minimally scrolled) when I close Textadept, 396
when I reopen.
Where is this scroll position calculated?

- Robert

On Mar 13, 5:07 pm, mitchell <> wrote:
> Hi Samwyn,
> > It seems to be implementable using gtk_window_move() and
> > gtk_window_get_position(), and I think it should be, because on
> > Windows, Maximizing window, Quitting, and Restarting TA sets the
> > window partly out of the screen.
> Right. Sorry for my vagueness. I chose not to implement this; that is
> why I said "there is no way to set position". The problem you describe
> is one we've encountered before. There was a suggestion to detect if
> the window is maximized on close and save to session, but I don't want
> to add the complexity to the code. The same goes for position (also, I
> do believe the window manager should handle the window position, not
> the application).
> Mitchell
Received on Sat 13 Mar 2010 - 13:29:19 EST

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