Skip to content

Commit

Permalink
1. в ProcessEditorInput не посылаются псевдоклавиши KEY_IDLE и KEY_NONE.
Browse files Browse the repository at this point in the history
  • Loading branch information
zg0 committed Mar 15, 2015
1 parent c40fae3 commit c8ee4e9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
w17 12.03.2015 17:40:22 +0300 - build 4304
zg 15.03.2015 03:02:46 +0200 - build 4305

1. в ProcessEditorInput не посылаются псевдоклавиши KEY_IDLE и KEY_NONE.

w17 12.03.2015 17:40:22 +0300 - build 4304

1. Уточнение 4302.

Expand Down
10 changes: 9 additions & 1 deletion far/fileedit.cpp
Expand Up @@ -954,7 +954,15 @@ int FileEditor::ReProcessKey(int Key,int CalledFromControl)
_SVS(if (Global->CtrlObject->Macro.IsRecording() == MACROSTATE_RECORDING_COMMON || Global->CtrlObject->Macro.IsExecuting() == MACROSTATE_EXECUTING_COMMON))
_SVS(SysLog(L"%d !!!! Global->CtrlObject->Macro.GetState() != MACROSTATE_NOMACRO !!!!",__LINE__));

ProcessedNext=!ProcessEditorInput(Global->WindowManager->GetLastInputRecord());
switch (Key)
{
case KEY_IDLE:
case KEY_NONE:
break;
default:
ProcessedNext=!ProcessEditorInput(Global->WindowManager->GetLastInputRecord());
break;
}
}

if (ProcessedNext)
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4304)m4_dnl
m4_define(BUILD,4305)m4_dnl

0 comments on commit c8ee4e9

Please sign in to comment.