mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[Air] AIR-349 fix chat "jumping", add paste action, AIR-992 add copy/cut to chat input
GitOrigin-RevId: 6f7678bf00b21a937427d67ac5f83d94b69559c0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8826c042f3
commit
02d7d7b4e7
@@ -150,6 +150,8 @@ interface EditorLayout {
|
|||||||
|
|
||||||
interface MutableEditorLayout : EditorLayout {
|
interface MutableEditorLayout : EditorLayout {
|
||||||
fun unfold(affectedFolds: List<Interval<*, Fold>>)
|
fun unfold(affectedFolds: List<Interval<*, Fold>>)
|
||||||
|
|
||||||
|
fun toggleFolds(add: List<Interval<*, Fold>>, remove: List<Interval<*, Fold>>, isConfirm: Boolean = false)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Order is significant: the greater index, the more specific is the command type
|
// Order is significant: the greater index, the more specific is the command type
|
||||||
|
|||||||
@@ -120,6 +120,8 @@ data class SimpleEditorLayout(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun unfold(affectedFolds: List<Interval<*, Fold>>) {}
|
override fun unfold(affectedFolds: List<Interval<*, Fold>>) {}
|
||||||
|
|
||||||
|
override fun toggleFolds(add: List<Interval<*, Fold>>, remove: List<Interval<*, Fold>>, isConfirm: Boolean) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
class SimpleEditorLayoutComponent(var state: SimpleEditorLayout) : DocumentComponent {
|
class SimpleEditorLayoutComponent(var state: SimpleEditorLayout) : DocumentComponent {
|
||||||
|
|||||||
Reference in New Issue
Block a user