Bo Peng wrote:
On 5/10/07, Stefan Schimanski <[EMAIL PROTECTED]> wrote:
Does the patch work fine with selections? I.e. is the blue of the
selection visible or overdrawn by the mathbg?

Not really, because InsetGrid is redrawn after selection is drawn. :-(

Because of line 333 of MathData.cpp,
        at->drawSelection(pi, x, y);
        at->draw(pi, x, y);

an inset is redrawn after selection box is drawn. Any background will
cover selection. The only solution is to define

draw(pi, x, y, background=true)

and

call at->draw(pi, x, y, false)

in MathData.cpp. However, this is sort of intrusive and we actually
only need this information in MathHull...

I have an idea: You can overwrite the different colors temporarily within the selection and restore them afterwrads.

Abdel.

Reply via email to