From: Richard Heck Date: Wed, 25 Feb 2015 01:04:10 +0000 (-0500) Subject: Partially revert b627b870, which broke cursor movement. X-Git-Tag: 2.2.0alpha1~1264 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=94a5481a1762c7c7b12220aadb211fbe83adf77b;p=lyx.git Partially revert b627b870, which broke cursor movement. --- diff --git a/src/Text3.cpp b/src/Text3.cpp index f49274fb4d..e2602f031b 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -476,7 +476,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) cur.noScreenUpdate(); LBUFERR(this == cur.text()); - CursorSlice const & oldTopSlice = cur.top(); + CursorSlice const oldTopSlice = cur.top(); bool const oldBoundary = cur.boundary(); bool const oldSelection = cur.selection(); // Signals that, even if needsUpdate == false, an update of the