Dekel Tsur wrote:
> 
> On Sun, Apr 30, 2000 at 12:26:43AM +0200, Asger K. Alstrup Nielsen wrote:
> > > (1) void LyXParagraph::String(string & s)
> > > that writes the paragraph into the string s.
> > >
> > > The alternative is
> > > (2) string LyXParagraph::String()
> > > that returns a string from the paragraph.
> > >
> 
> > This is what (1) could signal to me, and in this case, it would be
> > arguably better to use (1) than (3).
> 
> OK. I've changed my patch to (2).
> The attached patch contains both ToC & Refs menus (and it also simplifies
> existing code).
> 
>   ------------------------------------------------------------------------
>                Name: patch.gz
>    patch.gz    Type: application/x-gzip
>            Encoding: base64
Just tested it. It's really nice to be able to get to TOC without having
to find it in the doc. Both methods worked with Section Number Depth set
to -1 or -2.
Thanks
Garst

Reply via email to