mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 13:20:53 +07:00
[IFT] DA-423 Highlight editor area to indicate where to click
GitOrigin-RevId: ac141b37ff91d7193566d66473b30e20e534211e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6569ce389b
commit
d9b499a482
@@ -25,6 +25,7 @@ import com.intellij.openapi.application.runWriteAction
|
||||
import com.intellij.openapi.diagnostic.thisLogger
|
||||
import com.intellij.openapi.editor.LogicalPosition
|
||||
import com.intellij.openapi.editor.actions.ToggleCaseAction
|
||||
import com.intellij.openapi.editor.impl.EditorComponentImpl
|
||||
import com.intellij.openapi.fileEditor.FileEditorManager
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.ui.MessageDialogBuilder
|
||||
@@ -366,6 +367,12 @@ class PythonOnboardingTour :
|
||||
}
|
||||
|
||||
private fun LessonContext.runTasks() {
|
||||
task {
|
||||
triggerByUiComponentAndHighlight(highlightInside = false) { ui: EditorComponentImpl ->
|
||||
ui.text.contains("find_average")
|
||||
}
|
||||
}
|
||||
|
||||
val runItem = ExecutionBundle.message("default.runner.start.action.text").dropMnemonic() + " '$demoConfigurationName'"
|
||||
|
||||
task {
|
||||
|
||||
Reference in New Issue
Block a user