Constructors

   

Arguments

containerDocumentRequired. The document to associate with the split
themeStringRequired. The name of the initial theme
splitsNumberRequired. The number of initial splits

Methods

Blurs the current editor.

   

Blurs the current editor.

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

callbackFunctionRequired. A callback function to execute
scopeStringRequired.
    • 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

    idxNumberRequired. 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

       

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

       

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

    Arguments

    sizeNumberRequired. The new font size
      • Split.setKeyboardHandler(String keybinding)
        • Void
      • Internal

       

    Arguments

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

    Sets the orientation.

       

    Sets the orientation.

    Arguments

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

       

    Arguments

    splitsNumberRequired. The new number of splits

    Sets a theme for each of the available editors.

       

    Sets a theme for each of the available editors.

    Arguments

    themeStringRequired. The name of the theme to set
      • Split.UndoManagerProxy()
        • Void
      • Internal