コード例 #1
0
 @Nullable
 public static TemplateState getTemplateState(@NotNull Editor editor) {
   return editor.getUserData(TEMPLATE_STATE_KEY);
 }
コード例 #2
0
 @Nullable
 public static AbstractInplaceIntroducer getActiveIntroducer(@Nullable Editor editor) {
   if (editor == null) return null;
   return editor.getUserData(ACTIVE_INTRODUCE);
 }