diff --git a/plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt b/plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt index 37812b0e2223..ccb874d5dd98 100644 --- a/plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt +++ b/plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt @@ -269,7 +269,7 @@ object LessonUtil { fun rawShift() = rawKeyStroke(KeyStroke.getKeyStroke("SHIFT")) - val breakpointXRange: (width: Int) -> IntRange = { IntRange(14, it - 30) } + val breakpointXRange: (width: Int) -> IntRange = { IntRange(5, it - 38) } fun LessonContext.highlightBreakpointGutter(xRange: (width: Int) -> IntRange = breakpointXRange, logicalPosition: () -> LogicalPosition diff --git a/python/python-features-trainer/src/com/intellij/python/featuresTrainer/ift/lesson/essensial/PythonOnboardingTourLesson.kt b/python/python-features-trainer/src/com/intellij/python/featuresTrainer/ift/lesson/essensial/PythonOnboardingTourLesson.kt index da4776141d4d..4a6a9af018b9 100644 --- a/python/python-features-trainer/src/com/intellij/python/featuresTrainer/ift/lesson/essensial/PythonOnboardingTourLesson.kt +++ b/python/python-features-trainer/src/com/intellij/python/featuresTrainer/ift/lesson/essensial/PythonOnboardingTourLesson.kt @@ -182,7 +182,7 @@ class PythonOnboardingTourLesson : } caret(sample.startOffset) - toggleBreakpointTask(sample, { logicalPosition }, breakpointXRange = { IntRange(13, it - 17) }, checkLine = false) { + toggleBreakpointTask(sample, { logicalPosition }, checkLine = false) { text(PythonLessonsBundle.message("python.onboarding.balloon.click.here"), LearningBalloonConfig(Balloon.Position.below, width = 0, cornerToPointerDistance = 20)) text(PythonLessonsBundle.message("python.onboarding.toggle.breakpoint.1", diff --git a/python/python-features-trainer/src/com/intellij/python/featuresTrainer/ift/lesson/run/PythonDebugLesson.kt b/python/python-features-trainer/src/com/intellij/python/featuresTrainer/ift/lesson/run/PythonDebugLesson.kt index 97fe88d92275..c7db479ad53d 100644 --- a/python/python-features-trainer/src/com/intellij/python/featuresTrainer/ift/lesson/run/PythonDebugLesson.kt +++ b/python/python-features-trainer/src/com/intellij/python/featuresTrainer/ift/lesson/run/PythonDebugLesson.kt @@ -56,9 +56,6 @@ class PythonDebugLesson : CommonDebugLesson("python.debug.workflow") { print("The average is ", average) """.trimIndent()) - - override val breakpointXRange: (width: Int) -> IntRange = { IntRange(13, it - 17) } - override fun LessonContext.applyProgramChangeTasks() { highlightButtonById("Rerun")