diff --git a/python/educational-core/src/com/jetbrains/edu/EduAnswerPlaceholderPainter.java b/python/educational-core/src/com/jetbrains/edu/EduAnswerPlaceholderPainter.java index 137062810ec9..da2972c440c3 100644 --- a/python/educational-core/src/com/jetbrains/edu/EduAnswerPlaceholderPainter.java +++ b/python/educational-core/src/com/jetbrains/edu/EduAnswerPlaceholderPainter.java @@ -51,7 +51,7 @@ public class EduAnswerPlaceholderPainter { public static void createGuardedBlock(Editor editor, List blocks, int start, int end) { RangeHighlighter rh = editor.getMarkupModel() - .addRangeHighlighter(start, end, HighlighterLayer.LAST + 1, null, HighlighterTargetArea.EXACT_RANGE); + .addRangeHighlighter(start, end, PLACEHOLDERS_LAYER, null, HighlighterTargetArea.EXACT_RANGE); blocks.add(rh); }