Abdelrazak Younes wrote:
Abdelrazak Younes wrote:
Georg Baum wrote:
Abdelrazak Younes wrote:
As I said, there is way to solved that issue differently by painting
the
corners independently from the text.
I am not going to rip the draw machinery apart right now, because I
don't
know enough about it and I also think that now is not the right
moment to
do so.
Well, your patch is much riskier believe me. I was about to propose to
do that myself and it is basically the opposite of what your patch is
doing. I create a Decoration flag used only in math (but that can be
used later by other inset).
Here is the patch. I also changed the ViewMetricInfo in prevision for
future use and change rowpainter.C accordingly.
As with your patch, math navigation is much better with with patch but
not everything is solved. Selection in particular will always recentre
the formula. I'll put it in during the week-end if I don't get objection.
I could not wait cause I will not be able to do this in the next days. I
am pretty sure this is correct anyway. Please revert if you disagree.
Sorry about that,
Abdel.
PS: Bo, with the new InsetBase::drawDecoration(), it should be possible
to have the same hover effects for math corners as with the button
insets. Could be nice ;-)