From: Scott Kostyshak Date: Sun, 19 Apr 2020 13:02:04 +0000 (-0400) Subject: Fix debug message X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cb57acbc5f2f042d5b346fd5d7eac0f704bdbf54;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()];