On Sun, Apr 15, 2007 at 01:29:04PM -0500, Bo Peng wrote:
> >For deeper bookmarks:
> >pit0, in0, pit1, in1, ..., pitn, posn file.lyx
> 
> This is certainly doable and should be the way to go. However, I am
> not confident in setting cursor to nested insets (collapsable, mathed
> etc) using a restored cursor stack. If you can supply a good
> moveToPosition function with parameter vector<std::pair<pit, pos>>, I
> will change the session part. :-)

That  vector<std::pair<pit, pos>> thingy is called 'StableDocIterator'.

It can be converted to a DocIterator by using
StableDocIterator::asDocIterator(...).

Andre'

Reply via email to