mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-310278: revert editor state when template is already finished
GitOrigin-RevId: 2d3935b949fa49a283c7ae4fa732417089a0eab7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
92ac1b6044
commit
927bf3df9f
+1
-1
@@ -299,7 +299,7 @@ public final class InplaceIntroduceParameterPopup extends AbstractJavaInplaceInt
|
||||
|
||||
@Override
|
||||
protected void performCleanup() {
|
||||
myEditorState.revert();
|
||||
ApplicationManager.getApplication().invokeLater(() -> myEditorState.revert());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -33,6 +33,7 @@ public abstract class AbstractInplaceIntroduceTest extends LightPlatformCodeInsi
|
||||
TemplateState state = TemplateManagerImpl.getTemplateState(getEditor());
|
||||
assert state != null;
|
||||
state.gotoEnd(true);
|
||||
UIUtil.dispatchAllInvocationEvents();
|
||||
checkResultByFile(getBasePath() + name + "_after" + getExtension());
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user