diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-17 11:22:07 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-03-23 09:19:00 +0100 |
commit | c4f3d69dcf98e223cdc95abf8419f7ab96812387 (patch) | |
tree | fe8445b1c07acc97bf58e21c23c6e5f76885a780 /editeng | |
parent | 1f129c82ccbfe8a978f5a29a5786d3f6ce5f04cf (diff) |
editeng tiled rendering: implement drag of the middle selection handle
With this, it's possible to drag the middle selection handle of editeng
text (e.g. Writer shape text) and the cursor position will be updated
accordingly.
Change-Id: I2b03c8543efca477f2e377f3bb93732cd1775f81
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editview.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx index 684e7de6153a..db3b6cf643ff 100644 --- a/editeng/source/editeng/editview.cxx +++ b/editeng/source/editeng/editview.cxx @@ -1320,4 +1320,9 @@ Selection EditView::GetSurroundingTextSelection() const } } +void EditView::SetCursorLogicPosition(const Point& rPosition, bool /*bPoint*/, bool /*bClearMark*/) +{ + pImpEditView->SetCursorAtPoint(rPosition); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |