@vscode/markdown-editor 0.0.2-53 → 0.0.2-54

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/index.d.ts CHANGED
@@ -200,7 +200,7 @@ export declare class BlockViewNode<T extends AnyViewData = AnyViewData> extends
200
200
  * single identity check captures "nothing in my subtree changed" — and its
201
201
  * whole subtree, and any session it owns, are kept as-is.
202
202
  */
203
- canReuse(data: AnyViewData): boolean;
203
+ canReuse(data: AnyViewData, _options: BlockViewOptions | undefined): boolean;
204
204
  /**
205
205
  * Called by the view after this block is mounted and measured, with the
206
206
  * block's rendered height in px. The default is a no-op; subclasses whose
@@ -342,6 +342,8 @@ export declare class CodeBlockViewNode extends BlockViewNode<CodeBlockViewData>
342
342
  */
343
343
  private _embeddedEditor;
344
344
  private readonly _embeddedEditorFactoryVersion;
345
+ private readonly _embeddedEditorReadOnly;
346
+ canReuse(data: AnyViewData, options: BlockViewOptions | undefined): boolean;
345
347
  constructor(data: CodeBlockViewData, options: BlockViewOptions | undefined, previous: ViewNode | undefined);
346
348
  dispose(): void;
347
349
  }
@@ -1233,6 +1235,7 @@ export declare class EditorView extends Disposable {
1233
1235
  * to their parent's box) stay aligned with the content.
1234
1236
  */
1235
1237
  private readonly _contentContainer;
1238
+ private readonly _resizeObserver;
1236
1239
  private readonly _cursorView;
1237
1240
  private readonly _selectionView;
1238
1241
  private readonly _gutterMarkersView;