@monaco-neovim-wasm/lib 0.1.10 → 0.1.12

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.
@@ -118,7 +118,14 @@ export declare class MonacoNeovimClient {
118
118
  private visualSelectionActive;
119
119
  private visualDecorationIds;
120
120
  private visualStyleEl;
121
+ private visualVirtualOverlayEl;
122
+ private visualVirtualRawRanges;
123
+ private visualVirtualActive;
121
124
  private visualBgCss;
125
+ private monacoPrevOccurrencesHighlight;
126
+ private monacoPrevSelectionHighlight;
127
+ private monacoPrevSelectionHighlightMultiline;
128
+ private monacoHighlightsSuppressed;
122
129
  private cursorRefreshTimer;
123
130
  private cursorRefreshInFlight;
124
131
  private cursorRefreshPending;
@@ -164,12 +171,18 @@ export declare class MonacoNeovimClient {
164
171
  private compositionActive;
165
172
  private pendingResyncAfterComposition;
166
173
  private ignoreNextInputEvent;
167
- private ignoreNvimBufLinesUntil;
174
+ private pendingEscAfterComposition;
168
175
  private exitingInsertMode;
169
176
  private pendingKeysAfterExit;
170
177
  private exitInsertTimer;
171
178
  private dotRepeatKeys;
172
179
  private dotRepeatBackspaces;
180
+ private delegatedInsertReplayPossible;
181
+ private recentNormalKeys;
182
+ private lastDelegatedInsertPrefix;
183
+ private lastDelegatedDotRepeat;
184
+ private ignoreInsertExitCursor;
185
+ private ignoreMonacoCursorSyncToNvimUntil;
173
186
  private ignoreTextKeydownUntil;
174
187
  private lastImeCommitAt;
175
188
  private lastImeCommitText;
@@ -180,14 +193,18 @@ export declare class MonacoNeovimClient {
180
193
  private optimisticCursorPos;
181
194
  private optimisticCursorPrevPos;
182
195
  private delegateInsertToMonaco;
196
+ private editorReadOnly;
183
197
  private applyingFromNvim;
184
198
  private buffers;
185
199
  private buffersByName;
186
200
  private cursorSyncTimer;
201
+ private ignoreSelectionSyncUntil;
202
+ private ignoreActiveBufLinesEventsUntil;
187
203
  private modelContentDisposable;
188
204
  private originalOptions;
189
205
  private resyncTimer;
190
206
  private debugLog;
207
+ private nowMs;
191
208
  private scheduleRecordingRefresh;
192
209
  private refreshRecordingState;
193
210
  private sendCmdlineImeText;
@@ -206,6 +223,7 @@ export declare class MonacoNeovimClient {
206
223
  resize(cols: number, rows: number): void;
207
224
  resizeToEditor(): void;
208
225
  private attachEditorListeners;
226
+ private handleActiveModelChanged;
209
227
  private computeGridSize;
210
228
  private scheduleResizeToEditor;
211
229
  private ensurePreeditUi;
@@ -246,6 +264,9 @@ export declare class MonacoNeovimClient {
246
264
  private applyBuffer;
247
265
  private ensureVisualStyle;
248
266
  private setVisualBgCss;
267
+ private ensureVisualVirtualOverlay;
268
+ private clearVisualVirtualOverlay;
269
+ private renderVisualVirtualOverlay;
249
270
  private clearVisualDecorations;
250
271
  private ensureSearchStyle;
251
272
  private clearSearchHighlights;
@@ -254,7 +275,12 @@ export declare class MonacoNeovimClient {
254
275
  private applySearchHighlights;
255
276
  private applyVisualDecorations;
256
277
  private applyNvimMode;
278
+ private setEditorReadOnly;
257
279
  private armInsertExit;
280
+ private finalizeDelegatedInsertDotRepeat;
281
+ private exitDelegatedInsertMode;
282
+ private performDelegatedInsertExit;
283
+ private flushPendingMonacoSyncBlocking;
258
284
  private syncDotRepeatToNvim;
259
285
  private handleKey;
260
286
  private handleMouse;
@@ -287,6 +313,7 @@ export declare class MonacoNeovimClient {
287
313
  private updateVisualSelection;
288
314
  private fetchVisualRanges;
289
315
  private syncVisualSelectionColor;
316
+ private setMonacoHighlightsSuppressed;
290
317
  private fetchVisualBg;
291
318
  private seedBuffer;
292
319
  }
@@ -42,6 +42,7 @@ export declare class NeovimWasmSession {
42
42
  private readonly pending;
43
43
  private workerExited;
44
44
  private workerExitCode;
45
+ private workerFatalError;
45
46
  private inputQueue;
46
47
  private inputQueueHead;
47
48
  private inputQueuedBytes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monaco-neovim-wasm/lib",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Core library for running Neovim (WASM) behind Monaco via msgpack-RPC.",
@@ -14,7 +14,7 @@
14
14
  "fflate": "^0.8.2"
15
15
  },
16
16
  "peerDependencies": {
17
- "monaco-editor": "^0.44.0"
17
+ "monaco-editor": ">=0.44.0 <1.0.0"
18
18
  },
19
19
  "main": "./dist/monaco-neovim-wasm.es.js",
20
20
  "module": "./dist/monaco-neovim-wasm.es.js",