From b980f8adf0d98f512a613bcf446dc3dab6925b6c Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Sat, 16 Nov 2024 21:59:50 -0800 Subject: [PATCH] API --- richeditor-compose/api/android/richeditor-compose.api | 2 ++ richeditor-compose/api/desktop/richeditor-compose.api | 2 ++ richeditor-compose/api/richeditor-compose.klib.api | 3 +++ 3 files changed, 7 insertions(+) diff --git a/richeditor-compose/api/android/richeditor-compose.api b/richeditor-compose/api/android/richeditor-compose.api index ab504bdc..cbb9f803 100644 --- a/richeditor-compose/api/android/richeditor-compose.api +++ b/richeditor-compose/api/android/richeditor-compose.api @@ -182,6 +182,7 @@ public final class com/mohamedrejeb/richeditor/model/RichTextState { public final fun clearSpanStyles ()V public final fun clearSpanStyles-5zc-tL8 (J)V public final fun copy ()Lcom/mohamedrejeb/richeditor/model/RichTextState; + public final fun getAllRichSpans ()Ljava/util/List; public final fun getAnnotatedString ()Landroidx/compose/ui/text/AnnotatedString; public final fun getComposition-MzsxiRA ()Landroidx/compose/ui/text/TextRange; public final fun getConfig ()Lcom/mohamedrejeb/richeditor/model/RichTextConfig; @@ -196,6 +197,7 @@ public final class com/mohamedrejeb/richeditor/model/RichTextState { public final fun getSelection-d9O1mEE ()J public final fun getSpanStyle-5zc-tL8 (J)Landroidx/compose/ui/text/SpanStyle; public final fun getStyledRichSpanList ()Landroidx/compose/runtime/snapshots/SnapshotStateList; + public final fun getTextChanges ()Lkotlinx/coroutines/flow/SharedFlow; public final fun getTextLayoutResult ()Landroidx/compose/ui/text/TextLayoutResult; public final fun isCode ()Z public final fun isCodeSpan ()Z diff --git a/richeditor-compose/api/desktop/richeditor-compose.api b/richeditor-compose/api/desktop/richeditor-compose.api index 78dc60f7..545c19ae 100644 --- a/richeditor-compose/api/desktop/richeditor-compose.api +++ b/richeditor-compose/api/desktop/richeditor-compose.api @@ -182,6 +182,7 @@ public final class com/mohamedrejeb/richeditor/model/RichTextState { public final fun clearSpanStyles ()V public final fun clearSpanStyles-5zc-tL8 (J)V public final fun copy ()Lcom/mohamedrejeb/richeditor/model/RichTextState; + public final fun getAllRichSpans ()Ljava/util/List; public final fun getAnnotatedString ()Landroidx/compose/ui/text/AnnotatedString; public final fun getComposition-MzsxiRA ()Landroidx/compose/ui/text/TextRange; public final fun getConfig ()Lcom/mohamedrejeb/richeditor/model/RichTextConfig; @@ -196,6 +197,7 @@ public final class com/mohamedrejeb/richeditor/model/RichTextState { public final fun getSelection-d9O1mEE ()J public final fun getSpanStyle-5zc-tL8 (J)Landroidx/compose/ui/text/SpanStyle; public final fun getStyledRichSpanList ()Landroidx/compose/runtime/snapshots/SnapshotStateList; + public final fun getTextChanges ()Lkotlinx/coroutines/flow/SharedFlow; public final fun getTextLayoutResult ()Landroidx/compose/ui/text/TextLayoutResult; public final fun isCode ()Z public final fun isCodeSpan ()Z diff --git a/richeditor-compose/api/richeditor-compose.klib.api b/richeditor-compose/api/richeditor-compose.klib.api index e7a6cc61..1b919c8d 100644 --- a/richeditor-compose/api/richeditor-compose.klib.api +++ b/richeditor-compose/api/richeditor-compose.klib.api @@ -229,6 +229,8 @@ final class com.mohamedrejeb.richeditor.model/RichTextState { // com.mohamedreje final fun (): kotlin/String? // com.mohamedrejeb.richeditor.model/RichTextState.selectedLinkText.|(){}[0] final val selectedLinkUrl // com.mohamedrejeb.richeditor.model/RichTextState.selectedLinkUrl|{}selectedLinkUrl[0] final fun (): kotlin/String? // com.mohamedrejeb.richeditor.model/RichTextState.selectedLinkUrl.|(){}[0] + final val textChanges // com.mohamedrejeb.richeditor.model/RichTextState.textChanges|{}textChanges[0] + final fun (): kotlinx.coroutines.flow/SharedFlow // com.mohamedrejeb.richeditor.model/RichTextState.textChanges.|(){}[0] final var annotatedString // com.mohamedrejeb.richeditor.model/RichTextState.annotatedString|{}annotatedString[0] final fun (): androidx.compose.ui.text/AnnotatedString // com.mohamedrejeb.richeditor.model/RichTextState.annotatedString.|(){}[0] @@ -260,6 +262,7 @@ final class com.mohamedrejeb.richeditor.model/RichTextState { // com.mohamedreje final fun clearSpanStyles() // com.mohamedrejeb.richeditor.model/RichTextState.clearSpanStyles|clearSpanStyles(){}[0] final fun clearSpanStyles(androidx.compose.ui.text/TextRange) // com.mohamedrejeb.richeditor.model/RichTextState.clearSpanStyles|clearSpanStyles(androidx.compose.ui.text.TextRange){}[0] final fun copy(): com.mohamedrejeb.richeditor.model/RichTextState // com.mohamedrejeb.richeditor.model/RichTextState.copy|copy(){}[0] + final fun getAllRichSpans(): kotlin.collections/List // com.mohamedrejeb.richeditor.model/RichTextState.getAllRichSpans|getAllRichSpans(){}[0] final fun getParagraphStyle(androidx.compose.ui.text/TextRange): androidx.compose.ui.text/ParagraphStyle // com.mohamedrejeb.richeditor.model/RichTextState.getParagraphStyle|getParagraphStyle(androidx.compose.ui.text.TextRange){}[0] final fun getRichSpanByOffset(androidx.compose.ui.geometry/Offset): com.mohamedrejeb.richeditor.model/RichSpan? // com.mohamedrejeb.richeditor.model/RichTextState.getRichSpanByOffset|getRichSpanByOffset(androidx.compose.ui.geometry.Offset){}[0] final fun getRichSpanStyle(androidx.compose.ui.text/TextRange): com.mohamedrejeb.richeditor.model/RichSpanStyle // com.mohamedrejeb.richeditor.model/RichTextState.getRichSpanStyle|getRichSpanStyle(androidx.compose.ui.text.TextRange){}[0]