summaryrefslogtreecommitdiff
path: root/include/vcl/textdata.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-19 12:26:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-19 15:32:00 +0000
commit49cecd8b41cac29cc9642944eaae5b5f63a1bd46 (patch)
tree133343199ab3a5f06e7ea1b858a88125466bcc5a /include/vcl/textdata.hxx
parente77819f578b4b01314359380e6f115bacb9967f5 (diff)
Related: fdo#74242 hook up a selection and caret change for multiline edits
a) split the textengine selection changed broadcast into a text selection changed and text caret change event b) handle both in existing places that handled the text selection event c) listen for them in VclMultiLineEdit and translate to VCLEVENT_EDIT_SELECTIONCHANGED VCLEVENT_EDIT_CARETCHANGED events d) profit from the VCLEVENT_EDIT_SELECTIONCHANGED and VCLEVENT_EDIT_CARETCHANGED handling in accessibility/source/standard/vclxaccessibleedit.cxx for VCLXAccessibleEdits Change-Id: I09187e76ae4eb189ee9469e388374154087faf80
Diffstat (limited to 'include/vcl/textdata.hxx')
-rw-r--r--include/vcl/textdata.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/textdata.hxx b/include/vcl/textdata.hxx
index 925efff957ac..d05f2f7170b6 100644
--- a/include/vcl/textdata.hxx
+++ b/include/vcl/textdata.hxx
@@ -121,6 +121,7 @@ inline sal_Bool TextSelection::operator != ( const TextSelection& rSel ) const
#define TEXT_HINT_VIEWSCROLLED 100
#define TEXT_HINT_VIEWSELECTIONCHANGED 101
+#define TEXT_HINT_VIEWCARETCHANGED 102
class VCL_DLLPUBLIC TextHint : public SfxSimpleHint
{