mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EDU-683 Do not show placeholders from previous steps in student mode
This commit is contained in:
+3
@@ -56,6 +56,9 @@ public class EduAnswerPlaceholderPainter {
|
||||
}
|
||||
|
||||
public static void drawAnswerPlaceholderFromPrevStep(@NotNull Editor editor, @NotNull AnswerPlaceholder placeholder) {
|
||||
if (placeholder.getUseLength()) {
|
||||
return;
|
||||
}
|
||||
EditorColorsScheme scheme = EditorColorsManager.getInstance().getGlobalScheme();
|
||||
Color color = scheme.getColor(EditorColors.TEARLINE_COLOR);
|
||||
SimpleTextAttributes attributes = SimpleTextAttributes.GRAY_ATTRIBUTES;
|
||||
|
||||
Reference in New Issue
Block a user