On Thursday 31 May 2001 09:41, Juergen Vigna wrote:
> This seems good to me I just would like to know what Jean-Marc tells us
> about having the Layout-Combo also in the Layout Paragraph.
> Now what does Apply and Ok, apply all the Layout as now or only the visible
> tab?
Your message is too cryptic for me; you'll have to explain further.
Actually, I've been giving a little thought to updating the Paragraph dialog
as the user moves around the document.
If an inset dialog is open, then moving the cursor from one inset to another
of the same type emits a signal and the dialog updates it's contents to
reflect the new inset.
It strikes me that we should send the same information to the Paragraph
dialog. At the moment, changing paragraphs results in a call to
LyXView::updateLayoutChoice()
which changes the Layout visible in the Toolbar combox. Instead of calling
this function, we should emit a new signal enteredParagraph(). The toolbar
would connect to this to update the Layout choice. The paragraph dialog would
connect to it too.
However, the Paragraph dialog is a bit more complicated than an inset dialog.
Clicking from one paragraph to another should update the contents of the
dialog, but if you're selecting multiple paragraphs to apply some settings to
them, then the dialog should not update. How to do this? Is their some sort
of flag saying that selection is on (so don't update the dialog)?
Angus