Version 1.0.0

LuaFAR 3

Version 1.0.0


Important:

  • This version of LuaFAR adds functions and constants from FAR 1.75 API, that are not present in FAR 1.70 API.
  • LuaFAR plugins that make no use of this API will work fine under FAR 1.70. However, the library itself does no verification of whether some feature is supported by the running FAR version – it is the plugin’s responsibility.

Changes:

  1. Auxiliary files: farkeys.lua and farcolor.lua updated to FAR 1.75 build 2614.
  2. far.AdvControl: ACTL_REDRAWALL command supported.
  3. far.CtrlGetUserScreen: service function added.
  4. far.EditorAddStackBookmark: service function added.
  5. far.EditorClearStackBookmarks: service function added.
  6. far.EditorDeleteStackBookmark: service function added.
  7. far.EditorGetStackBookmarks: service function added.
  8. far.EditorNextStackBookmark: service function added.
  9. far.EditorPrevStackBookmark: service function added.
  10. far.GetFlags: added new flags, covering FAR API up to FAR 1.75 build 2614.
  11. far.Message
    • new flag ‘o’ added.
    • removed hard limit of message box sizes.
  12. far.OpenPlugin: added support for opening plugin from dialogs.
  13. far.ProcessDialogEvent: exported function added.
  14. far.ProcessEditorEvent: EE_GOTFOCUS and EE_KILLFOCUS commands supported.
  15. far.ProcessViewerEvent: VE_GOTFOCUS and VE_KILLFOCUS commands supported.
  16. far.SendDlgMessage: DM_GETCOMBOBOXEVENT, DM_GETEDITPOSITION, DM_SETCOMBOBOXEVENT and DM_SETEDITPOSITION commands supported.
  17. far.ViewerSetMode: service function added.
  18. far.AdvControl (ACTL_GETFARVERSION): result can be obtained either as a string, or as 3 numbers.
  19. far.LuafarVersion: result can be obtained either as a string, or as 3 numbers.