editor.Select

LuaFAR 3

editor.Select


result = editor.Select (EditorId, SelectData)
  or
result = editor.Select (EditorId, BlockType, BlockStartLine, BlockStartPos,
                        BlockWidth, BlockHeight)

Parameters:
  EditorId:   integer, or nil
  SelectData: table
    fields of SelectData:
      BlockType:      flags
      BlockStartLine: integer, 1-based
      BlockStartPos:  integer, 1-based
      BlockWidth:     integer
      BlockHeight:    integer

  Parameters of the 2-nd function variant correspond to fields
  of the SelectData table.

Returns:
  result: boolean

Far API used:
  EditorControl, ECTL_SELECT