Constructors

Arguments

containerDocument

Required. The document to associate with the split

themeString

Required. The name of the initial theme

splitsNumber

Required. The number of initial splits

Methods

    • Split.blur()
      • Void
    • Related to:

Blurs the current editor.

Blurs the current editor.

    • Split.focus()
      • Void
    • Related to:

Focuses the current editor.

Focuses the current editor.

Executes callback on all of the available editors.

Executes callback on all of the available editors.

Arguments

callbackFunction

Required. A callback function to execute

scopeString

Required.

    • Split.getCurrentEditor()

    Returns the current editor.

    Returns the current editor.

    Returns the editor identified by the index idx.

    Returns the editor identified by the index idx.

    Arguments

    idxNumber

    Required. The index of the editor you want

      • Internal

    Returns the orientation.

    Returns the orientation.

    Returns the number of splits.

    Returns the number of splits.

      • Split.resize()
        • Void
      • Internal
      • Split.setFontSize(Number size)
        • Void
      • Related to:

    Sets the font size, in pixels, for all the available editors.

    Sets the font size, in pixels, for all the available editors.

    Arguments

    sizeNumber

    Required. The new font size

      • Split.setKeyboardHandler(String keybinding)
        • Void
      • Internal

    Arguments

    keybindingString

    Required.

      • Split.setOrientation(Number oriantation)
        • Void
      • Internal

    Sets the orientation.

    Sets the orientation.

    Arguments

    oriantationNumber

    Required.

    Sets a new EditSession for the indicated editor.

    Sets a new EditSession for the indicated editor.

    Arguments

    sessionEditSession

    Required. The new edit session

    idxNumber

    Required. The editor's index you're interested in

      • Split.setSplits(Number splits)
        • Void
      • Internal

    Arguments

    splitsNumber

    Required. The new number of splits

      • Split.setTheme(String theme)
        • Void
      • Related to:

    Sets a theme for each of the available editors.

    Sets a theme for each of the available editors.

    Arguments

    themeString

    Required. The name of the theme to set

      • Split.UndoManagerProxy()
        • Void
      • Internal