use correct placeholder length
[idea/community.git] / python / educational-core / course-creator / src / com / jetbrains / edu / coursecreator / actions / CCAddAnswerPlaceholder.java
index aab278175e0b62e83f3cde8e30fac1d023286266..d7835cb5db042ca523d8cc6fc90f0e8bc6954fe4 100644 (file)
@@ -98,7 +98,7 @@ public class CCAddAnswerPlaceholder extends CCAnswerPlaceholderAction {
       answerPlaceholders.remove(answerPlaceholder);
       final Editor editor = state.getEditor();
       editor.getMarkupModel().removeAllHighlighters();
-      StudyUtils.drawAllWindows(editor, taskFile);
+      StudyUtils.drawAllWindows(editor, taskFile, false);
       EduAnswerPlaceholderPainter.createGuardedBlocks(editor, taskFile, false);
     }
   }