Re: [code] [textadept] Scroll position in session loading and buffer switching

From: Robert Gieseke <rob.g.att.web.de>
Date: Wed, 29 Jan 2014 09:26:48 +0100

Am 28/01/14 19:47, schrieb Mitchell:
>> Maybe using and restoring first_visible_line could be a fix for this?
>
> Thanks for the follow up. I've looked into this more and identified the
> problem. ui.lua:331 needs to have:
>
> buffer:doc_line_from_visible(buffer.first_visible_line)
>
> instead of just
>
> buffer.first_visible_line
>
> No other changes were necessary. This will be fixed in the next release.

Excellent! I already switched to the nightly.

Many thanks,
Robert

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Wed 29 Jan 2014 - 03:26:48 EST

This archive was generated by hypermail 2.2.0 : Wed 29 Jan 2014 - 06:40:08 EST