tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

TextClause.webidl (660B)


      1 /* -*- Mode: IDL; 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 
      7 [ChromeOnly,
      8 Exposed=Window]
      9 interface TextClause
     10 {
     11  // The start offset of TextClause
     12  readonly attribute long startOffset;
     13 
     14  // The end offset of TextClause
     15  readonly attribute long endOffset;
     16 
     17  // If the TextClause is Caret or not
     18  readonly attribute boolean isCaret;
     19 
     20  // If the TextClause is TargetClause or not
     21  readonly attribute boolean isTargetClause;
     22 };