summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/edtwin.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-02-21 21:22:15 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-02-22 13:33:24 +0100
commit31f896bb6ef922cf4250c6b971fb9d24a60592b5 (patch)
tree27056bd3ee648d1f97d0afdcb0c3370f67bf048e /sw/source/uibase/inc/edtwin.hxx
parentbde5a8623262e50c12a073eb5a78c95211a650a3 (diff)
sw btlr writing mode shell: fix up/down cursor travelling
By teaching SwEditWin::KeyInput() about 2 vertical modes: the existing tbrl one and the new btlr one. Up now correctly goes to the next character and down to the previous one. Change-Id: I71faebe62e5fa3892b37e8bea6c15d1fb84df5d1 Reviewed-on: https://gerrit.libreoffice.org/68183 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/inc/edtwin.hxx')
-rw-r--r--sw/source/uibase/inc/edtwin.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx
index 0f63aa229884..abb7f4cd68a4 100644
--- a/sw/source/uibase/inc/edtwin.hxx
+++ b/sw/source/uibase/inc/edtwin.hxx
@@ -56,12 +56,13 @@ enum class SdrHitKind;
To translate the pixel positions from the buffer OutputDevice to the real
pixel positions, use the PixelToLogic methods of this class.
*/
-class SwEditWin final : public vcl::Window,
+class SW_DLLPUBLIC SwEditWin final : public vcl::Window,
public DropTargetHelper, public DragSourceHelper
{
static QuickHelpData* m_pQuickHlpData;
- static long m_nDDStartPosX, m_nDDStartPosY;
+ static long m_nDDStartPosX;
+ static long m_nDDStartPosY;
Color m_aWaterCanTextColor; // text color; for the watering can
Color m_aWaterCanTextBackColor; // text background; for the watering can