From: Scott Kostyshak Date: Sun, 19 Apr 2020 13:02:04 +0000 (-0400) Subject: Fix debug message X-Git-Tag: lyx-2.4.0dev-acb2ca7b~981 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=721d39ddc7dc5b89eec3f7d2f19de89d6266e90c;p=features.git Fix debug message --- diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 9430ba4632..621b58ef26 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()];