Changeset 45535 in webkit
- Timestamp:
- Jul 3, 2009 7:08:34 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r45534 r45535 1 2009-07-02 Xan Lopez <xlopez@igalia.com> 2 3 Reviewed by Jan Alonzo. 4 5 https://bugs.webkit.org/show_bug.cgi?id=26814 6 [Gtk] Caret-moved events are not issued for the correct offset 7 when text is selected forward 8 9 Report the caret offset from the end of the selection, otherwise 10 we'll report the same offset when moving the caret while 11 modififying the selection (eg, with Shift + Right). 12 13 * editing/gtk/SelectionControllerGtk.cpp: 14 (WebCore::SelectionController::notifyAccessibilityForSelectionChange): 15 1 16 2009-07-02 Xan Lopez <xlopez@igalia.com> 2 17 -
trunk/WebCore/editing/gtk/SelectionControllerGtk.cpp
r45534 r45535 35 35 AtkObject* wrapper = accessibilityObject->wrapper(); 36 36 if (ATK_IS_TEXT(wrapper)) { 37 g_signal_emit_by_name(wrapper, "text-caret-moved", m_sel. start().computeOffsetInContainerNode());37 g_signal_emit_by_name(wrapper, "text-caret-moved", m_sel.end().computeOffsetInContainerNode()); 38 38 39 39 if (m_sel.isRange())
Note: See TracChangeset
for help on using the changeset viewer.