chromium/third_party/blink/renderer/core/editing/ime/edit_context_init.idl

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Initial parameters for EditContext interface.

// Spec draft:
// https://w3c.github.io/editing/docs/EditContext/index.html#the-editcontext-interface

dictionary EditContextInit {
    DOMString text;
    unsigned long selectionStart;
    unsigned long selectionEnd;
};