]> git.lyx.org Git - features.git/blobdiff - src/TextMetrics.cpp
s/updateLabels/updateBuffer/g, per a suggestion of Abdel's.
[features.git] / src / TextMetrics.cpp
index 37cf7a799158f9f4dcf3151201e57f555af54f4a..b713cd5f7ea16c31c2e8616c81e996f4a9e79eb8 100644 (file)
@@ -135,7 +135,7 @@ TextMetrics::TextMetrics(BufferView * bv, Text * text)
        dim_.asc = 10;
        dim_.des = 10;
 
-       //text_->updateLabels(bv->buffer());
+       //text_->updateBuffer(bv->buffer());
 }
 
 
@@ -414,7 +414,7 @@ bool TextMetrics::redoParagraph(pit_type const pit)
                LYXERR(Debug::INFO, "MacroContext not initialised!"
                        << " Going through the buffer again and hope"
                        << " the context is better then.");
-               bv_->buffer().updateLabels();
+               bv_->buffer().updateBuffer();
                parPos = text_->macrocontextPosition();
                LASSERT(!parPos.empty(), /**/);
                parPos.pit() = pit;