@lvce-editor/editor-worker 19.81.0 → 19.81.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/diff-sdk.d.ts +7 -5
- package/dist/diff-sdk.js +558 -373
- package/dist/editorWorkerMain.js +575 -369
- package/dist/settings.json +2 -10
- package/package.json +1 -1
package/dist/diff-sdk.d.ts
CHANGED
|
@@ -99,7 +99,9 @@ export interface LinkedEditingRange {
|
|
|
99
99
|
readonly startColumnIndex: number;
|
|
100
100
|
}
|
|
101
101
|
export interface LinkedEditingState {
|
|
102
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
The ranges are only valid for exactly these lines.
|
|
104
|
+
*/
|
|
103
105
|
readonly lines: readonly string[];
|
|
104
106
|
readonly ranges: readonly LinkedEditingRange[];
|
|
105
107
|
readonly wordPattern: RegExp;
|
|
@@ -282,10 +284,10 @@ export interface EmbeddedEditor {
|
|
|
282
284
|
readonly getState: () => EditorState;
|
|
283
285
|
}
|
|
284
286
|
/**
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
Creates an editor owned by the caller, without starting a worker or installing
|
|
288
|
+
message listeners. The host initializes the shared rpc-registry connections.
|
|
289
|
+
Commands use document coordinates; the host owns display coordinate mapping.
|
|
290
|
+
*/
|
|
289
291
|
export declare const createEmbeddedEditor: (options: StandaloneEditorOptions) => Promise<EmbeddedEditor>;
|
|
290
292
|
|
|
291
293
|
export {};
|