]> git.lyx.org Git - features.git/commitdiff
Add comment, so that does not happen again.
authorRichard Heck <rgheck@lyx.org>
Wed, 25 Feb 2015 01:07:32 +0000 (20:07 -0500)
committerRichard Heck <rgheck@lyx.org>
Wed, 25 Feb 2015 01:07:32 +0000 (20:07 -0500)
src/Text3.cpp

index e2602f031baeea50143aaec14f0e1fc9df5a63da..a6e13342213fad668509cf55a49406a39e4cba80 100644 (file)
@@ -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();