no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / accessible / interfaces / nsIAccessibleCaretMoveEvent.idl
blob4cdece16cc639bcc8574ce61baf1f7998fb1d3d9
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/. */
6 #include "nsIAccessibleEvent.idl"
8 /**
9 * Fired when the caret changes position in text.
11 [scriptable, builtinclass, uuid(ed1982e4-57d7-41a8-8cd8-9023f809383e)]
12 interface nsIAccessibleCaretMoveEvent: nsIAccessibleEvent
14 /**
15 * Return caret offset.
17 readonly attribute long caretOffset;
19 /**
20 * Return true if there is no selection.
22 readonly attribute bool isSelectionCollapsed;
24 /**
25 * Return true if the caret is at the end of a line.
27 readonly attribute bool isAtEndOfLine;
29 /**
30 * Return caret move granularity.
32 readonly attribute long granularity;