editor.SetKeyBar

LuaFAR 3

editor.SetKeyBar


result = editor.SetKeyBar (EditorId, param)

Parameters:
  EditorId: integer, or nil
  param, either of:
      - string "redraw":  redraw the key bar titles;
      - string "restore": restore the original titles;
      - table (array of tKeyBarLabel tables)

Returns:
  result:   boolean

Far API used:
  EditorControl, ECTL_SETKEYBAR