]> git.lyx.org Git - features.git/commitdiff
revert change in revision 15375. It had bad side effect on buffer-end and buffer...
authorAbdelrazak Younes <younes@lyx.org>
Fri, 20 Oct 2006 12:38:26 +0000 (12:38 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 20 Oct 2006 12:38:26 +0000 (12:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15401 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.C

index 9d346916490c22edf6c6c8299b22eb241ec8431b..852af5807e6a26aaa4a16c34c55fdda8ea1c263e 100644 (file)
@@ -1264,11 +1264,11 @@ void BufferView::updateMetrics(bool singlepar)
        // FIXME (Abdel 19/10/2006):
        // There's something fishy in tabular. The coord_cache_ is not
        // correctly reconstructed when a character is trying to be inserted.
-       // Not clearing out the coord_cache_ fixes the crash but I don't know
-       // what side effect this could have on other insets.
+       // Not clearing out the coord_cache_ fixes the crash but there is a
+       // bad side effect: buffer-begin and buffer-end do not update the screen.
        //
        // Remove old position cache
-       // coord_cache_.clear();
+       coord_cache_.clear();
 
        LyXText & buftext = buffer_->text();
        lyx::pit_type size = int(buftext.paragraphs().size());