summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-03-07 21:39:14 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-03-08 08:33:47 +0100
commit404bfc6f78549d16de193794960a9c9ab7604511 (patch)
tree89d49a0016adbcfdd42b34d3745ef981871f2904 /soltools
parentc40c9e9ba637ab05bf8160883512424d180db6bd (diff)
sw btlr writing mode shell: left/right cursor travelling, fix vert pos
By implementing BTLR support in SwTextFrame::SwitchVerticalToHorizontal() (Point version). Cursor traveling now looks good: all of up/down/left/right direction have the correct paragraph and character position for all the lrtb, tbrl and btlr cases. As a side effect this also fixes mouse click, where clicking above the paragraph positioned the cursor at the bottom of the paragraph. Explicitly add a test for the mouse case as well, given that I initially planned to fix the keyboard part directly in SwCursor::UpDown(), where the keyboard test would pass, but not the mouse one. Change-Id: Iabeded3f03a64416cfcaf58e0438c4a1a793e662 Reviewed-on: https://gerrit.libreoffice.org/68886 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'soltools')
0 files changed, 0 insertions, 0 deletions