Andre Poenitz a écrit :
On Mon, Jan 09, 2006 at 10:22:48AM +0100, Kevin Pfeiffer wrote:
Helge Hafting writes:
I don't know how this "format painter" works, but here is something
I imagine could be useful:
* Mark the part of the document to be changed - possibly all
* Use a menu (or keypress) to change "heading level" up or down,
similiar to how we already can change the "environment depth".
This is more or less what I was thinking of -- something similar to the
Apply function in the paragraph and character menus: you choose a new
parameter (such as subparagraph), select a section to be changed (or in
the case of a single line, simple place the cursor somewhere on it) and
click something to apply the new parameter. The method you describe
sounds equally (perhaps more) useful.
This functionality could be implemneted in the Navigate menu in the
Qt frontend: Make the menu a list view, allowm multiple selection,
create and connect actions to movce things a level in or out.
I was thinking about modifying the TOC dialog to do exactly this: allow
moving a section and all it's dependencies to any upper or lower node
you want. The TOC could even become a dock widget on the left "a la
MSWord" and allow on-the-fly updating. Do you reckon the Navigate-Menu
code is cleaner for this?
Could be extended to shift whole sections up and down.
I guess we could re-use cut&paste for this, couldn't we?
Less than 200 lines for the in/out part I'd bet.
Once you know what to do, it's always short to implement it ;-)
Abdel.
Andre'