Skip to content

Commit

Permalink
Уточнение.
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Feb 11, 2016
1 parent 307f078 commit 4918436
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions enc/enc_lua/macroapi_manual.en.tsi
Expand Up @@ -2057,7 +2057,7 @@ lv=2
dt=Text
nm=Restrictions in the use of some functions
ctime=3557323094
mtime=3659609163
mtime=3664364330
<article>
#_<markdown>
#_The following functions have certain restrictions on their use in macros:
Expand All @@ -2078,10 +2078,12 @@ mtime=3659609163
#_1. The above listed functions, when called directly or indirectly with `pcall`, will cause the immediate failure of `pcall`.<br>
#_This restriction does not exist if LuaJIT 2.x is used.
#_
#_1. The above listed functions will not work when called from:
#_1. The above listed functions will only work when called from a **macro body** (usually it is function `action`).
#_That means those functions will not work when called from:
#_ - dialog procedures
#_ - function *condition* of a macro
#_ - [event handlers][event]
#_ - etc. etc.
#_
#_The restrictions of p.3 do not exist, if the above listed functions are called via [`mf.postmacro`][postmacro] or `far.MacroPost`.
#_
Expand Down
6 changes: 4 additions & 2 deletions enc/enc_lua/macroapi_manual.ru.tsi
Expand Up @@ -2049,7 +2049,7 @@ lv=2
dt=Text
nm=����������� � ������������� ��������� �������
ctime=3557323094
mtime=3659608712
mtime=3664364154
<article>
#_<markdown>
#_��������� ������� ����� ����������� ����������, ������� ����������� ����������� ����������� �� �� ������������� � ��������:
Expand All @@ -2070,10 +2070,12 @@ mtime=3659608712
#_1. ����������������� �������, ������ ���������� ����� ��� �������� ����������� ������� `pcall`, �������� � ������������ �������� `pcall` � ����������� `false`.<br>
#_������� ����������� ��� ��� ������������� LuaJIT 2.x.
#_
#_1. ����������������� ������� �� ����� ��������, ������ ���������� ��:
#_1. ����������������� ������� �������� ������, ������ ���������� �� **���� �������** (������ ��� ������� `action`).
#_��� ������, ��� ������ ������� �� ����� ��������, ������ ���������� ��:
#_ - ���������� ��������
#_ - ������� *condition* �������
#_ - [������������ �������][event]
#_ - � �.�. � �.�.
#_
#_����������� ������ 3 �� ����� �����, ���� ����������������� ������� ���������� �� ��������,
#_� ����������� [`mf.postmacro`][postmacro] ��� `far.MacroPost`.
Expand Down

0 comments on commit 4918436

Please sign in to comment.