nsIAccessibleTextSelectionChangeEvent.idl (696B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 #include "nsIAccessibleEvent.idl" 7 8 interface nsIArray; 9 10 /** 11 * Fired when the caret changes position in text. 12 */ 13 [scriptable, builtinclass, uuid(011f98e2-2beb-4ec3-97a5-f154f624e112)] 14 interface nsIAccessibleTextSelectionChangeEvent: nsIAccessibleEvent 15 { 16 /** 17 * Return an array of disjoint ranges for selected text within the 18 * source of this event. 19 */ 20 readonly attribute nsIArray selectionRanges; 21 };