diff --git a/docs/code_blocks.md b/docs/code_blocks.md index 8e07ed7b1..6c6501c48 100644 --- a/docs/code_blocks.md +++ b/docs/code_blocks.md @@ -27,10 +27,255 @@ Normal text with `inline code` within it. ## Code Blocks -Multiline code blocks are planned for a future release. They will support: -- Syntax highlighting -- Multiple lines of code -- Language specification -- Copy to clipboard functionality +A fenced Markdown code block or an HTML `
` is imported as a code block: its lines are drawn
+in a fixed-width font on a background, and coloured by the language the block names (keywords,
+strings, numbers, comments, annotations). `RichText` and the editors both draw it. The colours
+are presentation only, they are never written to HTML, Markdown or JSON.
-Stay tuned for updates!
+Code blocks are experimental API (`@ExperimentalRichTextApi`).
+
+### Basic usage
+
+```kotlin
+val state = rememberRichTextState()
+
+LaunchedEffect(Unit) {
+ state.setMarkdown(
+ """
+ Here is a function:
+
+ ```kotlin
+ fun greet() = println("Hi")
+ ```
+ """.trimIndent()
+ )
+}
+
+RichText(state = state, modifier = Modifier.fillMaxWidth())
+```
+
+The background is as wide as the composable, so give it the width the block should have
+(`fillMaxWidth()` in most layouts).
+
+The same block in each format:
+
+| Format | Form |
+|---|---|
+| Markdown | A fence of three or more backticks with the language after it. Export uses a fence longer than any backtick run in the code |
+| HTML | `...
`. A `` without `` or without a class is a block with no language |
+| JSON | One `"type": "code-block"` block per line, with `"language"` and `"start": true` on the first line of a block |
+
+The text inside a block is kept exactly as written: indentation, tabs, blank lines, and Markdown
+or HTML that would otherwise be formatting.
+
+### Copy and paste
+
+Copying or cutting a selection that covers code writes the code line by line, with its
+indentation, as plain text and as a `` block in HTML.
+
+A code block pasted into ordinary text stays whole: the text is split around it. A single line
+of code pasted into a sentence joins the sentence as text. Whatever is pasted into a code block,
+formatted or not, becomes plain lines of that block.
+
+Typing shortcuts (`**bold**`, `__bold__`, `` `code` `` and the others) do nothing inside a code
+block, where those marks are code. A URL typed or pasted there is not turned into a link either.
+
+### Copy button
+
+A read-only `RichText` can draw an action at the top end corner of each code block. Pass
+`CodeBlockCopyButton` to get a button that copies the block's code exactly, line ends and
+indentation included:
+
+```kotlin
+RichText(
+ state = state,
+ modifier = Modifier.fillMaxWidth(),
+ codeBlockAction = { code, language -> CodeBlockCopyButton(code) },
+)
+```
+
+`BasicRichText` and the Material and Material3 `RichText` all take `codeBlockAction`. It is given
+the code and the language of the block, and nothing is drawn when it is null, which is the
+default.
+
+`CodeBlockCopyButton` can be adjusted:
+
+| Parameter | Type | Default | Description |
+|---|---|---|---|
+| `code` | `String` | required | The code to copy |
+| `modifier` | `Modifier` | `Modifier` | Applied to the button |
+| `tint` | `Color` | mid-tone grey | The colour of the icon |
+| `contentDescription` | `String` | `"Copy code"` | What accessibility services call the button. Pass a translated string for other languages |
+| `onCopied` | `() -> Unit` | `{}` | Called after the copy, for example to show a "Copied" message |
+
+```kotlin
+codeBlockAction = { code, _ ->
+ CodeBlockCopyButton(
+ code = code,
+ tint = MaterialTheme.colorScheme.onSurfaceVariant,
+ contentDescription = stringResource(Res.string.copy_code),
+ onCopied = { showCopiedMessage() },
+ )
+}
+```
+
+The slot takes any composable, so the action can also be a button of your own, a language label,
+or both in a `Row`.
+
+The action is drawn over the corner of the block and takes no room of its own, so keep it about
+one line tall: on a block with a long first line it covers the end of that line. The editors do
+not draw it.
+
+### Customizing
+
+| Property on `RichTextState.config` | Type | Default | Description |
+|---|---|---|---|
+| `codeBlockBackgroundColor` | `Color` | translucent grey | The background drawn behind a block |
+| `codeBlockFontFamily` | `FontFamily` | `FontFamily.Monospace` | The font of the code |
+| `codeBlockColors` | `CodeBlockColors` | `CodeBlockColors.Default` | The style of each kind of token |
+
+`CodeBlockColors` holds a `SpanStyle` per token kind, not just a colour, so a comment can be
+italic:
+
+```kotlin
+val scheme = MaterialTheme.colorScheme
+
+state.config.codeBlockBackgroundColor = scheme.surfaceVariant
+state.config.codeBlockColors = CodeBlockColors(
+ keyword = SpanStyle(color = scheme.primary),
+ string = SpanStyle(color = scheme.tertiary),
+ number = SpanStyle(color = scheme.secondary),
+ comment = SpanStyle(color = scheme.outline, fontStyle = FontStyle.Italic),
+ annotation = SpanStyle(color = scheme.secondary),
+)
+```
+
+`CodeBlockColors.Default` uses mid-tone colours that stay readable on light and dark backgrounds.
+
+### Turning code blocks off
+
+Code blocks are one of the [editor features](features.md). An editor whose feature set leaves out
+`RichTextFeature.CodeBlock` loads and pastes a code block as plain paragraphs:
+
+```kotlin
+state.config.features = RichTextFeature.All - RichTextFeature.CodeBlock
+```
+
+## Showing Code Alone
+
+To show code that is not part of a rich text, such as a snippet or a whole file, use
+`BasicCodeText`. It needs no `RichTextState`:
+
+```kotlin
+BasicCodeText(
+ code = "fun greet() = println(\"Hi\")",
+ language = CodeLanguage.Kotlin,
+ modifier = Modifier
+ .fillMaxWidth()
+ .background(MaterialTheme.colorScheme.surfaceVariant, RoundedCornerShape(8.dp))
+ .padding(12.dp),
+)
+```
+
+| Parameter | Type | Default | Description |
+|---|---|---|---|
+| `code` | `String` | required | The code to show |
+| `language` | `CodeLanguage?` | required | The language to colour by, or null to draw the code plain |
+| `modifier` | `Modifier` | `Modifier` | Background, padding and shape come from here |
+| `style` | `TextStyle` | monospace | The text style of the code |
+| `colors` | `CodeBlockColors` | `CodeBlockColors.Default` | The style of each kind of token |
+| `softWrap` | `Boolean` | `false` | When false, a long line scrolls sideways instead of wrapping |
+| `onTextLayout` | `(TextLayoutResult) -> Unit` | `{}` | Called when the text is laid out |
+
+`BasicCodeText` draws the text and nothing else, so it fits any design system.
+
+For a `Text` of your own, `highlightCode` returns the coloured `AnnotatedString`:
+
+```kotlin
+Text(text = highlightCode(code, CodeLanguage.fromName("python")))
+```
+
+## Custom Layouts Such as a Diff View
+
+A view that draws its own rows, for example a diff with a gutter and added or removed
+backgrounds, needs the tokens of each line. `CodeHighlighter.tokenizeLines` returns them with
+offsets relative to each line. The lines are read as one piece of code, so a comment or string
+that opens on one line is still coloured on the next:
+
+```kotlin
+val language = CodeLanguage.fromFileName("src/main/kotlin/Greeter.kt") ?: return
+val colors = CodeBlockColors.Default
+val tokens = CodeHighlighter.tokenizeLines(lines, language)
+
+lines.forEachIndexed { index, line ->
+ val text = buildAnnotatedString {
+ append(line)
+ tokens[index].forEach { token ->
+ addStyle(colors.styleOf(token.kind), token.start, token.end)
+ }
+ }
+ DiffRow(text)
+}
+```
+
+Lines that do not follow each other in the file, such as two hunks of a diff, are two calls.
+A hunk that starts in the middle of a comment or string is coloured as code until that comment
+or string ends, because the lines above it are not known.
+
+`CodeHighlighter.tokenize(code, language)` returns the tokens of a whole piece of code.
+Tokenizing is linear in the length of the code and never throws, whatever the input.
+
+## Supported Languages
+
+| Language | `CodeLanguage` | Names it answers to | File endings |
+|---|---|---|---|
+| Kotlin | `Kotlin` | `kotlin`, `kt`, `kts` | `kt`, `kts` |
+| Java | `Java` | `java` | `java` |
+| JavaScript | `JavaScript` | `javascript`, `js`, `jsx`, `mjs`, `cjs`, `node` | `js`, `jsx`, `mjs`, `cjs` |
+| TypeScript | `TypeScript` | `typescript`, `ts`, `tsx` | `ts`, `tsx` |
+| Python | `Python` | `python`, `py`, `python3` | `py` |
+| Swift | `Swift` | `swift` | `swift` |
+| Go | `Go` | `go`, `golang` | `go` |
+| Rust | `Rust` | `rust`, `rs` | `rs` |
+| C | `C` | `c`, `h` | `c`, `h` |
+| C++ | `Cpp` | `cpp`, `c++`, `cc`, `cxx`, `hpp` | `cpp`, `cc`, `cxx`, `hpp`, `hh` |
+| C# | `CSharp` | `csharp`, `cs`, `c#` | `cs` |
+| Dart | `Dart` | `dart` | `dart` |
+| Shell | `Shell` | `shell`, `sh`, `bash`, `zsh`, `shellscript` | `sh`, `bash`, `zsh` |
+| SQL | `Sql` | `sql` | `sql` |
+| JSON | `Json` | `json` | `json` |
+| YAML | `Yaml` | `yaml`, `yml` | `yaml`, `yml` |
+
+`CodeLanguage.fromName` takes the name of a fence or of a `language-x` class, ignoring case, and
+`CodeLanguage.fromFileName` takes a file name or path. Both return null for a language the
+library does not know. A code block with an unknown language is drawn as plain code and keeps
+its language tag on export.
+
+## Limitations
+
+- A long line in a code block inside `RichText` or an editor wraps. Use `BasicCodeText` when the
+ code should scroll sideways.
+- There is no editor action yet to turn text into a code block or to leave one. A code block
+ that was loaded can be edited, and Enter adds a line to it.
+- Only fenced Markdown code is a code block. Code indented by four spaces is not.
+- HTML, XML, CSS and diffs are not coloured yet.
+- Markup inside an HTML `` is read as plain code. Code copied from an IDE arrives as a
+ `` with coloured spans and no language, so it is pasted as a code block without colours.
+- A code block inside a list item or a quote is moved to the top level.
+- The room above and below a block comes from a taller first and last line, because a text
+ layout has no space between paragraphs. When the first or last line of a block is long enough
+ to wrap, its wrapped lines are spaced a little wider than the rest. A one-line block that wraps
+ shows this most.
+- In Markdown, an empty paragraph directly after a block is not kept on a round trip.
+- Text selected in a read-only `RichText` inside a `SelectionContainer` is copied with a space
+ between paragraphs, so code selected that way loses its line ends. Copy and cut in the editors
+ keep them.
+- `ExpandableBasicRichText` colours the code but draws no background behind it.
+
+## Related
+
+- For the feature set that switches code blocks on and off, see [Editor features](features.md).
+- For format details, see [HTML Import and Export](html_import_export.md),
+ [Markdown Import and Export](markdown_import_export.md) and
+ [JSON Import and Export](json_import_export.md).
+- For the block model behind the JSON format, see [Rich Text Document](rich_text_document.md).
diff --git a/docs/features.md b/docs/features.md
index 132866769..de5b924bf 100644
--- a/docs/features.md
+++ b/docs/features.md
@@ -56,6 +56,7 @@ if (RichTextFeature.Link in state.config.features) {
| `OrderedList` | Ordered list items |
| `UnorderedList` | Unordered list items |
| `Heading` | Heading levels 1 to 6 |
+| `CodeBlock` | Multi-line code blocks |
| `ParagraphStyle` | Paragraph alignment, direction, first-line indent and line height |
Each feature corresponds to one `RichTextSpanMark` or one block attribute of the [document model](rich_text_document.md). `RichTextFeature.All` is computed from the enum, so a library version that adds a feature keeps it allowed for editors on the default and excluded for editors with an explicit set.
diff --git a/docs/html_import_export.md b/docs/html_import_export.md
index a3e33227f..4a4c04c57 100644
--- a/docs/html_import_export.md
+++ b/docs/html_import_export.md
@@ -60,6 +60,7 @@ The following HTML tags are supported:
- `` - Paragraphs
- `
` - Divisions
- `
` - Line breaks
+- `` - Code blocks, with the language from `` (see [Code Blocks](code_blocks.md))
- ``..`` - Headings (see [Headings](headings.md))
- `` - Unordered lists. `style="list-style-type: ..."` sets the bullet (`disc`, `circle`, `square`)
- `` - Ordered lists. `start="N"` sets the first item's number; `style="list-style-type: ..."` sets the numbering (`decimal`, `lower-alpha`, `upper-alpha`, `lower-roman`, `upper-roman`, `arabic-indic`, `arabic-abjad`)
diff --git a/docs/json_import_export.md b/docs/json_import_export.md
index 9004a4847..4477caca3 100644
--- a/docs/json_import_export.md
+++ b/docs/json_import_export.md
@@ -55,10 +55,11 @@ Block fields:
| Field | When present | Meaning |
|---|---|---|
| `id` | always | `"b" + index`; accepted and ignored on import |
-| `type` | always | `paragraph`, `heading`, or `list-item` |
+| `type` | always | `paragraph`, `heading`, `list-item`, or `code-block` |
| `level` | headings | Heading level 1 to 6 |
| `ordered`, `indent`, `start` | list items | Ordered flag, 0-based nesting, numbering restart |
| `listStyle` | list items with a style of their own | CSS `list-style-type` keyword of the item's list (`lower-alpha`, `square`, ...) |
+| `language`, `start` | code blocks | One block per line of code: the language tag as written, and `true` on the first line of a block (see [Code Blocks](code_blocks.md)). A library version from before code blocks rejects a document that contains one |
| `align`, `dir`, `lineHeight`, `textIndent` | when set | Paragraph style |
| `br` | line-break paragraphs | Paragraph created by `
` |
| `text`, `spans` | always | Content and styling marks |
diff --git a/docs/markdown_import_export.md b/docs/markdown_import_export.md
index dc4fe64b1..c8f363214 100644
--- a/docs/markdown_import_export.md
+++ b/docs/markdown_import_export.md
@@ -55,6 +55,7 @@ The following Markdown syntax elements are supported:
- `*text*` or `_text_` - Italic text
- `~~text~~` - Strikethrough text
- `` `code` `` - Code spans
+- Fenced code with a language after the opening fence - Code blocks (see [Code Blocks](code_blocks.md))
### Headings
- `# Title` through `###### Title` - ATX headings H1..H6 (see [Headings](headings.md))
diff --git a/docs/rich_text_document.md b/docs/rich_text_document.md
index 8693517f4..4ccb5c8ff 100644
--- a/docs/rich_text_document.md
+++ b/docs/rich_text_document.md
@@ -29,7 +29,7 @@ A document is a list of blocks, one per paragraph:
| `RichTextBlock` field | Type | Meaning |
|---|---|---|
| `text` | `String` | Flattened paragraph text. List prefixes are excluded. Each inline image occupies one U+FFFC placeholder character. |
-| `type` | `RichTextBlockType` | `Paragraph` or `ListItem(ordered, indent, startNumber, listStyleType)` |
+| `type` | `RichTextBlockType` | `Paragraph`, `ListItem(ordered, indent, startNumber, listStyleType)` or `CodeBlock(language, isBlockStart)`, one per line of code |
| `spans` | `List` | Styling marks over inclusive character ranges of `text` |
| `headingLevel` | `Int` | 0 for normal text, 1 to 6 for headings |
| `textAlign` | `TextAlign` | Paragraph alignment, `Unspecified` when not set |
diff --git a/richeditor-compose-json/src/commonMain/kotlin/com/mohamedrejeb/richeditor/json/internal/BlockJson.kt b/richeditor-compose-json/src/commonMain/kotlin/com/mohamedrejeb/richeditor/json/internal/BlockJson.kt
index b66a69017..79d201265 100644
--- a/richeditor-compose-json/src/commonMain/kotlin/com/mohamedrejeb/richeditor/json/internal/BlockJson.kt
+++ b/richeditor-compose-json/src/commonMain/kotlin/com/mohamedrejeb/richeditor/json/internal/BlockJson.kt
@@ -53,6 +53,13 @@ internal fun decodeBlock(json: JsonObject, registry: RichSpanStyleRegistry): Ric
},
) to ((json["heading"] as? JsonPrimitive)?.content?.toIntOrNull() ?: 0)
}
+ "code-block" -> RichTextBlockType.CodeBlock(
+ language = json["language"]?.takeIf { it !is JsonNull }?.let { element ->
+ (element as? JsonPrimitive)?.takeIf { it.isString }?.content
+ ?: throw MalformedRichTextJsonException("code-block \"language\" must be a string")
+ },
+ isBlockStart = (json["start"] as? JsonPrimitive)?.booleanOrNull == true,
+ ) to 0
else -> throw MalformedRichTextJsonException("Unknown block type: $typeName")
}
@@ -100,6 +107,11 @@ internal fun encodeBlock(
type.listStyleType?.let { put("listStyle", it) }
if (block.headingLevel > 0) put("heading", block.headingLevel)
}
+ type is RichTextBlockType.CodeBlock -> {
+ put("type", "code-block")
+ type.language?.let { put("language", it) }
+ if (type.isBlockStart) put("start", true)
+ }
block.headingLevel > 0 -> {
put("type", "heading")
put("level", block.headingLevel)
diff --git a/richeditor-compose-json/src/commonTest/kotlin/com/mohamedrejeb/richeditor/json/CodeBlockJsonTest.kt b/richeditor-compose-json/src/commonTest/kotlin/com/mohamedrejeb/richeditor/json/CodeBlockJsonTest.kt
new file mode 100644
index 000000000..1ad665d13
--- /dev/null
+++ b/richeditor-compose-json/src/commonTest/kotlin/com/mohamedrejeb/richeditor/json/CodeBlockJsonTest.kt
@@ -0,0 +1,60 @@
+package com.mohamedrejeb.richeditor.json
+
+import com.mohamedrejeb.richeditor.annotation.ExperimentalRichTextApi
+import com.mohamedrejeb.richeditor.document.RichTextBlock
+import com.mohamedrejeb.richeditor.document.RichTextBlockType
+import com.mohamedrejeb.richeditor.document.RichTextDocument
+import com.mohamedrejeb.richeditor.model.RichTextState
+import kotlin.test.Test
+import kotlin.test.assertEquals
+import kotlin.test.assertFailsWith
+
+@OptIn(ExperimentalRichTextApi::class)
+class CodeBlockJsonTest {
+
+ private val document = RichTextDocument(
+ blocks = listOf(
+ RichTextBlock(text = "val a", type = RichTextBlockType.CodeBlock("kotlin", isBlockStart = true)),
+ RichTextBlock(text = "", type = RichTextBlockType.CodeBlock("kotlin", isBlockStart = false)),
+ RichTextBlock(text = "c", type = RichTextBlockType.CodeBlock(null, isBlockStart = true)),
+ RichTextBlock(text = "d", type = RichTextBlockType.CodeBlock(null, isBlockStart = false)),
+ ),
+ )
+
+ @Test
+ fun `language and start are written and left out when unset`() {
+ assertEquals(
+ """{"v":1,"blocks":[""" +
+ """{"id":"b0","type":"code-block","language":"kotlin","start":true,"text":"val a","spans":[]},""" +
+ """{"id":"b1","type":"code-block","language":"kotlin","text":"","spans":[]},""" +
+ """{"id":"b2","type":"code-block","start":true,"text":"c","spans":[]},""" +
+ """{"id":"b3","type":"code-block","text":"d","spans":[]}]}""",
+ codecEncode(document),
+ )
+ }
+
+ @Test
+ fun `code blocks survive a json round trip`() {
+ assertEquals(document.blocks, codecDecode(codecEncode(document)).blocks)
+ }
+
+ @Test
+ fun `a language that is not a string is malformed`() {
+ assertFailsWith {
+ codecDecode("""{"v":1,"blocks":[{"id":"b0","type":"code-block","language":5,"text":"a","spans":[]}]}""")
+ }
+ }
+
+ @Test
+ fun `a code block survives a state json round trip`() {
+ val html = "Before
val a\n\n val b
" +
+ "c
After
"
+ val state = RichTextState().apply { setHtml(html) }
+
+ val json = state.toJson()
+ val reloaded = RichTextState().setJson(json)
+
+ assertEquals(html, reloaded.toHtml())
+ assertEquals(json, reloaded.toJson())
+ }
+}
diff --git a/richeditor-compose/api/desktop/richeditor-compose.api b/richeditor-compose/api/desktop/richeditor-compose.api
index 5939d5e92..6354e7800 100644
--- a/richeditor-compose/api/desktop/richeditor-compose.api
+++ b/richeditor-compose/api/desktop/richeditor-compose.api
@@ -36,6 +36,22 @@ public final class com/mohamedrejeb/richeditor/document/RichTextBlock {
public abstract interface class com/mohamedrejeb/richeditor/document/RichTextBlockType {
}
+public final class com/mohamedrejeb/richeditor/document/RichTextBlockType$CodeBlock : com/mohamedrejeb/richeditor/document/RichTextBlockType {
+ public static final field $stable I
+ public fun ()V
+ public fun (Ljava/lang/String;Z)V
+ public synthetic fun (Ljava/lang/String;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
+ public final fun component1 ()Ljava/lang/String;
+ public final fun component2 ()Z
+ public final fun copy (Ljava/lang/String;Z)Lcom/mohamedrejeb/richeditor/document/RichTextBlockType$CodeBlock;
+ public static synthetic fun copy$default (Lcom/mohamedrejeb/richeditor/document/RichTextBlockType$CodeBlock;Ljava/lang/String;ZILjava/lang/Object;)Lcom/mohamedrejeb/richeditor/document/RichTextBlockType$CodeBlock;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getLanguage ()Ljava/lang/String;
+ public fun hashCode ()I
+ public final fun isBlockStart ()Z
+ public fun toString ()Ljava/lang/String;
+}
+
public final class com/mohamedrejeb/richeditor/document/RichTextBlockType$ListItem : com/mohamedrejeb/richeditor/document/RichTextBlockType {
public static final field $stable I
public fun (ZILjava/lang/Integer;Ljava/lang/String;)V
@@ -331,6 +347,87 @@ public final class com/mohamedrejeb/richeditor/document/RichTextSpanMark$Unknown
public fun toString ()Ljava/lang/String;
}
+public final class com/mohamedrejeb/richeditor/highlight/CodeBlockColors {
+ public static final field $stable I
+ public static final field Companion Lcom/mohamedrejeb/richeditor/highlight/CodeBlockColors$Companion;
+ public fun (Landroidx/compose/ui/text/SpanStyle;Landroidx/compose/ui/text/SpanStyle;Landroidx/compose/ui/text/SpanStyle;Landroidx/compose/ui/text/SpanStyle;Landroidx/compose/ui/text/SpanStyle;)V
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getAnnotation ()Landroidx/compose/ui/text/SpanStyle;
+ public final fun getComment ()Landroidx/compose/ui/text/SpanStyle;
+ public final fun getKeyword ()Landroidx/compose/ui/text/SpanStyle;
+ public final fun getNumber ()Landroidx/compose/ui/text/SpanStyle;
+ public final fun getString ()Landroidx/compose/ui/text/SpanStyle;
+ public fun hashCode ()I
+ public final fun styleOf (Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;)Landroidx/compose/ui/text/SpanStyle;
+}
+
+public final class com/mohamedrejeb/richeditor/highlight/CodeBlockColors$Companion {
+ public final fun getDefault ()Lcom/mohamedrejeb/richeditor/highlight/CodeBlockColors;
+}
+
+public final class com/mohamedrejeb/richeditor/highlight/CodeHighlighter {
+ public static final field $stable I
+ public static final field INSTANCE Lcom/mohamedrejeb/richeditor/highlight/CodeHighlighter;
+ public final fun tokenize (Ljava/lang/String;Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;)Ljava/util/List;
+ public final fun tokenizeLines (Ljava/util/List;Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;)Ljava/util/List;
+}
+
+public final class com/mohamedrejeb/richeditor/highlight/CodeLanguage {
+ public static final field $stable I
+ public static final field Companion Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage$Companion;
+ public final fun getName ()Ljava/lang/String;
+ public fun toString ()Ljava/lang/String;
+}
+
+public final class com/mohamedrejeb/richeditor/highlight/CodeLanguage$Companion {
+ public final fun fromFileName (Ljava/lang/String;)Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun fromName (Ljava/lang/String;)Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getAll ()Ljava/util/List;
+ public final fun getC ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getCSharp ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getCpp ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getDart ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getGo ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getJava ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getJavaScript ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getJson ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getKotlin ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getPython ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getRust ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getShell ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getSql ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getSwift ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getTypeScript ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+ public final fun getYaml ()Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;
+}
+
+public final class com/mohamedrejeb/richeditor/highlight/CodeToken {
+ public static final field $stable I
+ public fun (IILcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;)V
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getEnd ()I
+ public final fun getKind ()Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;
+ public final fun getStart ()I
+ public fun hashCode ()I
+ public fun toString ()Ljava/lang/String;
+}
+
+public final class com/mohamedrejeb/richeditor/highlight/CodeTokenKind : java/lang/Enum {
+ public static final field Annotation Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;
+ public static final field Comment Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;
+ public static final field Keyword Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;
+ public static final field Number Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;
+ public static final field String Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;
+ public static fun getEntries ()Lkotlin/enums/EnumEntries;
+ public static fun valueOf (Ljava/lang/String;)Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;
+ public static fun values ()[Lcom/mohamedrejeb/richeditor/highlight/CodeTokenKind;
+}
+
+public final class com/mohamedrejeb/richeditor/highlight/HighlightCodeKt {
+ public static final fun highlightCode (Ljava/lang/String;Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;Lcom/mohamedrejeb/richeditor/highlight/CodeBlockColors;)Landroidx/compose/ui/text/AnnotatedString;
+ public static synthetic fun highlightCode$default (Ljava/lang/String;Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;Lcom/mohamedrejeb/richeditor/highlight/CodeBlockColors;ILjava/lang/Object;)Landroidx/compose/ui/text/AnnotatedString;
+}
+
public final class com/mohamedrejeb/richeditor/model/DefaultImageLoader : com/mohamedrejeb/richeditor/model/ImageLoader {
public static final field $stable I
public static final field INSTANCE Lcom/mohamedrejeb/richeditor/model/DefaultImageLoader;
@@ -493,6 +590,9 @@ public final class com/mohamedrejeb/richeditor/model/RichSpanStyleRegistry$Compa
public final class com/mohamedrejeb/richeditor/model/RichTextConfig {
public static final field $stable I
public final fun getAutoLinkEnabled ()Z
+ public final fun getCodeBlockBackgroundColor-0d7_KjU ()J
+ public final fun getCodeBlockColors ()Lcom/mohamedrejeb/richeditor/highlight/CodeBlockColors;
+ public final fun getCodeBlockFontFamily ()Landroidx/compose/ui/text/font/FontFamily;
public final fun getCodeSpanBackgroundColor-0d7_KjU ()J
public final fun getCodeSpanColor-0d7_KjU ()J
public final fun getCodeSpanCornerRadius-XSAIIZE ()J
@@ -519,6 +619,9 @@ public final class com/mohamedrejeb/richeditor/model/RichTextConfig {
public final fun getUnorderedListIndent ()I
public final fun getUnorderedListStyleType ()Lcom/mohamedrejeb/richeditor/paragraph/type/UnorderedListStyleType;
public final fun setAutoLinkEnabled (Z)V
+ public final fun setCodeBlockBackgroundColor-8_81llA (J)V
+ public final fun setCodeBlockColors (Lcom/mohamedrejeb/richeditor/highlight/CodeBlockColors;)V
+ public final fun setCodeBlockFontFamily (Landroidx/compose/ui/text/font/FontFamily;)V
public final fun setCodeSpanBackgroundColor-8_81llA (J)V
public final fun setCodeSpanColor-8_81llA (J)V
public final fun setCodeSpanCornerRadius--R2X_6o (J)V
@@ -549,6 +652,7 @@ public final class com/mohamedrejeb/richeditor/model/RichTextConfig {
public final class com/mohamedrejeb/richeditor/model/RichTextFeature : java/lang/Enum {
public static final field BaselineShift Lcom/mohamedrejeb/richeditor/model/RichTextFeature;
public static final field Bold Lcom/mohamedrejeb/richeditor/model/RichTextFeature;
+ public static final field CodeBlock Lcom/mohamedrejeb/richeditor/model/RichTextFeature;
public static final field CodeSpan Lcom/mohamedrejeb/richeditor/model/RichTextFeature;
public static final field Companion Lcom/mohamedrejeb/richeditor/model/RichTextFeature$Companion;
public static final field CustomSpanStyle Lcom/mohamedrejeb/richeditor/model/RichTextFeature;
@@ -909,13 +1013,22 @@ public final class com/mohamedrejeb/richeditor/paragraph/type/UnorderedListStyle
public final fun getSquare ()Lcom/mohamedrejeb/richeditor/paragraph/type/UnorderedListStyleType;
}
+public final class com/mohamedrejeb/richeditor/ui/BasicCodeTextKt {
+ public static final fun BasicCodeText (Ljava/lang/String;Lcom/mohamedrejeb/richeditor/highlight/CodeLanguage;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/text/TextStyle;Lcom/mohamedrejeb/richeditor/highlight/CodeBlockColors;ZLkotlin/jvm/functions/Function1;Landroidx/compose/runtime/Composer;II)V
+}
+
public final class com/mohamedrejeb/richeditor/ui/BasicRichTextEditorKt {
public static final fun BasicRichTextEditor (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;ZZLandroidx/compose/ui/text/TextStyle;Landroidx/compose/foundation/text/KeyboardOptions;Landroidx/compose/foundation/text/KeyboardActions;ZIIILkotlin/jvm/functions/Function1;Landroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/ui/graphics/Brush;Lcom/mohamedrejeb/richeditor/ui/UndoBehavior;Lkotlin/jvm/functions/Function3;Landroidx/compose/runtime/Composer;III)V
public static final fun BasicRichTextEditor (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;ZZLandroidx/compose/ui/text/TextStyle;Landroidx/compose/foundation/text/KeyboardOptions;Landroidx/compose/foundation/text/KeyboardActions;ZZIIILkotlin/jvm/functions/Function1;Landroidx/compose/foundation/interaction/MutableInteractionSource;Landroidx/compose/ui/graphics/Brush;Lcom/mohamedrejeb/richeditor/ui/UndoBehavior;Lkotlin/jvm/functions/Function3;Landroidx/compose/foundation/layout/PaddingValues;Landroidx/compose/runtime/Composer;III)V
}
public final class com/mohamedrejeb/richeditor/ui/BasicRichTextKt {
- public static final fun BasicRichText-Jzo1Dmk (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/text/TextStyle;Lkotlin/jvm/functions/Function1;IZIILjava/util/Map;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Landroidx/compose/runtime/Composer;III)V
+ public static final synthetic fun BasicRichText-Jzo1Dmk (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/text/TextStyle;Lkotlin/jvm/functions/Function1;IZIILjava/util/Map;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Landroidx/compose/runtime/Composer;III)V
+ public static final fun BasicRichText-Kj_y3YE (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;Landroidx/compose/ui/text/TextStyle;Lkotlin/jvm/functions/Function1;IZIILjava/util/Map;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;III)V
+}
+
+public final class com/mohamedrejeb/richeditor/ui/CodeBlockCopyButtonKt {
+ public static final fun CodeBlockCopyButton-T042LqI (Ljava/lang/String;Landroidx/compose/ui/Modifier;JLjava/lang/String;Lkotlin/jvm/functions/Function0;Landroidx/compose/runtime/Composer;II)V
}
public final class com/mohamedrejeb/richeditor/ui/ComposableSingletons$BasicRichTextEditorKt {
@@ -946,7 +1059,8 @@ public final class com/mohamedrejeb/richeditor/ui/material/RichTextEditorKt {
}
public final class com/mohamedrejeb/richeditor/ui/material/RichTextKt {
- public static final fun RichText-mQfddtU (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;JJLandroidx/compose/ui/text/font/FontStyle;Landroidx/compose/ui/text/font/FontWeight;Landroidx/compose/ui/text/font/FontFamily;JLandroidx/compose/ui/text/style/TextDecoration;IJIZIILjava/util/Map;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/text/TextStyle;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Landroidx/compose/runtime/Composer;IIII)V
+ public static final fun RichText-KrekslA (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;JJLandroidx/compose/ui/text/font/FontStyle;Landroidx/compose/ui/text/font/FontWeight;Landroidx/compose/ui/text/font/FontFamily;JLandroidx/compose/ui/text/style/TextDecoration;IJIZIILjava/util/Map;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/text/TextStyle;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;IIII)V
+ public static final synthetic fun RichText-mQfddtU (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;JJLandroidx/compose/ui/text/font/FontStyle;Landroidx/compose/ui/text/font/FontWeight;Landroidx/compose/ui/text/font/FontFamily;JLandroidx/compose/ui/text/style/TextDecoration;IJIZIILjava/util/Map;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/text/TextStyle;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Landroidx/compose/runtime/Composer;IIII)V
}
public final class com/mohamedrejeb/richeditor/ui/material3/ExpandableRichTextKt {
@@ -995,7 +1109,8 @@ public final class com/mohamedrejeb/richeditor/ui/material3/RichTextEditorKt {
}
public final class com/mohamedrejeb/richeditor/ui/material3/RichTextKt {
- public static final fun RichText-mQfddtU (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;JJLandroidx/compose/ui/text/font/FontStyle;Landroidx/compose/ui/text/font/FontWeight;Landroidx/compose/ui/text/font/FontFamily;JLandroidx/compose/ui/text/style/TextDecoration;IJIZIILjava/util/Map;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/text/TextStyle;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Landroidx/compose/runtime/Composer;IIII)V
+ public static final fun RichText-KrekslA (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;JJLandroidx/compose/ui/text/font/FontStyle;Landroidx/compose/ui/text/font/FontWeight;Landroidx/compose/ui/text/font/FontFamily;JLandroidx/compose/ui/text/style/TextDecoration;IJIZIILjava/util/Map;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/text/TextStyle;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Lkotlin/jvm/functions/Function4;Landroidx/compose/runtime/Composer;IIII)V
+ public static final synthetic fun RichText-mQfddtU (Lcom/mohamedrejeb/richeditor/model/RichTextState;Landroidx/compose/ui/Modifier;JJLandroidx/compose/ui/text/font/FontStyle;Landroidx/compose/ui/text/font/FontWeight;Landroidx/compose/ui/text/font/FontFamily;JLandroidx/compose/ui/text/style/TextDecoration;IJIZIILjava/util/Map;Lkotlin/jvm/functions/Function1;Landroidx/compose/ui/text/TextStyle;Lcom/mohamedrejeb/richeditor/model/ImageLoader;Lcom/mohamedrejeb/richeditor/model/TokenClickHandler;Lcom/mohamedrejeb/richeditor/model/TokenHoverHandler;Landroidx/compose/runtime/Composer;IIII)V
}
public final class com/mohamedrejeb/richeditor/ui/material3/TriggerSuggestionsKt {
diff --git a/richeditor-compose/api/richeditor-compose.klib.api b/richeditor-compose/api/richeditor-compose.klib.api
index 3314eea8c..79f9d3733 100644
--- a/richeditor-compose/api/richeditor-compose.klib.api
+++ b/richeditor-compose/api/richeditor-compose.klib.api
@@ -14,6 +14,20 @@ open annotation class com.mohamedrejeb.richeditor.annotation/InternalRichTextApi
constructor () // com.mohamedrejeb.richeditor.annotation/InternalRichTextApi.|(){}[0]
}
+final enum class com.mohamedrejeb.richeditor.highlight/CodeTokenKind : kotlin/Enum { // com.mohamedrejeb.richeditor.highlight/CodeTokenKind|null[0]
+ enum entry Annotation // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.Annotation|null[0]
+ enum entry Comment // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.Comment|null[0]
+ enum entry Keyword // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.Keyword|null[0]
+ enum entry Number // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.Number|null[0]
+ enum entry String // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.String|null[0]
+
+ final val entries // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.entries|#static{}entries[0]
+ final fun (): kotlin.enums/EnumEntries // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.entries.|#static(){}[0]
+
+ final fun valueOf(kotlin/String): com.mohamedrejeb.richeditor.highlight/CodeTokenKind // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.valueOf|valueOf#static(kotlin.String){}[0]
+ final fun values(): kotlin/Array // com.mohamedrejeb.richeditor.highlight/CodeTokenKind.values|values#static(){}[0]
+}
+
final enum class com.mohamedrejeb.richeditor.model/HeadingStyle : kotlin/Enum { // com.mohamedrejeb.richeditor.model/HeadingStyle|null[0]
enum entry H1 // com.mohamedrejeb.richeditor.model/HeadingStyle.H1|null[0]
enum entry H2 // com.mohamedrejeb.richeditor.model/HeadingStyle.H2|null[0]
@@ -39,6 +53,7 @@ final enum class com.mohamedrejeb.richeditor.model/HeadingStyle : kotlin/Enum { // com.mohamedrejeb.richeditor.model/RichTextFeature|null[0]
enum entry BaselineShift // com.mohamedrejeb.richeditor.model/RichTextFeature.BaselineShift|null[0]
enum entry Bold // com.mohamedrejeb.richeditor.model/RichTextFeature.Bold|null[0]
+ enum entry CodeBlock // com.mohamedrejeb.richeditor.model/RichTextFeature.CodeBlock|null[0]
enum entry CodeSpan // com.mohamedrejeb.richeditor.model/RichTextFeature.CodeSpan|null[0]
enum entry CustomSpanStyle // com.mohamedrejeb.richeditor.model/RichTextFeature.CustomSpanStyle|null[0]
enum entry FontSize // com.mohamedrejeb.richeditor.model/RichTextFeature.FontSize|null[0]
@@ -264,6 +279,22 @@ abstract interface com.mohamedrejeb.richeditor.paragraph.type/OrderedListStyleTy
}
sealed interface com.mohamedrejeb.richeditor.document/RichTextBlockType { // com.mohamedrejeb.richeditor.document/RichTextBlockType|null[0]
+ final class CodeBlock : com.mohamedrejeb.richeditor.document/RichTextBlockType { // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock|null[0]
+ constructor (kotlin/String? = ..., kotlin/Boolean = ...) // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.|(kotlin.String?;kotlin.Boolean){}[0]
+
+ final val isBlockStart // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.isBlockStart|{}isBlockStart[0]
+ final fun (): kotlin/Boolean // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.isBlockStart.|(){}[0]
+ final val language // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.language|{}language[0]
+ final fun (): kotlin/String? // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.language.|(){}[0]
+
+ final fun component1(): kotlin/String? // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.component1|component1(){}[0]
+ final fun component2(): kotlin/Boolean // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.component2|component2(){}[0]
+ final fun copy(kotlin/String? = ..., kotlin/Boolean = ...): com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.copy|copy(kotlin.String?;kotlin.Boolean){}[0]
+ final fun equals(kotlin/Any?): kotlin/Boolean // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.equals|equals(kotlin.Any?){}[0]
+ final fun hashCode(): kotlin/Int // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.hashCode|hashCode(){}[0]
+ final fun toString(): kotlin/String // com.mohamedrejeb.richeditor.document/RichTextBlockType.CodeBlock.toString|toString(){}[0]
+ }
+
final class ListItem : com.mohamedrejeb.richeditor.document/RichTextBlockType { // com.mohamedrejeb.richeditor.document/RichTextBlockType.ListItem|null[0]
constructor (kotlin/Boolean, kotlin/Int = ..., kotlin/Int? = ..., kotlin/String? = ...) // com.mohamedrejeb.richeditor.document/RichTextBlockType.ListItem.|(kotlin.Boolean;kotlin.Int;kotlin.Int?;kotlin.String?){}[0]
@@ -636,6 +667,92 @@ final class com.mohamedrejeb.richeditor.document/RichTextDocument { // com.moham
}
}
+final class com.mohamedrejeb.richeditor.highlight/CodeBlockColors { // com.mohamedrejeb.richeditor.highlight/CodeBlockColors|null[0]
+ constructor (androidx.compose.ui.text/SpanStyle, androidx.compose.ui.text/SpanStyle, androidx.compose.ui.text/SpanStyle, androidx.compose.ui.text/SpanStyle, androidx.compose.ui.text/SpanStyle) // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.|(androidx.compose.ui.text.SpanStyle;androidx.compose.ui.text.SpanStyle;androidx.compose.ui.text.SpanStyle;androidx.compose.ui.text.SpanStyle;androidx.compose.ui.text.SpanStyle){}[0]
+
+ final val annotation // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.annotation|{}annotation[0]
+ final fun (): androidx.compose.ui.text/SpanStyle // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.annotation.|(){}[0]
+ final val comment // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.comment|{}comment[0]
+ final fun (): androidx.compose.ui.text/SpanStyle // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.comment.|(){}[0]
+ final val keyword // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.keyword|{}keyword[0]
+ final fun (): androidx.compose.ui.text/SpanStyle // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.keyword.|(){}[0]
+ final val number // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.number|{}number[0]
+ final fun (): androidx.compose.ui.text/SpanStyle // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.number.|(){}[0]
+ final val string // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.string|{}string[0]
+ final fun (): androidx.compose.ui.text/SpanStyle // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.string.|(){}[0]
+
+ final fun equals(kotlin/Any?): kotlin/Boolean // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.equals|equals(kotlin.Any?){}[0]
+ final fun hashCode(): kotlin/Int // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.hashCode|hashCode(){}[0]
+ final fun styleOf(com.mohamedrejeb.richeditor.highlight/CodeTokenKind): androidx.compose.ui.text/SpanStyle // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.styleOf|styleOf(com.mohamedrejeb.richeditor.highlight.CodeTokenKind){}[0]
+
+ final object Companion { // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.Companion|null[0]
+ final val Default // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.Companion.Default|{}Default[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeBlockColors // com.mohamedrejeb.richeditor.highlight/CodeBlockColors.Companion.Default.|(){}[0]
+ }
+}
+
+final class com.mohamedrejeb.richeditor.highlight/CodeLanguage { // com.mohamedrejeb.richeditor.highlight/CodeLanguage|null[0]
+ final val name // com.mohamedrejeb.richeditor.highlight/CodeLanguage.name|{}name[0]
+ final fun (): kotlin/String // com.mohamedrejeb.richeditor.highlight/CodeLanguage.name.|(){}[0]
+
+ final fun toString(): kotlin/String // com.mohamedrejeb.richeditor.highlight/CodeLanguage.toString|toString(){}[0]
+
+ final object Companion { // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion|null[0]
+ final val C // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.C|{}C[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.C.|(){}[0]
+ final val CSharp // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.CSharp|{}CSharp[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.CSharp.|(){}[0]
+ final val Cpp // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Cpp|{}Cpp[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Cpp.|(){}[0]
+ final val Dart // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Dart|{}Dart[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Dart.|(){}[0]
+ final val Go // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Go|{}Go[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Go.|(){}[0]
+ final val Java // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Java|{}Java[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Java.|(){}[0]
+ final val JavaScript // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.JavaScript|{}JavaScript[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.JavaScript.|(){}[0]
+ final val Json // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Json|{}Json[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Json.|(){}[0]
+ final val Kotlin // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Kotlin|{}Kotlin[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Kotlin.|(){}[0]
+ final val Python // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Python|{}Python[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Python.|(){}[0]
+ final val Rust // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Rust|{}Rust[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Rust.|(){}[0]
+ final val Shell // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Shell|{}Shell[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Shell.|(){}[0]
+ final val Sql // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Sql|{}Sql[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Sql.|(){}[0]
+ final val Swift // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Swift|{}Swift[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Swift.|(){}[0]
+ final val TypeScript // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.TypeScript|{}TypeScript[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.TypeScript.|(){}[0]
+ final val Yaml // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Yaml|{}Yaml[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeLanguage // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.Yaml.|(){}[0]
+ final val all // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.all|{}all[0]
+ final fun (): kotlin.collections/List // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.all.|(){}[0]
+
+ final fun fromFileName(kotlin/String): com.mohamedrejeb.richeditor.highlight/CodeLanguage? // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.fromFileName|fromFileName(kotlin.String){}[0]
+ final fun fromName(kotlin/String): com.mohamedrejeb.richeditor.highlight/CodeLanguage? // com.mohamedrejeb.richeditor.highlight/CodeLanguage.Companion.fromName|fromName(kotlin.String){}[0]
+ }
+}
+
+final class com.mohamedrejeb.richeditor.highlight/CodeToken { // com.mohamedrejeb.richeditor.highlight/CodeToken|null[0]
+ constructor (kotlin/Int, kotlin/Int, com.mohamedrejeb.richeditor.highlight/CodeTokenKind) // com.mohamedrejeb.richeditor.highlight/CodeToken.|(kotlin.Int;kotlin.Int;com.mohamedrejeb.richeditor.highlight.CodeTokenKind){}[0]
+
+ final val end // com.mohamedrejeb.richeditor.highlight/CodeToken.end|{}end[0]
+ final fun (): kotlin/Int // com.mohamedrejeb.richeditor.highlight/CodeToken.end.|(){}[0]
+ final val kind // com.mohamedrejeb.richeditor.highlight/CodeToken.kind|{}kind[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeTokenKind // com.mohamedrejeb.richeditor.highlight/CodeToken.kind.|(){}[0]
+ final val start // com.mohamedrejeb.richeditor.highlight/CodeToken.start|{}start[0]
+ final fun (): kotlin/Int // com.mohamedrejeb.richeditor.highlight/CodeToken.start.|(){}[0]
+
+ final fun equals(kotlin/Any?): kotlin/Boolean // com.mohamedrejeb.richeditor.highlight/CodeToken.equals|equals(kotlin.Any?){}[0]
+ final fun hashCode(): kotlin/Int // com.mohamedrejeb.richeditor.highlight/CodeToken.hashCode|hashCode(){}[0]
+ final fun toString(): kotlin/String // com.mohamedrejeb.richeditor.highlight/CodeToken.toString|toString(){}[0]
+}
+
final class com.mohamedrejeb.richeditor.model.history/RichTextHistory { // com.mohamedrejeb.richeditor.model.history/RichTextHistory|null[0]
final val canRedo // com.mohamedrejeb.richeditor.model.history/RichTextHistory.canRedo|{}canRedo[0]
final fun (): kotlin/Boolean // com.mohamedrejeb.richeditor.model.history/RichTextHistory.canRedo.|(){}[0]
@@ -735,6 +852,15 @@ final class com.mohamedrejeb.richeditor.model/RichTextConfig { // com.mohamedrej
final var autoLinkEnabled // com.mohamedrejeb.richeditor.model/RichTextConfig.autoLinkEnabled|{}autoLinkEnabled[0]
final fun (): kotlin/Boolean // com.mohamedrejeb.richeditor.model/RichTextConfig.autoLinkEnabled.|(){}[0]
final fun (kotlin/Boolean) // com.mohamedrejeb.richeditor.model/RichTextConfig.autoLinkEnabled.|(kotlin.Boolean){}[0]
+ final var codeBlockBackgroundColor // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockBackgroundColor|{}codeBlockBackgroundColor[0]
+ final fun (): androidx.compose.ui.graphics/Color // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockBackgroundColor.|(){}[0]
+ final fun (androidx.compose.ui.graphics/Color) // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockBackgroundColor.|(androidx.compose.ui.graphics.Color){}[0]
+ final var codeBlockColors // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockColors|{}codeBlockColors[0]
+ final fun (): com.mohamedrejeb.richeditor.highlight/CodeBlockColors // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockColors.|(){}[0]
+ final fun (com.mohamedrejeb.richeditor.highlight/CodeBlockColors) // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockColors.|(com.mohamedrejeb.richeditor.highlight.CodeBlockColors){}[0]
+ final var codeBlockFontFamily // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockFontFamily|{}codeBlockFontFamily[0]
+ final fun (): androidx.compose.ui.text.font/FontFamily // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockFontFamily.|(){}[0]
+ final fun (androidx.compose.ui.text.font/FontFamily) // com.mohamedrejeb.richeditor.model/RichTextConfig.codeBlockFontFamily.|(androidx.compose.ui.text.font.FontFamily){}[0]
final var codeSpanBackgroundColor // com.mohamedrejeb.richeditor.model/RichTextConfig.codeSpanBackgroundColor|{}codeSpanBackgroundColor[0]
final fun (): androidx.compose.ui.graphics/Color // com.mohamedrejeb.richeditor.model/RichTextConfig.codeSpanBackgroundColor.|(){}[0]
final fun (androidx.compose.ui.graphics/Color) // com.mohamedrejeb.richeditor.model/RichTextConfig.codeSpanBackgroundColor.|(androidx.compose.ui.graphics.Color){}[0]
@@ -1020,6 +1146,11 @@ final class com.mohamedrejeb.richeditor.ui.material3/RichTextEditorColors { // c
final fun hashCode(): kotlin/Int // com.mohamedrejeb.richeditor.ui.material3/RichTextEditorColors.hashCode|hashCode(){}[0]
}
+final object com.mohamedrejeb.richeditor.highlight/CodeHighlighter { // com.mohamedrejeb.richeditor.highlight/CodeHighlighter|null[0]
+ final fun tokenize(kotlin/String, com.mohamedrejeb.richeditor.highlight/CodeLanguage): kotlin.collections/List // com.mohamedrejeb.richeditor.highlight/CodeHighlighter.tokenize|tokenize(kotlin.String;com.mohamedrejeb.richeditor.highlight.CodeLanguage){}[0]
+ final fun tokenizeLines(kotlin.collections/List, com.mohamedrejeb.richeditor.highlight/CodeLanguage): kotlin.collections/List> // com.mohamedrejeb.richeditor.highlight/CodeHighlighter.tokenizeLines|tokenizeLines(kotlin.collections.List;com.mohamedrejeb.richeditor.highlight.CodeLanguage){}[0]
+}
+
final object com.mohamedrejeb.richeditor.model/DefaultImageLoader : com.mohamedrejeb.richeditor.model/ImageLoader { // com.mohamedrejeb.richeditor.model/DefaultImageLoader|null[0]
final fun load(kotlin/Any, androidx.compose.runtime/Composer?, kotlin/Int): com.mohamedrejeb.richeditor.model/ImageData? // com.mohamedrejeb.richeditor.model/DefaultImageLoader.load|load(kotlin.Any;androidx.compose.runtime.Composer?;kotlin.Int){}[0]
}
@@ -1053,6 +1184,7 @@ final object com.mohamedrejeb.richeditor.ui.material3/RichTextEditorDefaults { /
}
final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlock$stableprop // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlock$stableprop|#static{}com_mohamedrejeb_richeditor_document_RichTextBlock$stableprop[0]
+final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_CodeBlock$stableprop // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_CodeBlock$stableprop|#static{}com_mohamedrejeb_richeditor_document_RichTextBlockType_CodeBlock$stableprop[0]
final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_ListItem$stableprop // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_ListItem$stableprop|#static{}com_mohamedrejeb_richeditor_document_RichTextBlockType_ListItem$stableprop[0]
final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_Paragraph$stableprop // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_Paragraph$stableprop|#static{}com_mohamedrejeb_richeditor_document_RichTextBlockType_Paragraph$stableprop[0]
final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextDocument$stableprop // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextDocument$stableprop|#static{}com_mohamedrejeb_richeditor_document_RichTextDocument$stableprop[0]
@@ -1073,6 +1205,10 @@ final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_docum
final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Token$stableprop // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Token$stableprop|#static{}com_mohamedrejeb_richeditor_document_RichTextSpanMark_Token$stableprop[0]
final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Underline$stableprop // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Underline$stableprop|#static{}com_mohamedrejeb_richeditor_document_RichTextSpanMark_Underline$stableprop[0]
final val com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Unknown$stableprop // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Unknown$stableprop|#static{}com_mohamedrejeb_richeditor_document_RichTextSpanMark_Unknown$stableprop[0]
+final val com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeBlockColors$stableprop // com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeBlockColors$stableprop|#static{}com_mohamedrejeb_richeditor_highlight_CodeBlockColors$stableprop[0]
+final val com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeHighlighter$stableprop // com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeHighlighter$stableprop|#static{}com_mohamedrejeb_richeditor_highlight_CodeHighlighter$stableprop[0]
+final val com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeLanguage$stableprop // com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeLanguage$stableprop|#static{}com_mohamedrejeb_richeditor_highlight_CodeLanguage$stableprop[0]
+final val com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeToken$stableprop // com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeToken$stableprop|#static{}com_mohamedrejeb_richeditor_highlight_CodeToken$stableprop[0]
final val com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_Delete$stableprop // com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_Delete$stableprop|#static{}com_mohamedrejeb_richeditor_model_history_CommitTrigger_Delete$stableprop[0]
final val com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_Formatting$stableprop // com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_Formatting$stableprop|#static{}com_mohamedrejeb_richeditor_model_history_CommitTrigger_Formatting$stableprop[0]
final val com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_LineBreak$stableprop // com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_LineBreak$stableprop|#static{}com_mohamedrejeb_richeditor_model_history_CommitTrigger_LineBreak$stableprop[0]
@@ -1125,6 +1261,7 @@ final fun (androidx.compose.ui.text/TextLayoutResult).com.mohamedrejeb.richedito
final fun (kotlin/Float).com.mohamedrejeb.richeditor.utils/maxDecimals(kotlin/Int): kotlin/Float // com.mohamedrejeb.richeditor.utils/maxDecimals|maxDecimals@kotlin.Float(kotlin.Int){}[0]
final fun <#A: kotlin/Any?> com.mohamedrejeb.richeditor.ui.material3/TriggerSuggestions(com.mohamedrejeb.richeditor.model/RichTextState, kotlin/String, kotlin/Function1>, kotlin/Function1<#A, com.mohamedrejeb.richeditor.model/RichSpanStyle.Token>, androidx.compose.ui/Modifier?, androidx.compose.ui.unit/Dp, androidx.compose.ui.graphics/Color, androidx.compose.ui.graphics/Color, androidx.compose.ui.graphics/Color, androidx.compose.ui.graphics/Shape?, kotlin/Int, kotlin/Function3<#A, androidx.compose.runtime/Composer, kotlin/Int, kotlin/Unit>, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material3/TriggerSuggestions|TriggerSuggestions(com.mohamedrejeb.richeditor.model.RichTextState;kotlin.String;kotlin.Function1>;kotlin.Function1<0:0,com.mohamedrejeb.richeditor.model.RichSpanStyle.Token>;androidx.compose.ui.Modifier?;androidx.compose.ui.unit.Dp;androidx.compose.ui.graphics.Color;androidx.compose.ui.graphics.Color;androidx.compose.ui.graphics.Color;androidx.compose.ui.graphics.Shape?;kotlin.Int;kotlin.Function3<0:0,androidx.compose.runtime.Composer,kotlin.Int,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int){0ยง}[0]
final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlock$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlock$stableprop_getter|com_mohamedrejeb_richeditor_document_RichTextBlock$stableprop_getter(){}[0]
+final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_CodeBlock$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_CodeBlock$stableprop_getter|com_mohamedrejeb_richeditor_document_RichTextBlockType_CodeBlock$stableprop_getter(){}[0]
final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_ListItem$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_ListItem$stableprop_getter|com_mohamedrejeb_richeditor_document_RichTextBlockType_ListItem$stableprop_getter(){}[0]
final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_Paragraph$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextBlockType_Paragraph$stableprop_getter|com_mohamedrejeb_richeditor_document_RichTextBlockType_Paragraph$stableprop_getter(){}[0]
final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextDocument$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextDocument$stableprop_getter|com_mohamedrejeb_richeditor_document_RichTextDocument$stableprop_getter(){}[0]
@@ -1145,6 +1282,11 @@ final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_docum
final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Token$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Token$stableprop_getter|com_mohamedrejeb_richeditor_document_RichTextSpanMark_Token$stableprop_getter(){}[0]
final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Underline$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Underline$stableprop_getter|com_mohamedrejeb_richeditor_document_RichTextSpanMark_Underline$stableprop_getter(){}[0]
final fun com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Unknown$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.document/com_mohamedrejeb_richeditor_document_RichTextSpanMark_Unknown$stableprop_getter|com_mohamedrejeb_richeditor_document_RichTextSpanMark_Unknown$stableprop_getter(){}[0]
+final fun com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeBlockColors$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeBlockColors$stableprop_getter|com_mohamedrejeb_richeditor_highlight_CodeBlockColors$stableprop_getter(){}[0]
+final fun com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeHighlighter$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeHighlighter$stableprop_getter|com_mohamedrejeb_richeditor_highlight_CodeHighlighter$stableprop_getter(){}[0]
+final fun com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeLanguage$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeLanguage$stableprop_getter|com_mohamedrejeb_richeditor_highlight_CodeLanguage$stableprop_getter(){}[0]
+final fun com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeToken$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.highlight/com_mohamedrejeb_richeditor_highlight_CodeToken$stableprop_getter|com_mohamedrejeb_richeditor_highlight_CodeToken$stableprop_getter(){}[0]
+final fun com.mohamedrejeb.richeditor.highlight/highlightCode(kotlin/String, com.mohamedrejeb.richeditor.highlight/CodeLanguage?, com.mohamedrejeb.richeditor.highlight/CodeBlockColors = ...): androidx.compose.ui.text/AnnotatedString // com.mohamedrejeb.richeditor.highlight/highlightCode|highlightCode(kotlin.String;com.mohamedrejeb.richeditor.highlight.CodeLanguage?;com.mohamedrejeb.richeditor.highlight.CodeBlockColors){}[0]
final fun com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_Delete$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_Delete$stableprop_getter|com_mohamedrejeb_richeditor_model_history_CommitTrigger_Delete$stableprop_getter(){}[0]
final fun com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_Formatting$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_Formatting$stableprop_getter|com_mohamedrejeb_richeditor_model_history_CommitTrigger_Formatting$stableprop_getter(){}[0]
final fun com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_LineBreak$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.model.history/com_mohamedrejeb_richeditor_model_history_CommitTrigger_LineBreak$stableprop_getter|com_mohamedrejeb_richeditor_model_history_CommitTrigger_LineBreak$stableprop_getter(){}[0]
@@ -1182,19 +1324,27 @@ final fun com.mohamedrejeb.richeditor.paragraph.type/com_mohamedrejeb_richeditor
final fun com.mohamedrejeb.richeditor.parser.html/com_mohamedrejeb_richeditor_parser_html_CssDecoder_HtmlStylingFormat$stableprop_getter(): kotlin/Int // com.mohamedrejeb.richeditor.parser.html/com_mohamedrejeb_richeditor_parser_html_CssDecoder_HtmlStylingFormat$stableprop_getter|com_mohamedrejeb_richeditor_parser_html_CssDecoder_HtmlStylingFormat$stableprop_getter(){}[0]
final fun com.mohamedrejeb.richeditor.ui.material/OutlinedRichTextEditor(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, kotlin/Boolean, kotlin/Boolean, androidx.compose.ui.text/TextStyle?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Boolean, androidx.compose.foundation.text/KeyboardOptions?, androidx.compose.foundation.text/KeyboardActions?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin/Int, androidx.compose.foundation.interaction/MutableInteractionSource?, androidx.compose.ui.graphics/Shape?, androidx.compose.material/TextFieldColors?, com.mohamedrejeb.richeditor.ui/UndoBehavior?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material/OutlinedRichTextEditor|OutlinedRichTextEditor(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;kotlin.Boolean;kotlin.Boolean;androidx.compose.ui.text.TextStyle?;kotlin.Function2?;kotlin.Function2?;kotlin.Function2?;kotlin.Function2?;kotlin.Boolean;androidx.compose.foundation.text.KeyboardOptions?;androidx.compose.foundation.text.KeyboardActions?;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.Int;androidx.compose.foundation.interaction.MutableInteractionSource?;androidx.compose.ui.graphics.Shape?;androidx.compose.material.TextFieldColors?;com.mohamedrejeb.richeditor.ui.UndoBehavior?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
final fun com.mohamedrejeb.richeditor.ui.material/RichText(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, androidx.compose.ui.graphics/Color, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.font/FontStyle?, androidx.compose.ui.text.font/FontWeight?, androidx.compose.ui.text.font/FontFamily?, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.style/TextDecoration?, androidx.compose.ui.text.style/TextAlign, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.style/TextOverflow, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin.collections/Map?, kotlin/Function1?, androidx.compose.ui.text/TextStyle?, com.mohamedrejeb.richeditor.model/ImageLoader?, com.mohamedrejeb.richeditor.model/TokenClickHandler?, com.mohamedrejeb.richeditor.model/TokenHoverHandler?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material/RichText|RichText(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;androidx.compose.ui.graphics.Color;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.font.FontStyle?;androidx.compose.ui.text.font.FontWeight?;androidx.compose.ui.text.font.FontFamily?;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.style.TextDecoration?;androidx.compose.ui.text.style.TextAlign;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.style.TextOverflow;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.collections.Map?;kotlin.Function1?;androidx.compose.ui.text.TextStyle?;com.mohamedrejeb.richeditor.model.ImageLoader?;com.mohamedrejeb.richeditor.model.TokenClickHandler?;com.mohamedrejeb.richeditor.model.TokenHoverHandler?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
+final fun com.mohamedrejeb.richeditor.ui.material/RichText(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, androidx.compose.ui.graphics/Color, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.font/FontStyle?, androidx.compose.ui.text.font/FontWeight?, androidx.compose.ui.text.font/FontFamily?, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.style/TextDecoration?, androidx.compose.ui.text.style/TextAlign, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.style/TextOverflow, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin.collections/Map?, kotlin/Function1?, androidx.compose.ui.text/TextStyle?, com.mohamedrejeb.richeditor.model/ImageLoader?, com.mohamedrejeb.richeditor.model/TokenClickHandler?, com.mohamedrejeb.richeditor.model/TokenHoverHandler?, kotlin/Function4?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material/RichText|RichText(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;androidx.compose.ui.graphics.Color;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.font.FontStyle?;androidx.compose.ui.text.font.FontWeight?;androidx.compose.ui.text.font.FontFamily?;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.style.TextDecoration?;androidx.compose.ui.text.style.TextAlign;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.style.TextOverflow;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.collections.Map?;kotlin.Function1?;androidx.compose.ui.text.TextStyle?;com.mohamedrejeb.richeditor.model.ImageLoader?;com.mohamedrejeb.richeditor.model.TokenClickHandler?;com.mohamedrejeb.richeditor.model.TokenHoverHandler?;kotlin.Function4?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
final fun com.mohamedrejeb.richeditor.ui.material/RichText(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, androidx.compose.ui.graphics/Color, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.font/FontStyle?, androidx.compose.ui.text.font/FontWeight?, androidx.compose.ui.text.font/FontFamily?, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.style/TextDecoration?, androidx.compose.ui.text.style/TextAlign?, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.style/TextOverflow?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin.collections/Map?, kotlin/Function1?, androidx.compose.ui.text/TextStyle?, com.mohamedrejeb.richeditor.model/ImageLoader?, com.mohamedrejeb.richeditor.model/TokenClickHandler?, com.mohamedrejeb.richeditor.model/TokenHoverHandler?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material/RichText|RichText(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;androidx.compose.ui.graphics.Color;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.font.FontStyle?;androidx.compose.ui.text.font.FontWeight?;androidx.compose.ui.text.font.FontFamily?;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.style.TextDecoration?;androidx.compose.ui.text.style.TextAlign?;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.style.TextOverflow?;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.collections.Map?;kotlin.Function1?;androidx.compose.ui.text.TextStyle?;com.mohamedrejeb.richeditor.model.ImageLoader?;com.mohamedrejeb.richeditor.model.TokenClickHandler?;com.mohamedrejeb.richeditor.model.TokenHoverHandler?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
+final fun com.mohamedrejeb.richeditor.ui.material/RichText(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, androidx.compose.ui.graphics/Color, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.font/FontStyle?, androidx.compose.ui.text.font/FontWeight?, androidx.compose.ui.text.font/FontFamily?, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.style/TextDecoration?, androidx.compose.ui.text.style/TextAlign?, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.style/TextOverflow?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin.collections/Map?, kotlin/Function1?, androidx.compose.ui.text/TextStyle?, com.mohamedrejeb.richeditor.model/ImageLoader?, com.mohamedrejeb.richeditor.model/TokenClickHandler?, com.mohamedrejeb.richeditor.model/TokenHoverHandler?, kotlin/Function4?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material/RichText|RichText(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;androidx.compose.ui.graphics.Color;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.font.FontStyle?;androidx.compose.ui.text.font.FontWeight?;androidx.compose.ui.text.font.FontFamily?;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.style.TextDecoration?;androidx.compose.ui.text.style.TextAlign?;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.style.TextOverflow?;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.collections.Map?;kotlin.Function1?;androidx.compose.ui.text.TextStyle?;com.mohamedrejeb.richeditor.model.ImageLoader?;com.mohamedrejeb.richeditor.model.TokenClickHandler?;com.mohamedrejeb.richeditor.model.TokenHoverHandler?;kotlin.Function4?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
final fun com.mohamedrejeb.richeditor.ui.material/RichTextEditor(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, kotlin/Boolean, kotlin/Boolean, androidx.compose.ui.text/TextStyle?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Boolean, androidx.compose.foundation.text/KeyboardOptions?, androidx.compose.foundation.text/KeyboardActions?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Function1?, androidx.compose.foundation.interaction/MutableInteractionSource?, androidx.compose.ui.graphics/Shape?, androidx.compose.material/TextFieldColors?, com.mohamedrejeb.richeditor.ui/UndoBehavior?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material/RichTextEditor|RichTextEditor(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;kotlin.Boolean;kotlin.Boolean;androidx.compose.ui.text.TextStyle?;kotlin.Function2?;kotlin.Function2?;kotlin.Function2?;kotlin.Function2?;kotlin.Boolean;androidx.compose.foundation.text.KeyboardOptions?;androidx.compose.foundation.text.KeyboardActions?;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Function1?;androidx.compose.foundation.interaction.MutableInteractionSource?;androidx.compose.ui.graphics.Shape?;androidx.compose.material.TextFieldColors?;com.mohamedrejeb.richeditor.ui.UndoBehavior?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
final fun com.mohamedrejeb.richeditor.ui.material3/ExpandableRichText(com.mohamedrejeb.richeditor.model/RichTextState, kotlin/Boolean, kotlin/Function1, androidx.compose.ui/Modifier?, androidx.compose.ui.text/TextStyle?, androidx.compose.ui.graphics/Color, kotlin/Int, kotlin/String?, kotlin/String?, androidx.compose.ui.graphics/Color, kotlin/Boolean, kotlin.collections/Map?, com.mohamedrejeb.richeditor.model/ImageLoader?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material3/ExpandableRichText|ExpandableRichText(com.mohamedrejeb.richeditor.model.RichTextState;kotlin.Boolean;kotlin.Function1;androidx.compose.ui.Modifier?;androidx.compose.ui.text.TextStyle?;androidx.compose.ui.graphics.Color;kotlin.Int;kotlin.String?;kotlin.String?;androidx.compose.ui.graphics.Color;kotlin.Boolean;kotlin.collections.Map?;com.mohamedrejeb.richeditor.model.ImageLoader?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
final fun com.mohamedrejeb.richeditor.ui.material3/OutlinedRichTextEditor(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, kotlin/Boolean, kotlin/Boolean, androidx.compose.ui.text/TextStyle?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Boolean, androidx.compose.foundation.text/KeyboardOptions?, androidx.compose.foundation.text/KeyboardActions?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Function1?, androidx.compose.foundation.interaction/MutableInteractionSource?, androidx.compose.ui.graphics/Shape?, com.mohamedrejeb.richeditor.ui.material3/RichTextEditorColors?, androidx.compose.foundation.layout/PaddingValues?, com.mohamedrejeb.richeditor.ui/UndoBehavior?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material3/OutlinedRichTextEditor|OutlinedRichTextEditor(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;kotlin.Boolean;kotlin.Boolean;androidx.compose.ui.text.TextStyle?;kotlin.Function2?;kotlin.Function2?;kotlin.Function2?;kotlin.Function2?;kotlin.Function2?;kotlin.Boolean;androidx.compose.foundation.text.KeyboardOptions?;androidx.compose.foundation.text.KeyboardActions?;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Function1?;androidx.compose.foundation.interaction.MutableInteractionSource?;androidx.compose.ui.graphics.Shape?;com.mohamedrejeb.richeditor.ui.material3.RichTextEditorColors?;androidx.compose.foundation.layout.PaddingValues?;com.mohamedrejeb.richeditor.ui.UndoBehavior?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
final fun com.mohamedrejeb.richeditor.ui.material3/RichText(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, androidx.compose.ui.graphics/Color, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.font/FontStyle?, androidx.compose.ui.text.font/FontWeight?, androidx.compose.ui.text.font/FontFamily?, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.style/TextDecoration?, androidx.compose.ui.text.style/TextAlign, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.style/TextOverflow, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin.collections/Map?, kotlin/Function1?, androidx.compose.ui.text/TextStyle?, com.mohamedrejeb.richeditor.model/ImageLoader?, com.mohamedrejeb.richeditor.model/TokenClickHandler?, com.mohamedrejeb.richeditor.model/TokenHoverHandler?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material3/RichText|RichText(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;androidx.compose.ui.graphics.Color;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.font.FontStyle?;androidx.compose.ui.text.font.FontWeight?;androidx.compose.ui.text.font.FontFamily?;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.style.TextDecoration?;androidx.compose.ui.text.style.TextAlign;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.style.TextOverflow;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.collections.Map?;kotlin.Function1?;androidx.compose.ui.text.TextStyle?;com.mohamedrejeb.richeditor.model.ImageLoader?;com.mohamedrejeb.richeditor.model.TokenClickHandler?;com.mohamedrejeb.richeditor.model.TokenHoverHandler?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
+final fun com.mohamedrejeb.richeditor.ui.material3/RichText(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, androidx.compose.ui.graphics/Color, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.font/FontStyle?, androidx.compose.ui.text.font/FontWeight?, androidx.compose.ui.text.font/FontFamily?, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.style/TextDecoration?, androidx.compose.ui.text.style/TextAlign, androidx.compose.ui.unit/TextUnit, androidx.compose.ui.text.style/TextOverflow, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin.collections/Map?, kotlin/Function1?, androidx.compose.ui.text/TextStyle?, com.mohamedrejeb.richeditor.model/ImageLoader?, com.mohamedrejeb.richeditor.model/TokenClickHandler?, com.mohamedrejeb.richeditor.model/TokenHoverHandler?, kotlin/Function4?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material3/RichText|RichText(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;androidx.compose.ui.graphics.Color;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.font.FontStyle?;androidx.compose.ui.text.font.FontWeight?;androidx.compose.ui.text.font.FontFamily?;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.style.TextDecoration?;androidx.compose.ui.text.style.TextAlign;androidx.compose.ui.unit.TextUnit;androidx.compose.ui.text.style.TextOverflow;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.collections.Map?;kotlin.Function1?;androidx.compose.ui.text.TextStyle?;com.mohamedrejeb.richeditor.model.ImageLoader?;com.mohamedrejeb.richeditor.model.TokenClickHandler?;com.mohamedrejeb.richeditor.model.TokenHoverHandler?;kotlin.Function4?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
final fun com.mohamedrejeb.richeditor.ui.material3/RichText(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, androidx.compose.ui.graphics/Color, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.font/FontStyle?, androidx.compose.ui.text.font/FontWeight?, androidx.compose.ui.text.font/FontFamily?, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.style/TextDecoration?, androidx.compose.ui.text.style/TextAlign?, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.style/TextOverflow?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin.collections/Map?, kotlin/Function1?, androidx.compose.ui.text/TextStyle?, com.mohamedrejeb.richeditor.model/ImageLoader?, com.mohamedrejeb.richeditor.model/TokenClickHandler?, com.mohamedrejeb.richeditor.model/TokenHoverHandler?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material3/RichText|RichText(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;androidx.compose.ui.graphics.Color;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.font.FontStyle?;androidx.compose.ui.text.font.FontWeight?;androidx.compose.ui.text.font.FontFamily?;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.style.TextDecoration?;androidx.compose.ui.text.style.TextAlign?;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.style.TextOverflow?;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.collections.Map?;kotlin.Function1?;androidx.compose.ui.text.TextStyle?;com.mohamedrejeb.richeditor.model.ImageLoader?;com.mohamedrejeb.richeditor.model.TokenClickHandler?;com.mohamedrejeb.richeditor.model.TokenHoverHandler?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
+final fun com.mohamedrejeb.richeditor.ui.material3/RichText(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, androidx.compose.ui.graphics/Color, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.font/FontStyle?, androidx.compose.ui.text.font/FontWeight?, androidx.compose.ui.text.font/FontFamily?, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.style/TextDecoration?, androidx.compose.ui.text.style/TextAlign?, androidx.compose.ui.unit/TextUnit?, androidx.compose.ui.text.style/TextOverflow?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin.collections/Map?, kotlin/Function1?, androidx.compose.ui.text/TextStyle?, com.mohamedrejeb.richeditor.model/ImageLoader?, com.mohamedrejeb.richeditor.model/TokenClickHandler?, com.mohamedrejeb.richeditor.model/TokenHoverHandler?, kotlin/Function4?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material3/RichText|RichText(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;androidx.compose.ui.graphics.Color;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.font.FontStyle?;androidx.compose.ui.text.font.FontWeight?;androidx.compose.ui.text.font.FontFamily?;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.style.TextDecoration?;androidx.compose.ui.text.style.TextAlign?;androidx.compose.ui.unit.TextUnit?;androidx.compose.ui.text.style.TextOverflow?;kotlin.Boolean;kotlin.Int;kotlin.Int;kotlin.collections.Map?;kotlin.Function1?;androidx.compose.ui.text.TextStyle?;com.mohamedrejeb.richeditor.model.ImageLoader?;com.mohamedrejeb.richeditor.model.TokenClickHandler?;com.mohamedrejeb.richeditor.model.TokenHoverHandler?;kotlin.Function4?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int;kotlin.Int;kotlin.Int){}[0]
final fun com.mohamedrejeb.richeditor.ui.material3/RichTextEditor(com.mohamedrejeb.richeditor.model/RichTextState, androidx.compose.ui/Modifier?, kotlin/Boolean, kotlin/Boolean, androidx.compose.ui.text/TextStyle?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Function2?, kotlin/Boolean, androidx.compose.foundation.text/KeyboardOptions?, androidx.compose.foundation.text/KeyboardActions?, kotlin/Boolean, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Function1?, androidx.compose.foundation.interaction/MutableInteractionSource?, androidx.compose.ui.graphics/Shape?, com.mohamedrejeb.richeditor.ui.material3/RichTextEditorColors?, androidx.compose.foundation.layout/PaddingValues?, com.mohamedrejeb.richeditor.ui/UndoBehavior?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int, kotlin/Int, kotlin/Int) // com.mohamedrejeb.richeditor.ui.material3/RichTextEditor|RichTextEditor(com.mohamedrejeb.richeditor.model.RichTextState;androidx.compose.ui.Modifier?;kotlin.Boolean;kotlin.Boolean;androidx.compose.ui.text.TextStyle?;kotlin.Function2?;kotlin.Function2?;kotlin.Function2