diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-03-27 23:09:59 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-03-27 23:47:00 +0100 |
commit | b227a8e4d65e4bbfe991aed9342fe3e30eca8639 (patch) | |
tree | 64ca9d8b92092739385bf64a8ff97a067f8350b7 /i18npool | |
parent | 159edc43135bd02f6d507424c3b0546c2e03851f (diff) |
fdo#60513: SwCrsrShell::Push(): take position from table cursor
If there is a table cursor, store its point/mark position on the cursor
stack instead of pCurCrsr, which in this case is just one cell in a ring
that contains a SwShellCrsr for every selected cell.
SwCrsrShell::Pop() is surprisingly able to restore the prior state,
because it calls UpdateCrsr(), which detects that the pCurCrsr spans
multiple table cells and re-creates pTblCrsr, and then later on the
first GetCrsr() call SwTableCursor::MakeBoxSels() will restore the ring
of SwShellCrsrs from the pTblCrsr selection.
Change-Id: Ibe9a7f379ece61c7dab1a6f69abaebf42a4c85ec
Diffstat (limited to 'i18npool')
0 files changed, 0 insertions, 0 deletions