Version 2.3.0

LuaFAR 3

Version 2.3.0


Added functions

  1. far.GetConsoleScreenBufferInfo
  2. far.Timer
  3. far.GetCustomData (experimental)
  4. far.CopyFile (works with UTF-8 names)
  5. far.DeleteFile (works with UTF-8 names)
  6. far.MoveFile (works with UTF-8 names)
  7. far.RenameFile (works with UTF-8 names)

Extended functions

  1. far.Message – standard button combinations supported.
  2. far.AdvControl – added ACTL_GETFARRECT, ACTL_GETCURSORPOS, ACTL_SETCURSORPOS.

Modified functions

  1. far.Editor – autodetect code page if not specified.
  2. far.Viewer – autodetect code page if not specified.
  3. far.EditorGetSelection – API (table fields) changed.

Bug fixes

  1. far.EditorGetString – work with strings containing nuls.
  2. far.Gsub – fix crash (a missing lua_pop call).
  3. far.Gsub – fix ignoring errors in replace function.
  4. far.Message – fix to work with Far 2.0 builds 1564+.
  5. far.SendDlgMessage (DM_LISTGETCURPOS) – returned nil when SendDlgMessage returned 0.
  6. far.ViewerSetPosition – fix case with extra arguments.