Re: [CoordBranch] Selection

2004-11-12 Thread Andre Poenitz
On Tue, Nov 09, 2004 at 08:32:48AM +0100, Alfredo Braunstein wrote: > now that drawSelection is separated from draw and called before it, the > background painting of colored insets overwrites the selection. > > A possible way of solving this is to draw the background in > InsetText::drawSelection

Re: [CoordBranch] Selection

2004-11-09 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Alfredo> are you suggesting that we rename the virtual drawSelection > Alfredo> to drawBackground in the base inset class? Too many files to > Alfredo> change ;-) > > It is just that the name drawSelection will become misleading if it > draws the background too... Y

Re: [CoordBranch] Selection

2004-11-09 Thread Jean-Marc Lasgouttes
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: Alfredo> are you suggesting that we rename the virtual drawSelection Alfredo> to drawBackground in the base inset class? Too many files to Alfredo> change ;-) It is just that the name drawSelection will become misleading if it draw

Re: [CoordBranch] Selection

2004-11-09 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: > Alfredo> now that drawSelection is separated from draw and called > Alfredo> before it, the background painting of colored insets > Alfredo> overwrites the selection. > > Alfredo> A possible way of solving this is to draw the background in > Alfredo> InsetText::drawS

Re: [CoordBranch] Selection

2004-11-09 Thread Jean-Marc Lasgouttes
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: Alfredo> now that drawSelection is separated from draw and called Alfredo> before it, the background painting of colored insets Alfredo> overwrites the selection. Alfredo> A possible way of solving this is to draw the background in

[CoordBranch] Selection

2004-11-08 Thread Alfredo Braunstein
now that drawSelection is separated from draw and called before it, the background painting of colored insets overwrites the selection. A possible way of solving this is to draw the background in InsetText::drawSelection instead of InsetText::draw (need to change LyXText::drawSelection a little bi