diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-19 12:26:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-19 15:32:00 +0000 |
commit | 49cecd8b41cac29cc9642944eaae5b5f63a1bd46 (patch) | |
tree | 133343199ab3a5f06e7ea1b858a88125466bcc5a /accessibility | |
parent | e77819f578b4b01314359380e6f115bacb9967f5 (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 'accessibility')
-rw-r--r-- | accessibility/source/extended/textwindowaccessibility.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index d13525df8a2c..a37effaebeab 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -1659,6 +1659,7 @@ void Document::Notify(::SfxBroadcaster &, ::SfxHint const & rHint) break; } case TEXT_HINT_VIEWSELECTIONCHANGED: + case TEXT_HINT_VIEWCARETCHANGED: { ::osl::MutexGuard aInternalGuard(GetMutex()); if (!isAlive()) |