From 10c0f28de5f5599f240efed206be9fd68c16bfe7 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Mon, 2 Nov 2020 13:22:33 +0100 Subject: [PATCH] inplace rename: emulate nextTab in popup (IDEA-254234) GitOrigin-RevId: eadb992172dcba4566b34d9a4c2bf337826789f1 --- .../intellij/refactoring/rename/inplace/TemplateInlayUtil.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/refactoring/rename/inplace/TemplateInlayUtil.kt b/platform/lang-impl/src/com/intellij/refactoring/rename/inplace/TemplateInlayUtil.kt index 8ffb8ef92eaf..a4a7ea5b987f 100644 --- a/platform/lang-impl/src/com/intellij/refactoring/rename/inplace/TemplateInlayUtil.kt +++ b/platform/lang-impl/src/com/intellij/refactoring/rename/inplace/TemplateInlayUtil.kt @@ -98,7 +98,7 @@ object TemplateInlayUtil { .createPopup() DumbAwareAction.create { popup.cancel() - templateState.gotoEnd(false) + templateState.nextTab() logStatisticsOnHide.invoke() }.registerCustomShortcutSet(KeymapUtil.getActiveKeymapShortcuts(IdeActions.ACTION_EDITOR_ENTER), panel) popup.showInBestPositionFor(editor)