]> git.lyx.org Git - features.git/commit
Fixed bug 3449 by Stefan Schimanski:
authorAbdelrazak Younes <younes@lyx.org>
Mon, 16 Apr 2007 14:42:53 +0000 (14:42 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 16 Apr 2007 14:42:53 +0000 (14:42 +0000)
commite216ceee772cc0d4e2f24068c914de751f322083
tree09b5d2862a1022187296dec8756dfa45de4791f1
parent3ad8ca04b98074988614eaef6901cd6fe6bdd9fd
Fixed bug 3449 by Stefan Schimanski:
http://bugzilla.lyx.org/show_bug.cgi?id=3449

One problem was no metric calculation was done for insets on cursor movement. Of course scrolling or entering character caused the missing metric calls, hence the described behavior in the bug report. This is fixed by re-implementing idxLast(), idxFirst() and notifyCursorLeaves().

Another problem was that 'a' and '1' were drawn at the same position because of a mis-calculation of the x-position in InsetMathMacro::draw().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17826 a592a061-630c-0410-9148-cb99ea01b6c8
src/mathed/InsetMathMacro.C
src/mathed/InsetMathMacro.h