On Tue, Jan 10, 2006 at 02:26:48PM +0100, Abdel wrote:
> >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?

The current Navigate menu? 

I'd think this is pure GUI stuff and should only call a few (new)
LFUNs (section-depth-{in,de}crease or similar) working on a selection
or something.

> >Could be extended to shift whole sections up and down.
> 
> I guess we could re-use cut&paste for this, couldn't we?

Probably, yes. But c&p is close to the dirty corners in LyX, so
'obvious' stuff might not be implemnetable as easy as it looks.

> >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 ;-)

It usually is ;-}

Andre'

Reply via email to