未验证 提交 308ee527 编写于 作者: I Ivan Basov 提交者: GitHub

Immediate Window keyboard navigation with Ctrl+Up has been broken. (#33926)

上级 7546d32b
......@@ -115,19 +115,6 @@ void executeNextCommandTarget()
switch ((VSConstants.VSStd2KCmdID)commandId)
{
// HACK: If you look at EditCtlStatementCompletion.cpp, they translate CANCEL to
// SCROLLUP to do some hacking around their own command infrastructure and the
// legacy stuff they interfaced with. That means we get SCROLLUP if the user
// types escape, so treat SCROLLUP like CANCEL. It's actually a CANCEL.
case VSConstants.VSStd2KCmdID.SCROLLUP:
ExecuteCancel(subjectBuffer, contentType, () =>
{
// We cannot just pass executeNextCommandTarget becuase it would execute SCROLLUP
var cancelCmdGroupId = VSConstants.VSStd2K;
NextCommandTarget.Exec(ref cancelCmdGroupId, (uint)VSConstants.VSStd2KCmdID.CANCEL, executeInformation, pvaIn, pvaOut);
});
break;
// If we see a RETURN, and we're in the immediate window, we'll want to rebuild
// spans after all the other command handlers have run.
case VSConstants.VSStd2KCmdID.RETURN:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册