diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-04-07 09:11:09 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-04-07 10:57:04 +0200 |
commit | 07a1442b2441cc032c05fd9abf5b1a8db6c7e007 (patch) | |
tree | ff55f3f4b52c2b208becaecd709af3f39595487b /uitest/math_tests | |
parent | 9a773e8ca65ccb30cdfbf47b94aabe356df8cad2 (diff) |
sw content controls: select the content on click when showing placeholder
- teach SwCursorShell::GetContentAtPos() about a new IsAttrAtPos::ContentControl
- add a new SwCursorShell::GotoFormatContentControl() to select a
content control, and a SwWrtShell::GotoContentControl() wrapper around
it
- combine these together in SwEditWin::MouseButtonUp()
The intention is that when you open a document and you click on a
placeholder text like "Click here to enter text", then this content is
pre-selected (so typing overwrites it), but typing real content there
disables this behavior.
Change-Id: Ia539865da7b18c41cbfb398282842bdb2e25f0bc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132652
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'uitest/math_tests')
0 files changed, 0 insertions, 0 deletions