• Creates a new [[EditSession]], and returns the associated [[Document]].

    Parameters

    • text: string | Document

      {:textParam}

    • Optional mode: SyntaxMode

      {:modeParam}

    Returns EditSession

Generated using TypeDoc