Version 2.3.0
Added functions
far.GetConsoleScreenBufferInfo
far.Timer
far.GetCustomData
(experimental)far.CopyFile
(works with UTF-8 names)far.DeleteFile
(works with UTF-8 names)far.MoveFile
(works with UTF-8 names)far.RenameFile
(works with UTF-8 names)
Extended functions
far.Message
– standard button combinations supported.far.AdvControl
– addedACTL_GETFARRECT
,ACTL_GETCURSORPOS
,ACTL_SETCURSORPOS
.
Modified functions
far.Editor
– autodetect code page if not specified.far.Viewer
– autodetect code page if not specified.far.EditorGetSelection
– API (table fields) changed.
Bug fixes
far.EditorGetString
– work with strings containing nuls.far.Gsub
– fix crash (a missinglua_pop
call).far.Gsub
– fix ignoring errors in replace function.far.Message
– fix to work with Far 2.0 builds 1564+.far.SendDlgMessage
(DM_LISTGETCURPOS
) – returnednil
whenSendDlgMessage
returned0
.far.ViewerSetPosition
– fix case with extra arguments.