From 49cecd8b41cac29cc9642944eaae5b5f63a1bd46 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 19 Feb 2014 12:26:47 +0000 Subject: 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 --- accessibility/source/extended/textwindowaccessibility.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'accessibility') 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()) -- cgit