Re: Lyx-1.4cvs: label inserted inside ERT

2005-04-13 Thread Georg Baum
Georg Baum wrote: > I'll commit this unless somebody finds more problems. Done. Georg

Re: Lyx-1.4cvs: label inserted inside ERT

2005-04-10 Thread Georg Baum
Am Montag, 28. März 2005 22:33 schrieb Angus Leeming: > Georg Baum wrote: > > Therefore I took the idea a bit further and came up with the attached > > patch. checkStatus() is implemented in the base class and calls > > getStatus with LFUN_INSET_APPLY. This is handled in > > InsetBase::getStatus()

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-28 Thread Angus Leeming
Georg Baum wrote: >> Angus> The point being that the core would explicitly tell individual >> Angus> (named) dialogs when it was illegal to Apply their contents. >> >> Angus> Your suggesting (if I understand correctly) that each and every >> Angus> open dialog should recieve notification that it s

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-28 Thread Georg Baum
Am Montag, 21. März 2005 12:14 schrieb Jean-Marc Lasgouttes: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> The point being that the core would explicitly tell individual > Angus> (named) dialogs when it was illegal to Apply their contents. > > Angus> Your suggesting (if

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-21 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The point being that the core would explicitly tell individual Angus> (named) dialogs when it was illegal to Apply their contents. Angus> Your suggesting (if I understand correctly) that each and every Angus> open dialog should rec

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-21 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Conceptually, doing so is easy. We just need to tell the Dialog > Angus> that the buffer has become readOnly, no? That way, the OK and > Angus> Apply buttons will be disabled. > > Angus> Here's an unchecked implementation of the idea. Frontend only. > Angus> No

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-21 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Conceptually, doing so is easy. We just need to tell the Dialog Angus> that the buffer has become readOnly, no? That way, the OK and Angus> Apply buttons will be disabled. Angus> Here's an unchecked implementation of the idea. Fron

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-21 Thread Angus Leeming
Georg Baum wrote: > Angus Leeming wrote: > >> Here's an unchecked implementation of the idea. Frontend only. No hooks >> from the core. However, I'm sure that you'll be able to turn this into >> working code ;-) > > I'll try to do that later. > > Thanks! My pleasure. One refinement. It probabl

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-21 Thread Georg Baum
Angus Leeming wrote: > Here's an unchecked implementation of the idea. Frontend only. No hooks > from the core. However, I'm sure that you'll be able to turn this into > working code ;-) I'll try to do that later. Thanks! Georg

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-20 Thread Angus Leeming
Georg Baum wrote: >> If I may misquote our UI guru (let's call him John L.), "modal dialogs >> suck". Apparently. John can probably provide references to appropriately >> important web pages to back up my (mis)quoting. > > OK, but LyX does not seem to be ready to use non-modal inset dialogs. In >

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-20 Thread Georg Baum
Am Samstag, 19. März 2005 18:59 schrieb Angus Leeming: > Georg Baum wrote: > > > Helge Hafting wrote: > > > >> One can normally not insert a label inside ERT, as most of the toolbar > >> goes gray when entering an ERT. It is possible another way though: > >> > >> 1. Insert a label. Type somet

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-19 Thread Angus Leeming
Georg Baum wrote: > Helge Hafting wrote: > >> One can normally not insert a label inside ERT, as most of the toolbar >> goes gray when entering an ERT. It is possible another way though: >> >> 1. Insert a label. Type something into the label dialog, but don't >> finish it. >> 2. Press the ERT

Re: Lyx-1.4cvs: label inserted inside ERT

2005-03-14 Thread Georg Baum
Helge Hafting wrote: > One can normally not insert a label inside ERT, as most of the toolbar > goes gray when entering an ERT. It is possible another way though: > > 1. Insert a label. Type something into the label dialog, but don't > finish it. > 2. Press the ERT button on the toolbar while t