From db954b5dc011cd73d02a64356d872568f685a1b7 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 24 Feb 2015 20:07:32 -0500 Subject: [PATCH] Add comment, so that does not happen again. --- src/Text3.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Text3.cpp b/src/Text3.cpp index e2602f031b..a6e1334221 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -476,6 +476,8 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd) cur.noScreenUpdate(); LBUFERR(this == cur.text()); + + // NOTE: This should NOT be a reference. See commit 94a5481a. CursorSlice const oldTopSlice = cur.top(); bool const oldBoundary = cur.boundary(); bool const oldSelection = cur.selection(); -- 2.39.5