Add comment, so that does not happen again.

This commit is contained in:
Richard Heck 2015-02-24 20:07:32 -05:00
parent 94a5481a17
commit db954b5dc0

View 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();