From 02d7d7b4e7804c0ba5b532253a16f5010ae7294c Mon Sep 17 00:00:00 2001 From: "Nikolai.Sviridov" Date: Fri, 23 May 2025 19:51:16 +0000 Subject: [PATCH] [Air] AIR-349 fix chat "jumping", add paste action, AIR-992 add copy/cut to chat input GitOrigin-RevId: 6f7678bf00b21a937427d67ac5f83d94b69559c0 --- fleet/andel/srcCommonMain/andel/editor/MutableEditor.kt | 2 ++ fleet/andel/srcCommonMain/andel/editor/SimpleEditor.kt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/fleet/andel/srcCommonMain/andel/editor/MutableEditor.kt b/fleet/andel/srcCommonMain/andel/editor/MutableEditor.kt index 429db79396ad..04e949b59ff9 100644 --- a/fleet/andel/srcCommonMain/andel/editor/MutableEditor.kt +++ b/fleet/andel/srcCommonMain/andel/editor/MutableEditor.kt @@ -150,6 +150,8 @@ interface EditorLayout { interface MutableEditorLayout : EditorLayout { fun unfold(affectedFolds: List>) + + fun toggleFolds(add: List>, remove: List>, isConfirm: Boolean = false) } // Order is significant: the greater index, the more specific is the command type diff --git a/fleet/andel/srcCommonMain/andel/editor/SimpleEditor.kt b/fleet/andel/srcCommonMain/andel/editor/SimpleEditor.kt index d9eaf2d8f6a5..7ce50dc12122 100644 --- a/fleet/andel/srcCommonMain/andel/editor/SimpleEditor.kt +++ b/fleet/andel/srcCommonMain/andel/editor/SimpleEditor.kt @@ -120,6 +120,8 @@ data class SimpleEditorLayout( } override fun unfold(affectedFolds: List>) {} + + override fun toggleFolds(add: List>, remove: List>, isConfirm: Boolean) {} } class SimpleEditorLayoutComponent(var state: SimpleEditorLayout) : DocumentComponent {