]> git.lyx.org Git - features.git/commitdiff
Fill the paragraph metrics cache before checkInsetHit is called and asserts in getPit...
authorVincent van Ravesteijn <vfr@lyx.org>
Wed, 25 Mar 2009 20:40:43 +0000 (20:40 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Wed, 25 Mar 2009 20:40:43 +0000 (20:40 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28908 a592a061-630c-0410-9148-cb99ea01b6c8

src/TextMetrics.cpp

index dbf767f821f775cdce8192a9e4521822a6fec53f..999308e26a6595e5ce612c47e9fc81d552e05926 100644 (file)
@@ -129,7 +129,7 @@ TextMetrics::TextMetrics(BufferView * bv, Text * text)
        dim_.wid = max_width_;
        dim_.asc = 10;
        dim_.des = 10;
-
+       parMetrics(0, true);
        //text_->updateLabels(bv->buffer());
 }