X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCursor.cpp;h=7afefcf372e3b7cd26558c69af60f8dd28ecf55d;hb=293b8dbe67dc025d03d0523d0079f71f5ab62ce3;hp=ad46e8c50567e61af367f7b1c90e26133393086d;hpb=f28affd421a30b7c8620b6aedf76bfa665321733;p=features.git diff --git a/src/Cursor.cpp b/src/Cursor.cpp index ad46e8c505..7afefcf372 100644 --- a/src/Cursor.cpp +++ b/src/Cursor.cpp @@ -322,6 +322,7 @@ DocIterator CursorData::selectionEnd() const if (di.depth() > depth()) { di.resize(depth()); ++di.pos(); + di.boundary(true); } return di; }