]> git.lyx.org Git - features.git/commitdiff
Fix debug message
authorScott Kostyshak <skostysh@lyx.org>
Sun, 19 Apr 2020 13:02:04 +0000 (09:02 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 19 Apr 2020 14:04:12 +0000 (10:04 -0400)
src/BufferView.cpp

index 9430ba46320af8709136c882a0cc887b6ede6d02..621b58ef26fc74fdeeb6b0242bc39ab92c61e9f7 100644 (file)
@@ -938,7 +938,10 @@ bool BufferView::scrollToCursor(DocIterator const & dit, bool const recenter)
        if (height_ == 0)
                return false;
 
-       LYXERR(Debug::SCROLLING, "recentering!");
+       if (recenter)
+         LYXERR(Debug::SCROLLING, "recentering and scrolling to cursor");
+       else
+         LYXERR(Debug::SCROLLING, "scrolling to cursor");
 
        CursorSlice const & bot = dit.bottom();
        TextMetrics & tm = d->text_metrics_[bot.text()];