@vscode/markdown-editor 0.0.2-71 → 0.0.2-73
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 +30 -2
- package/dist/index.js +921 -882
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/view/editor.css +86 -7
package/dist/index.d.ts
CHANGED
|
@@ -2228,12 +2228,26 @@ declare class ListItemViewData {
|
|
|
2228
2228
|
readonly content: readonly AnyViewData[];
|
|
2229
2229
|
/** 1-based list nesting depth, used to size the indentation gutter. */
|
|
2230
2230
|
readonly level: number;
|
|
2231
|
+
/**
|
|
2232
|
+
* Whether this is an inactive task item whose first paragraph begins
|
|
2233
|
+
* with the `:running:` marker (see {@link TextViewData.hiddenPrefixLength}).
|
|
2234
|
+
* Always `false` while the item is active — an active/editing task
|
|
2235
|
+
* reveals the literal marker instead of the progress affordance.
|
|
2236
|
+
*/
|
|
2237
|
+
readonly isRunning: boolean;
|
|
2231
2238
|
readonly kind = "listItem";
|
|
2232
2239
|
constructor(ast: ListItemAstNode,
|
|
2233
2240
|
/** Whether the selection reaches this item (reveals its markers). */
|
|
2234
2241
|
isActive: boolean, content: readonly AnyViewData[],
|
|
2235
2242
|
/** 1-based list nesting depth, used to size the indentation gutter. */
|
|
2236
|
-
level: number
|
|
2243
|
+
level: number,
|
|
2244
|
+
/**
|
|
2245
|
+
* Whether this is an inactive task item whose first paragraph begins
|
|
2246
|
+
* with the `:running:` marker (see {@link TextViewData.hiddenPrefixLength}).
|
|
2247
|
+
* Always `false` while the item is active — an active/editing task
|
|
2248
|
+
* reveals the literal marker instead of the progress affordance.
|
|
2249
|
+
*/
|
|
2250
|
+
isRunning?: boolean);
|
|
2237
2251
|
}
|
|
2238
2252
|
|
|
2239
2253
|
declare class ListViewData {
|
|
@@ -2990,6 +3004,13 @@ declare class TextViewData {
|
|
|
2990
3004
|
readonly showWhitespace: boolean;
|
|
2991
3005
|
readonly leftWordBoundary: boolean;
|
|
2992
3006
|
readonly rightWordBoundary: boolean;
|
|
3007
|
+
/**
|
|
3008
|
+
* Number of leading source characters to keep out of the rendered
|
|
3009
|
+
* text (but not out of the source): the `:running:` marker plus its
|
|
3010
|
+
* mandatory leading separator, once
|
|
3011
|
+
* {@link isRunnerMarkerText} has matched this node. Zero otherwise.
|
|
3012
|
+
*/
|
|
3013
|
+
readonly hiddenPrefixLength: number;
|
|
2993
3014
|
readonly kind = "text";
|
|
2994
3015
|
/**
|
|
2995
3016
|
* Whether non-obvious whitespace in this text is revealed (block is active).
|
|
@@ -2998,7 +3019,14 @@ declare class TextViewData {
|
|
|
2998
3019
|
* emphasis); a single space touching such a sibling is obvious and stays
|
|
2999
3020
|
* undecorated, just like a space between two words within this leaf.
|
|
3000
3021
|
*/
|
|
3001
|
-
constructor(ast: TextAstNode, showWhitespace: boolean, leftWordBoundary?: boolean, rightWordBoundary?: boolean
|
|
3022
|
+
constructor(ast: TextAstNode, showWhitespace: boolean, leftWordBoundary?: boolean, rightWordBoundary?: boolean,
|
|
3023
|
+
/**
|
|
3024
|
+
* Number of leading source characters to keep out of the rendered
|
|
3025
|
+
* text (but not out of the source): the `:running:` marker plus its
|
|
3026
|
+
* mandatory leading separator, once
|
|
3027
|
+
* {@link isRunnerMarkerText} has matched this node. Zero otherwise.
|
|
3028
|
+
*/
|
|
3029
|
+
hiddenPrefixLength?: number);
|
|
3002
3030
|
}
|
|
3003
3031
|
|
|
3004
3032
|
export declare class ThematicBreakAstNode extends BlockAstNodeBase {
|