From 6a300cd5c8b9a83cc62318a27d704690fe5aaee5 Mon Sep 17 00:00:00 2001 From: Rosano <1680612+rosano@users.noreply.github.com> Date: Thu, 9 Oct 2025 10:52:08 +0100 Subject: [PATCH 1/3] Fix typo --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a99a8b8..03144ed 100644 --- a/README.md +++ b/README.md @@ -52,17 +52,17 @@ To use `svelte-codemirror-editor`, you need to import the package and use it as | `lineWrapping` | `boolean` | Whether to wrap lines in the editor or not. | `false` | | `lineNumbers` | `boolean` | Whether to show line numbers or not. | `true` | | `highlight` | `object` | Hightlighting options. | `{}` | -| `history` | `boolean` | `object` | Enable/Disable and/or configure history. | `true` | -| `foldGutter` | `boolean` | `object` | Enable/disable and/or configure fold gutter. | `true` | -| `drawSelection` | `boolean` | `object` | Enable/disable and/or configure draw selection. | `true` | +| `history` | `boolean` \| `object` | Enable/Disable and/or configure history. | `true` | +| `foldGutter` | `boolean` \| `object` | Enable/disable and/or configure fold gutter. | `true` | +| `drawSelection` | `boolean` \| `object` | Enable/disable and/or configure draw selection. | `true` | | `dropCursor` | `boolean` | Whether to show the drop cursor. | `true` | | `lineNumbers` | `boolean` | Whether to indent on input. | `true` | -| `syntaxHighlighting` | `boolean` | `object` | Enable/disable and/or configure syntax highlighting. | `true` | -| `bracketMatching` | `boolean` | `object` | Enable/disable and/or configure bracket matching. | `true` | +| `syntaxHighlighting` | `boolean` \| `object` | Enable/disable and/or configure syntax highlighting. | `true` | +| `bracketMatching` | `boolean` \| `object` | Enable/disable and/or configure bracket matching. | `true` | | `closeBrackets` | `boolean` | Whether to close brackets automatically. | `true` | -| `autocompletion` | `boolean` | `object` | Enable/disable and/or configure autocompletion. | `true` | -| `rectangularSelection` | `boolean` | `object` | Enable/disable and/or configure rectangular selection. | `true` | -| `crosshairCursor` | `boolean` | `object` | Enable/disable and/or configure crosshair cursor. | `true` | +| `autocompletion` | `boolean` \| `object` | Enable/disable and/or configure autocompletion. | `true` | +| `rectangularSelection` | `boolean` \| `object` | Enable/disable and/or configure rectangular selection. | `true` | +| `crosshairCursor` | `boolean` \| `object` | Enable/disable and/or configure crosshair cursor. | `true` | | `placeholder` | `string` | The placeholder text or element to show when the editor is empty. | `undefined` | | `nodebounce` | `boolean` | Whether to stop debouncing value updates. | `false` | | `styles` | `ThemeSpec` | In-place theme configuration. _See exemple below_. | `undefined` | From de31d654b8f27ff88c6048b57d7cef9ccec25eea Mon Sep 17 00:00:00 2001 From: Rosano <1680612+rosano@users.noreply.github.com> Date: Thu, 9 Oct 2025 10:55:16 +0100 Subject: [PATCH 2/3] Consolidate duplicate parameter --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 03144ed..4b5fbe1 100644 --- a/README.md +++ b/README.md @@ -64,9 +64,8 @@ To use `svelte-codemirror-editor`, you need to import the package and use it as | `rectangularSelection` | `boolean` \| `object` | Enable/disable and/or configure rectangular selection. | `true` | | `crosshairCursor` | `boolean` \| `object` | Enable/disable and/or configure crosshair cursor. | `true` | | `placeholder` | `string` | The placeholder text or element to show when the editor is empty. | `undefined` | -| `nodebounce` | `boolean` | Whether to stop debouncing value updates. | `false` | +| `nodebounce` | `boolean` | Disable onchange debounce for value updates. (may impact performance) | `false` | | `styles` | `ThemeSpec` | In-place theme configuration. _See exemple below_. | `undefined` | -| `nodebounce` | `boolean` | Disable onchange debounce (warning: impact performance). | `false` | ## Events From 7f96d14fa89d554286d44e8b263ff2aa5f420521 Mon Sep 17 00:00:00 2001 From: Rosano <1680612+rosano@users.noreply.github.com> Date: Thu, 9 Oct 2025 11:00:08 +0100 Subject: [PATCH 3/3] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b5fbe1..0c29235 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ To use `svelte-codemirror-editor`, you need to import the package and use it as | `foldGutter` | `boolean` \| `object` | Enable/disable and/or configure fold gutter. | `true` | | `drawSelection` | `boolean` \| `object` | Enable/disable and/or configure draw selection. | `true` | | `dropCursor` | `boolean` | Whether to show the drop cursor. | `true` | -| `lineNumbers` | `boolean` | Whether to indent on input. | `true` | +| `indentOnInput` | `boolean` | Whether to indent on input. | `true` | | `syntaxHighlighting` | `boolean` \| `object` | Enable/disable and/or configure syntax highlighting. | `true` | | `bracketMatching` | `boolean` \| `object` | Enable/disable and/or configure bracket matching. | `true` | | `closeBrackets` | `boolean` | Whether to close brackets automatically. | `true` |