diff options
author | Rosemary Sebastian <rosemary.seb8@gmail.com> | 2017-08-30 21:47:22 +0530 |
---|---|---|
committer | Rosemary Sebastian <rosemary.seb8@gmail.com> | 2017-08-30 21:59:22 +0530 |
commit | 0d0c80e26b5fe2c2bf78be329a441f6dffadf72a (patch) | |
tree | c2de3bfa34bb59b9dad04b45494468eaa6e743a1 | |
parent | 626dab43b49639d96d2e28821cb29975aafbfb2f (diff) |
Preserve cursor behaviour for selection deletes
Change-Id: Ie3768a589b4c44230b30c559525710c6ca8efd4c
-rw-r--r-- | sw/source/core/undo/undel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx index 0e9681af5b6d..d4f8202989f0 100644 --- a/sw/source/core/undo/undel.cxx +++ b/sw/source/core/undo/undel.cxx @@ -210,7 +210,7 @@ SwUndoDelete::SwUndoDelete( } // Move now also the PaM. The SPoint is at the beginning of a SSelection. - if( pEnd == rPam.GetPoint() && ( !bFullPara || pSttTextNd || pEndTextNd ) ) + if( pEnd == rPam.GetPoint() && ( !bFullPara || pSttTextNd || pEndTextNd ) && !m_bRedlineDelete ) rPam.Exchange(); if( !pSttTextNd && !pEndTextNd ) |