Latest post of the previous page:
LuaFAR for Editor v.0.9.1Bugfix: configuration changes were not saved in the history file.
Code: Select all
[!] `far2.history' module was raising error given an empty history file.
[*] `far2.history' module renamed to `history'.
[*] configuration changes done by a user script are reverted by the
plugin after the script exits.
[*] lf4ed.config: always returns configuration existed prior to the call.
[!] far.OnError: eliminate jumps to embedded scripts.
[!] far.OnError: jump to incorrect line in another file, when there
was selection in the current file (the bug existed since v. 0.9.0).
[*] Main Menu, Config. Menu: removed separators after the built-in items.
(They can be added via files _usermenu.lua).
[*] The plugin's DLL, as supplied, now embeds scripts and modules in
source code form (not compiled). That allows to work with LuaJIT.
Code: Select all
[+] Plugin can be called from the command line, via `lfe' prefix.
A new function `AddCommand' was added.
[!] lf4ed:config: changes to the "ReturnToMainMenu" option did not work.
[!] lf4ed:config: changes were not reverted in case of error.
Code: Select all
[!] LuaFAR version check was done after the exported functions were
already connected (that is, too late).
[*] Requires LuaFAR version 1.1.
Code: Select all
PLUGIN:
[*] First Unicode version.
[*] Requires LuaFAR version 2.0.0.
[*] s:find() accesses unicode.utf8.find(s), the same goes for all
string function names. To access the standard string library,
write string.find(s), etc.
Sort Lines:
[*] "Case sensitive" checkboxes added. Help files updated.
Code: Select all
PLUGIN:
[+] Added function unicode.utf8.cfind (see the manual).
Sort Lines:
[+] Added variable `i' (number of selected line). Help files updated.
Code: Select all
PLUGIN:
[!] Fixes to work with Unicode file names and paths (LuaFAR 2.2 required).
Sort Lines:
[+] Added constant `I' (number of lines in selection). Help files updated.
Code: Select all
PLUGIN:
[+] Localization of the configuration dialog.
[+] Utility for localization of script packets.
Sort Lines:
[!] Fixed shortcut keys in the dialogs.
[!] Sorting made stable.
Code: Select all
PLUGIN:
[*] 'Reload User File' operation resets `package.loaded', in
order to behave as close as possible to the initial loading.
[+] new callback ("resident") function ExitScript.
[+] function AddToMenu supports localization.
Code: Select all
PLUGIN:
[+] AddToMenu: parameter "where" can include letter "d" (for "dialog").
[*] AddToMenu, AddCommand: unlimited number of additional arguments.
[*] Installed scripts get their parameters in a table (was: 2 parameters).
The table may also include fields "From" and "hDlg".
[!] Fix "Reload user file" with default plugin settings.
Code: Select all
PLUGIN:
[!] Error when calling "Block Sum" or "Lua Expression" settings dialogs.
[!] Utilities could interfere with each other via parameters table.
Lua Script
[+] Parameters can be passed to the script. Parameters dialog added.
Code: Select all
PLUGIN:
[*] Lua modules used by the plugin do not set global variables.
Use the value returned by `require`.
Sort Lines:
[*] A single "undo" in Editor undoes the entire operation.
Reformat Block:
[*] A single "undo" in Editor undoes the entire operation.
Block Sum:
[*] The dialog moved from the configuration to the utility.
[+] The result can be edited in the dialog.
[*] Items immediately followed by [,;:] are considered valid.
Lua Expression:
[*] The dialog moved from the configuration to the utility.
[+] The result can be edited in the dialog.
[+] If there's no selection, the current line is processed.
Code: Select all
PLUGIN:
[+] 64-bit build added (works with 64-bit LuaFAR).
[*] Plugin keeps its data in "%APPDATA%\LuaFAR for Editor" directory
(was: in the plugin directory).
Code: Select all
PLUGIN:
[+] Got a SysId (0x10000) for calling from macros. The call syntax is
the same as for command line calls (but the prefix is not needed).
New switch -a for asynchronous calls.
[+] Function MakeResident: parameter can be a table. That makes
possible to require() files containing event handlers.
Sort Lines:
[+] a GUID added to the dialog.
Reformat Block:
[+] a GUID added to the dialog.