mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[templates] fire templateStarted event before focusing expression and changing variable
GitOrigin-RevId: 18a2ece65087227e709b842706ffcdd174adcf03
This commit is contained in:
committed by
intellij-monorepo-bot
parent
002906ee0f
commit
847cffdc6b
+4
-3
@@ -382,12 +382,13 @@ public final class TemplateState extends TemplateStateBase implements Disposable
|
||||
initTabStopHighlighters();
|
||||
initListeners();
|
||||
}
|
||||
focusCurrentExpression();
|
||||
fireCurrentVariableChanged(-1);
|
||||
|
||||
if (requiresWriteAction()) {
|
||||
myEventPublisher.templateStarted(this);
|
||||
}
|
||||
|
||||
focusCurrentExpression();
|
||||
fireCurrentVariableChanged(-1);
|
||||
|
||||
if (!isInteractiveModeSupported()) {
|
||||
finishTemplate(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user