Martin Vermeer a écrit :
On Sat, Apr 22, 2006 at 11:22:53AM +0200, Abdelrazak Younes wrote:
Michael Gerz a écrit :
[EMAIL PROTECTED] wrote:

...

Martin,

as you (as well as many others) want the outlining stuff to go into 1.4.X: Did you keep track of all the patches that were committed after the initial patch? I guess your latest 1.4.X patch is no longer up to date.
If you really want it in 1.4, there are a few things to polish IMHO in the outlining stuff and its link to the Toc dialog: 1) Put a limit to the "IN" button. Indeed, we need to make sure that the user won't go too deep. The "IN outline" should stop at the supported sectioning depth that depends on the document settings. 2) There are still a few crashes if you use outline on a level that present a depth jump:
1. xxx
1.0.1 xxx
1.1 xxx

Just for fun, load the attached file and look at the ordering of the
ToC. (I don't see crashes though, but perhaps they'll go away if we fix
this.)

Yes I knew about that problem from some time. Try to load your test document with lyx-qt4 :-) You will see that the order is correct but an invalid section is not shown. I did this choice to avoid problem.

Where does the ordering happen?

In "void QToc::updateToc(int newdepth)" the wrong parent is chosen. This for loop looked too complicated to me so I prefered to rewrite if with a recursive function. You can probably adapt it to Qt3 API.

Abdel.


Reply via email to