commit 721d39ddc7dc5b89eec3f7d2f19de89d6266e90c
Author: Scott Kostyshak <[email protected]>
Date:   Sun Apr 19 09:02:04 2020 -0400

    Fix debug message
---
 src/BufferView.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index 9430ba4..621b58e 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -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()];
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to