On Thursday 05 December 2002 2:15 pm, John Levon wrote:
> On Thu, Dec 05, 2002 at 01:56:33PM +0000, Angus Leeming wrote:
> > I would of course be happy to change only XWorkArea, but the cursor glyph
> > depends also on whether input is prohibitted or not and /that/ is
> > controlled by LyXView. That, therefore, is the right place to set the
> > glyph and so necessitates going through dispatch.
>
> That *sucks*. 

Well, it's not something I care too passionately about either way ;-)

Of course, an alternative would be to have a
        bool isInputProhibitted() const
method in LyXView and to interrogate that in XWorkArea. That would need the 
WorkArea to store a reference to its parent LyXView which it currently 
doesn't do, but would achieve the same level of control as my original 
solution.

Lars, which approach do you prefer?

Angus

Reply via email to