[LyX/master] Code reformatting.

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Mar 10 09:38:30 UTC 2021


commit 9a2b8c87cd4c0a6bbaf231124b002b3835efb9b7
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Wed Mar 10 10:41:49 2021 +0100

    Code reformatting.
---
 src/BufferView.cpp |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/BufferView.cpp b/src/BufferView.cpp
index 29056b1..7b5b3c1 100644
--- a/src/BufferView.cpp
+++ b/src/BufferView.cpp
@@ -984,15 +984,14 @@ void BufferView::scrollToCursor()
 
 bool BufferView::scrollToCursor(DocIterator const & dit, bool const recenter)
 {
-	// We are not properly started yet, delay until resizing is
-	// done.
+	// We are not properly started yet, delay until resizing is done.
 	if (height_ == 0)
 		return false;
 
 	if (recenter)
-	  LYXERR(Debug::SCROLLING, "recentering and scrolling to cursor");
+		LYXERR(Debug::SCROLLING, "recentering and scrolling to cursor");
 	else
-	  LYXERR(Debug::SCROLLING, "scrolling to cursor");
+		LYXERR(Debug::SCROLLING, "scrolling to cursor");
 
 	CursorSlice const & bot = dit.bottom();
 	TextMetrics & tm = textMetrics(bot.text());


More information about the lyx-cvs mailing list