Martin Vermeer a écrit :
On Mon, Apr 24, 2006 at 05:35:36PM +0200, Abdelrazak Younes wrote:
Jean-Marc Lasgouttes a écrit :
[...]
 +void outline(OutlineOp mode, Buffer * buf, pit_type & pit)
 +{
 +      ParagraphList & pars = buf->text().paragraphs();

Why not pass a cursor directly? What is the information available from
the TOC itself?
See Martin, Jean-Marc is on my side ;-)

OK, can you do it since you seem to know how to?

When/if I find some time this week-end, I'll do it. But feel free to beat me at this ;-)

It could be possible/nice too to increase toclevel of all the nested
headings below (i.e. if a sections becomes subsection, have its
subsections become subsubsections). Should not be too difficult if we
ignore nested text insets.
I thought this was already the case but you're right, this is a must.

Abdel.


All in all, I like this patch. I am not sure yet whether it should go
in 1.4.2, but it could go in later.
IMHO, at least the last point should be implemented before this feature ends up in 1.4.x

Show me how important you find this ;-)

Ditto ;-)

Abdel.

Reply via email to