@codemirror/autocomplete
Advanced tools
Comparing version 6.12.0 to 6.13.0
@@ -0,1 +1,7 @@ | ||
## 6.13.0 (2024-02-29) | ||
### New features | ||
Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character. | ||
## 6.12.0 (2024-01-12) | ||
@@ -2,0 +8,0 @@ |
@@ -57,2 +57,7 @@ import * as _codemirror_state from '@codemirror/state'; | ||
/** | ||
When this option is selected, and one of these characters is | ||
typed, insert the completion before typing the character. | ||
*/ | ||
commitCharacters?: readonly string[]; | ||
/** | ||
When given, should be a number from -99 to 99 that adjusts how | ||
@@ -259,2 +264,8 @@ this completion is ranked compared to other completions that | ||
update?: (current: CompletionResult, from: number, to: number, context: CompletionContext) => CompletionResult | null; | ||
/** | ||
Set a default set of [commit | ||
characters](https://codemirror.net/6/docs/ref/#autocomplete.Completion.commitCharacters) for all | ||
options in this result. | ||
*/ | ||
commitCharacters?: readonly string[]; | ||
} | ||
@@ -261,0 +272,0 @@ /** |
{ | ||
"name": "@codemirror/autocomplete", | ||
"version": "6.12.0", | ||
"version": "6.13.0", | ||
"description": "Autocompletion for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
235173
4562