BlockItem

Package: Libraries.Interface.Controls.Blocks · Inherits from: Libraries.Interface.Item, Libraries.Interface.Controls.Control, Libraries.Interface.Item2D, Libraries.Language.Object

Actions

GainedFocus(Libraries.Interface.Events.FocusEvent event)

Parameters

GetBlock()

By default, all BlockItems are a single line in length.

Returns

Libraries.Interface.Controls.Blocks.Block

GetBlockEnvironment()

Returns

Libraries.Interface.Controls.Blocks.BlockEnvironment

GetEditor()

Returns

Libraries.Interface.Controls.Blocks.CodeEditor

GetLineCount()

By default, all BlockItems are a single line in length.

Returns

integer

GetLineIndex()

Returns

integer

GetRelativeLineIndex()

This action returns a line index, relative to the start of the block this item is attached to. For example, if this returns 0, this item is on the same line as where the block starts. If this returns 2, this item appears 2 lines below the starting line of the block.

Returns

integer

IsSelected()

Returns

boolean

LostFocus(Libraries.Interface.Events.FocusEvent event)

Parameters

Inherited Actions

262 actions from Libraries.Interface.Controls.Control
61 actions from Libraries.Interface.Item
202 actions from Libraries.Interface.Item2D
3 actions from Libraries.Language.Object