未验证 提交 391f56cb 编写于 作者: I Ivan Basov 提交者: GitHub

16.0 Preview 4. Up and down key do not work for editor if the old completion is turned on (#33745)

上级 56099218
......@@ -299,8 +299,7 @@ public void ExecuteCommand(SelectAllCommandArgs args, Action nextHandler, Comman
public VSCommanding.CommandState GetCommandState(EscapeKeyCommandArgs args, Func<VSCommanding.CommandState> nextHandler)
{
AssertIsForeground();
return GetCommandStateWorker(args, nextHandler);
return nextHandler();
}
public void ExecuteCommand(EscapeKeyCommandArgs args, Action nextHandler, CommandExecutionContext context)
......@@ -316,8 +315,7 @@ public void ExecuteCommand(EscapeKeyCommandArgs args, Action nextHandler, Comman
public VSCommanding.CommandState GetCommandState(UpKeyCommandArgs args, Func<VSCommanding.CommandState> nextHandler)
{
AssertIsForeground();
return GetCommandStateWorker(args, nextHandler);
return nextHandler();
}
public void ExecuteCommand(UpKeyCommandArgs args, Action nextHandler, CommandExecutionContext context)
......@@ -333,8 +331,7 @@ public void ExecuteCommand(UpKeyCommandArgs args, Action nextHandler, CommandExe
public VSCommanding.CommandState GetCommandState(DownKeyCommandArgs args, Func<VSCommanding.CommandState> nextHandler)
{
AssertIsForeground();
return GetCommandStateWorker(args, nextHandler);
return nextHandler();
}
public void ExecuteCommand(DownKeyCommandArgs args, Action nextHandler, CommandExecutionContext context)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册