editor.GetColor

LuaFAR 3

editor.GetColor


colordata = editor.GetColor(EditorId, StringNumber, ColorItem)

Parameters:
  EditorId:     integer, or nil
  StringNumber: integer (1-based), or nil
  ColorItem:    integer (0-based)

Returns:
  colordata:    table (or nil)
                  StartPos:     integer
                  EndPos:       integer
                  Priority:     integer
                  Flags:        flags
                  Color:        table tFarColor
                  Owner:        string (GUID)

Far API used:
  EditorControl, ECTL_GETCOLOR