Yes, it is written in ~/.lyx/session every time I exit LyX.
It seems it is not read back (or used) when opening LyX again.
But, even stranger, it does work for some files, apparently those created
using LyX versions 2.1. For those files the cursor position is correctly
restored even when the position and/or the file is modified with v. 2.2.1.
And even for them the cursor position is written in  ~/.lyx/session with
the same syntax, e.g.:
12, 4, /home/myHome/file.lyx

2016-07-26 21:31 GMT+02:00 LyX Ticket Tracker <t...@lyx.org>:

> #10310: Session handling does not restore cursor position
> ----------------------+-------------------------
>  Reporter:  danchisi  |       Owner:  lasgouttes
>      Type:  defect    |      Status:  new
>  Priority:  normal    |   Milestone:
> Component:  general   |     Version:  2.2.1
>  Severity:  normal    |  Resolution:
>  Keywords:            |
> ----------------------+-------------------------
>
> Comment (by skostysh):
>
>  Replying to [ticket:10310 danchisi]:
>
>  I believe this information is stored in the "sessions" file in your user
>  directory (see Help > About). Is the location indeed written to it when
>  you exit LyX?
>
> --
> Ticket URL: <http://www.lyx.org/trac/ticket/10310#comment:2>
> The LyX Project <http://www.lyx.org/>
> LyX -- The Document Processor
>

Reply via email to