@impermeable/waterproof-editor 0.11.0 → 0.13.0
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/api/types.d.ts +0 -4
- package/dist/api/types.d.ts.map +1 -1
- package/dist/codeview/code-plugin.d.ts +3 -2
- package/dist/codeview/code-plugin.d.ts.map +1 -1
- package/dist/codeview/nodeview.d.ts +18 -18
- package/dist/codeview/nodeview.d.ts.map +1 -1
- package/dist/codeview/progress-indicator.d.ts +19 -0
- package/dist/codeview/progress-indicator.d.ts.map +1 -0
- package/dist/editor.d.ts +45 -9
- package/dist/editor.d.ts.map +1 -1
- package/dist/embedded-codemirror/embedded-codemirror-keymap.d.ts +1 -1
- package/dist/embedded-codemirror/embedded-codemirror-keymap.d.ts.map +1 -1
- package/dist/index.js +66 -65
- package/dist/mapping/Tree.d.ts +5 -5
- package/dist/mapping/Tree.d.ts.map +1 -1
- package/dist/mapping/index.d.ts +1 -1
- package/dist/mapping/index.d.ts.map +1 -1
- package/dist/mapping/mapping.d.ts +65 -0
- package/dist/mapping/mapping.d.ts.map +1 -0
- package/dist/mapping/nodeUpdate.d.ts +1 -1
- package/dist/mapping/nodeUpdate.d.ts.map +1 -1
- package/dist/mapping/textUpdate.d.ts +1 -1
- package/dist/mapping/textUpdate.d.ts.map +1 -1
- package/dist/src/api/Completions.d.ts +21 -0
- package/dist/src/api/Completions.d.ts.map +1 -0
- package/dist/src/api/DocChange.d.ts +19 -0
- package/dist/src/api/DocChange.d.ts.map +1 -0
- package/dist/src/api/FileFormat.d.ts +10 -0
- package/dist/src/api/FileFormat.d.ts.map +1 -0
- package/dist/src/api/InputAreaStatus.d.ts +14 -0
- package/dist/src/api/InputAreaStatus.d.ts.map +1 -0
- package/dist/src/api/LineNumber.d.ts +10 -0
- package/dist/src/api/LineNumber.d.ts.map +1 -0
- package/dist/src/api/ServerStatus.d.ts +18 -0
- package/dist/src/api/ServerStatus.d.ts.map +1 -0
- package/dist/src/api/Severity.d.ts +12 -0
- package/dist/src/api/Severity.d.ts.map +1 -0
- package/dist/src/api/index.d.ts +12 -0
- package/dist/src/api/index.d.ts.map +1 -0
- package/dist/src/api/types.d.ts +119 -0
- package/dist/src/api/types.d.ts.map +1 -0
- package/dist/src/autocomplete/coqTerms.d.ts +3 -0
- package/dist/src/autocomplete/coqTerms.d.ts.map +1 -0
- package/dist/src/autocomplete/emojis.d.ts +10 -0
- package/dist/src/autocomplete/emojis.d.ts.map +1 -0
- package/dist/src/autocomplete/index.d.ts +2 -0
- package/dist/src/autocomplete/index.d.ts.map +1 -0
- package/dist/src/autocomplete/renderSymbol.d.ts +7 -0
- package/dist/src/autocomplete/renderSymbol.d.ts.map +1 -0
- package/dist/src/autocomplete/symbols.d.ts +7 -0
- package/dist/src/autocomplete/symbols.d.ts.map +1 -0
- package/dist/src/codeview/code-plugin.d.ts +28 -0
- package/dist/src/codeview/code-plugin.d.ts.map +1 -0
- package/dist/src/codeview/color-scheme.d.ts +6 -0
- package/dist/src/codeview/color-scheme.d.ts.map +1 -0
- package/dist/src/codeview/debouncer.d.ts +8 -0
- package/dist/src/codeview/debouncer.d.ts.map +1 -0
- package/dist/src/codeview/index.d.ts +3 -0
- package/dist/src/codeview/index.d.ts.map +1 -0
- package/dist/src/codeview/lang-pack/index.d.ts +8 -0
- package/dist/src/codeview/lang-pack/index.d.ts.map +1 -0
- package/dist/src/codeview/lang-pack/print-grammar.d.ts +2 -0
- package/dist/src/codeview/lang-pack/print-grammar.d.ts.map +1 -0
- package/dist/src/codeview/lang-pack/syntax.d.ts +3 -0
- package/dist/src/codeview/lang-pack/syntax.d.ts.map +1 -0
- package/dist/src/codeview/lang-pack/syntax.terms.d.ts +2 -0
- package/dist/src/codeview/lang-pack/syntax.terms.d.ts.map +1 -0
- package/dist/src/codeview/nodeview.d.ts +63 -0
- package/dist/src/codeview/nodeview.d.ts.map +1 -0
- package/dist/src/commands/command-helpers.d.ts +48 -0
- package/dist/src/commands/command-helpers.d.ts.map +1 -0
- package/dist/src/commands/commands.d.ts +30 -0
- package/dist/src/commands/commands.d.ts.map +1 -0
- package/dist/src/commands/delete-command.d.ts +4 -0
- package/dist/src/commands/delete-command.d.ts.map +1 -0
- package/dist/src/commands/index.d.ts +4 -0
- package/dist/src/commands/index.d.ts.map +1 -0
- package/dist/src/commands/insert-command.d.ts +34 -0
- package/dist/src/commands/insert-command.d.ts.map +1 -0
- package/dist/src/commands/types.d.ts +15 -0
- package/dist/src/commands/types.d.ts.map +1 -0
- package/dist/src/context-menu/index.d.ts +2 -0
- package/dist/src/context-menu/index.d.ts.map +1 -0
- package/dist/src/context-menu/menu.d.ts +8 -0
- package/dist/src/context-menu/menu.d.ts.map +1 -0
- package/dist/src/document/blocks/block.d.ts +24 -0
- package/dist/src/document/blocks/block.d.ts.map +1 -0
- package/dist/src/document/blocks/blocktypes.d.ts +78 -0
- package/dist/src/document/blocks/blocktypes.d.ts.map +1 -0
- package/dist/src/document/blocks/index.d.ts +3 -0
- package/dist/src/document/blocks/index.d.ts.map +1 -0
- package/dist/src/document/blocks/schema.d.ts +21 -0
- package/dist/src/document/blocks/schema.d.ts.map +1 -0
- package/dist/src/document/blocks/typeguards.d.ts +11 -0
- package/dist/src/document/blocks/typeguards.d.ts.map +1 -0
- package/dist/src/document/construct-document.d.ts +4 -0
- package/dist/src/document/construct-document.d.ts.map +1 -0
- package/dist/src/document/index.d.ts +5 -0
- package/dist/src/document/index.d.ts.map +1 -0
- package/dist/src/document/utils.d.ts +49 -0
- package/dist/src/document/utils.d.ts.map +1 -0
- package/dist/src/documentProgressDecorator.d.ts +9 -0
- package/dist/src/documentProgressDecorator.d.ts.map +1 -0
- package/dist/src/editor.d.ts +154 -0
- package/dist/src/editor.d.ts.map +1 -0
- package/dist/src/embedded-codemirror/embedded-codemirror-keymap.d.ts +9 -0
- package/dist/src/embedded-codemirror/embedded-codemirror-keymap.d.ts.map +1 -0
- package/dist/src/embedded-codemirror/embeddedCodemirror.d.ts +40 -0
- package/dist/src/embedded-codemirror/embeddedCodemirror.d.ts.map +1 -0
- package/dist/src/embedded-codemirror/index.d.ts +3 -0
- package/dist/src/embedded-codemirror/index.d.ts.map +1 -0
- package/dist/src/embedded-codemirror/types.d.ts +9 -0
- package/dist/src/embedded-codemirror/types.d.ts.map +1 -0
- package/dist/src/hinting/hint-plugin.d.ts +9 -0
- package/dist/src/hinting/hint-plugin.d.ts.map +1 -0
- package/dist/src/hinting/index.d.ts +2 -0
- package/dist/src/hinting/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/inputArea.d.ts +14 -0
- package/dist/src/inputArea.d.ts.map +1 -0
- package/dist/src/markup-views/CoqdocPlugin.d.ts +19 -0
- package/dist/src/markup-views/CoqdocPlugin.d.ts.map +1 -0
- package/dist/src/markup-views/CoqdocView.d.ts +15 -0
- package/dist/src/markup-views/CoqdocView.d.ts.map +1 -0
- package/dist/src/markup-views/MarkdownPlugin.d.ts +21 -0
- package/dist/src/markup-views/MarkdownPlugin.d.ts.map +1 -0
- package/dist/src/markup-views/MarkdownView.d.ts +15 -0
- package/dist/src/markup-views/MarkdownView.d.ts.map +1 -0
- package/dist/src/markup-views/index.d.ts +5 -0
- package/dist/src/markup-views/index.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/EditableView.d.ts +22 -0
- package/dist/src/markup-views/switchable-view/EditableView.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/EditorTheme.d.ts +8 -0
- package/dist/src/markup-views/switchable-view/EditorTheme.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/MarkdownSchema.d.ts +8 -0
- package/dist/src/markup-views/switchable-view/MarkdownSchema.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/RenderedView.d.ts +13 -0
- package/dist/src/markup-views/switchable-view/RenderedView.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/SwitchableView.d.ts +62 -0
- package/dist/src/markup-views/switchable-view/SwitchableView.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/index.d.ts +2 -0
- package/dist/src/markup-views/switchable-view/index.d.ts.map +1 -0
- package/dist/src/math-integration/index.d.ts +2 -0
- package/dist/src/math-integration/index.d.ts.map +1 -0
- package/dist/src/math-integration/nodespecs.d.ts +4 -0
- package/dist/src/math-integration/nodespecs.d.ts.map +1 -0
- package/dist/src/menubar/index.d.ts +2 -0
- package/dist/src/menubar/index.d.ts.map +1 -0
- package/dist/src/menubar/menubar.d.ts +25 -0
- package/dist/src/menubar/menubar.d.ts.map +1 -0
- package/dist/src/osType.d.ts +8 -0
- package/dist/src/osType.d.ts.map +1 -0
- package/dist/src/progressBar.d.ts +13 -0
- package/dist/src/progressBar.d.ts.map +1 -0
- package/dist/src/qedStatus.d.ts +9 -0
- package/dist/src/qedStatus.d.ts.map +1 -0
- package/dist/src/schema/index.d.ts +2 -0
- package/dist/src/schema/index.d.ts.map +1 -0
- package/dist/src/schema/schema-nodes.d.ts +1 -0
- package/dist/src/schema/schema-nodes.d.ts.map +1 -0
- package/dist/src/schema/schema.d.ts +23 -0
- package/dist/src/schema/schema.d.ts.map +1 -0
- package/dist/src/styles/index.d.ts +17 -0
- package/dist/src/styles/index.d.ts.map +1 -0
- package/dist/src/translation/Translator.d.ts +12 -0
- package/dist/src/translation/Translator.d.ts.map +1 -0
- package/dist/src/translation/index.d.ts +2 -0
- package/dist/src/translation/index.d.ts.map +1 -0
- package/dist/src/translation/toProsemirror/index.d.ts +2 -0
- package/dist/src/translation/toProsemirror/index.d.ts.map +1 -0
- package/dist/src/translation/toProsemirror/mvFileToProsemirror.d.ts +2 -0
- package/dist/src/translation/toProsemirror/mvFileToProsemirror.d.ts.map +1 -0
- package/dist/src/translation/toProsemirror/parseAsMv.d.ts +7 -0
- package/dist/src/translation/toProsemirror/parseAsMv.d.ts.map +1 -0
- package/dist/src/translation/toProsemirror/parser.d.ts +3 -0
- package/dist/src/translation/toProsemirror/parser.d.ts.map +1 -0
- package/dist/src/translation/types.d.ts +12 -0
- package/dist/src/translation/types.d.ts.map +1 -0
- package/dist/src/utilities/index.d.ts +2 -0
- package/dist/src/utilities/index.d.ts.map +1 -0
- package/dist/src/utilities/prosemirror.d.ts +13 -0
- package/dist/src/utilities/prosemirror.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/jest-thingie +0 -0
- package/package.json +3 -3
- package/dist/DEBUG.d.ts +0 -1
- package/dist/DEBUG.d.ts.map +0 -1
- package/dist/codeview/lang-pack/test.d.ts +0 -2
- package/dist/codeview/lang-pack/test.d.ts.map +0 -1
- package/dist/markdown-defaults/markdownDefaults.d.ts +0 -9
- package/dist/markdown-defaults/markdownDefaults.d.ts.map +0 -1
- package/dist/markdownDefaults.d.ts +0 -9
- package/dist/markdownDefaults.d.ts.map +0 -1
- package/dist/themeStore.d.ts +0 -4
- package/dist/themeStore.d.ts.map +0 -1
- package/dist/translation/toMathInline.d.ts +0 -2
- package/dist/translation/toMathInline.d.ts.map +0 -1
package/dist/api/types.d.ts
CHANGED
|
@@ -112,10 +112,6 @@ export interface OffsetDiagnostic {
|
|
|
112
112
|
startOffset: number;
|
|
113
113
|
endOffset: number;
|
|
114
114
|
}
|
|
115
|
-
export type DiagnosticMessage = {
|
|
116
|
-
positionedDiagnostics: OffsetDiagnostic[];
|
|
117
|
-
version: number;
|
|
118
|
-
};
|
|
119
115
|
export declare enum ThemeStyle {
|
|
120
116
|
Light = 0,
|
|
121
117
|
Dark = 1
|
package/dist/api/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,QAAQ,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AACnG,OAAO,EAAE,KAAK,EAAE,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letion, WaterproofSymbol } from "../api";
|
|
6
6
|
import { Completion } from "@codemirror/autocomplete";
|
|
7
|
+
import { WaterproofEditor } from "../editor";
|
|
7
8
|
export interface ICodePluginState {
|
|
8
9
|
macros: {
|
|
9
10
|
[cmd: string]: string;
|
|
@@ -22,6 +23,6 @@ export declare const CODE_PLUGIN_KEY: PluginKey<ICodePluginState>;
|
|
|
22
23
|
* Returns a function suitable for passing as a field in `EditorProps.nodeViews`.
|
|
23
24
|
* @see https://prosemirror.net/docs/ref/#view.EditorProps.nodeViews
|
|
24
25
|
*/
|
|
25
|
-
export declare function createCoqCodeView(completions: Array<Completion>, symbols: Array<Completion>, initialThemeStyle: ThemeStyle): (node: ProseNode, view: EditorView, getPos: () => number | undefined) => CodeBlockView;
|
|
26
|
-
export declare const codePlugin: (completions: Array<WaterproofCompletion>, symbols: Array<WaterproofSymbol>, initialThemeStyle: ThemeStyle) => ProsePlugin<ICodePluginState>;
|
|
26
|
+
export declare function createCoqCodeView(completions: Array<Completion>, symbols: Array<Completion>, editorInstance: WaterproofEditor, initialThemeStyle: ThemeStyle): (node: ProseNode, view: EditorView, getPos: () => number | undefined) => CodeBlockView;
|
|
27
|
+
export declare const codePlugin: (completions: Array<WaterproofCompletion>, symbols: Array<WaterproofSymbol>, editorInstance: WaterproofEditor, initialThemeStyle: ThemeStyle) => ProsePlugin<ICodePluginState>;
|
|
27
28
|
//# sourceMappingURL=code-plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-plugin.d.ts","sourceRoot":"","sources":["../../src/codeview/code-plugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,SAAS,EAAc,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE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,EAAE,MAAM,UAAU,EAAE,QAAQ,MAAM,MAAM,GAAG,SAAS,KAAG,aAAa,CAe3F;AAiED,eAAO,MAAM,UAAU,GAAI,aAAa,KAAK,CAAC,oBAAoB,CAAC,EAAE,SAAS,KAAK,CAAC,gBAAgB,CAAC,EAAE,gBAAgB,gBAAgB,EAAE,mBAAmB,UAAU,kCAOrK,CAAC"}
|
|
@@ -2,25 +2,27 @@ import { Completion, CompletionSource } from "@codemirror/autocomplete";
|
|
|
2
2
|
import { Node, Schema } from "prosemirror-model";
|
|
3
3
|
import { EditorView } from "prosemirror-view";
|
|
4
4
|
import { EmbeddedCodeMirrorEditor } from "../embedded-codemirror";
|
|
5
|
+
import { Diagnostic } from "@codemirror/lint";
|
|
5
6
|
import { ThemeStyle } from "../api";
|
|
7
|
+
import { WaterproofEditor } from "../editor";
|
|
6
8
|
/**
|
|
7
9
|
* Export CodeBlockView class that implements the custom codeblock nodeview.
|
|
8
10
|
* Corresponds with the example as can be found here:
|
|
9
11
|
* https://prosemirror.net/examples/codemirror/
|
|
10
12
|
*/
|
|
11
13
|
export declare class CodeBlockView extends EmbeddedCodeMirrorEditor {
|
|
14
|
+
private readonly editorInstance;
|
|
12
15
|
dom: HTMLElement;
|
|
13
16
|
private _lineNumberCompartment;
|
|
14
17
|
private _lineNumbersExtension;
|
|
15
18
|
private _dynamicCompletions;
|
|
16
19
|
private _readOnlyCompartment;
|
|
17
20
|
private _themeCompartment;
|
|
18
|
-
private
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
private lastUsedDiagnosticsVersion;
|
|
22
|
+
constructor(node: Node, view: EditorView, editorInstance: WaterproofEditor, getPos: (() => number | undefined), schema: Schema, completions: Array<Completion>, symbols: Array<Completion>, initialThemeStyle: ThemeStyle);
|
|
23
|
+
dispatchEmpty(): void;
|
|
21
24
|
private partOfInputArea;
|
|
22
25
|
handleSnippet(template: string, posFrom: number, posTo: number, completion?: Completion | undefined): void;
|
|
23
|
-
private lintingFunction;
|
|
24
26
|
/**
|
|
25
27
|
* set edit permission
|
|
26
28
|
*/
|
|
@@ -43,22 +45,20 @@ export declare class CodeBlockView extends EmbeddedCodeMirrorEditor {
|
|
|
43
45
|
*/
|
|
44
46
|
dynamicCompletionSource: CompletionSource;
|
|
45
47
|
/**
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
* @param message The message attached to this error.
|
|
50
|
-
* @param severity The severity attached to this error.
|
|
51
|
-
*/
|
|
52
|
-
addCoqError(from: number, to: number, message: string, severity: number): void;
|
|
53
|
-
private showCopyNotification;
|
|
54
|
-
/**
|
|
55
|
-
* Helper function that forces the linter function to run.
|
|
56
|
-
* Should be called after an error has been added or after the errors have been cleared.
|
|
48
|
+
* The {@linkcode LintSource} to use for the codemirror instance.
|
|
49
|
+
* This will use the outer {@linkcode WaterproofEditor} to get diagnostics in the range of this
|
|
50
|
+
* codemirror view.
|
|
57
51
|
*/
|
|
58
|
-
private
|
|
52
|
+
private lintingFunction;
|
|
59
53
|
/**
|
|
60
|
-
*
|
|
54
|
+
* Add a new coq error to this view
|
|
55
|
+
* @param from The from position of the error.
|
|
56
|
+
* @param to The to postion of the error (should be larger than `from`).
|
|
57
|
+
* @param message The message attached to this error.
|
|
58
|
+
* @param severity The severity attached to this error.
|
|
61
59
|
*/
|
|
62
|
-
|
|
60
|
+
preprocessDiagnostic(from: number, to: number, message: string, severity: number): Diagnostic;
|
|
61
|
+
private showCopyNotification;
|
|
63
62
|
}
|
|
63
|
+
export declare function severityToString(sv: number): "hint" | "info" | "warning" | "error";
|
|
64
64
|
//# sourceMappingURL=nodeview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodeview.d.ts","sourceRoot":"","sources":["../../src/codeview/nodeview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"nodeview.d.ts","sourceRoot":"","sources":["../../src/codeview/nodeview.ts"],"names":[],"mappings":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AU,GAAG,IAAI;IAQrD;;OAEG;IACH,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI;IAWlE;;OAEG;IACH,iBAAiB,CAAC,cAAc,EAAE,UAAU,EAAE,GAAG,IAAI;IAIrD;;;OAGG;IACH,uBAAuB,EAAE,gBAAgB,CAYvC;IAEF;;;;OAIG;IACH,OAAO,CAAC,eAAe,CAmBtB;IAED;;;;;;OAMG;IACI,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU;IAuEpG,OAAO,CAAC,oBAAoB;CAwB5B;AAED,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,yCAa1C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GutterMarker } from "@codemirror/view";
|
|
2
|
+
import { StateField, RangeSet } from "@codemirror/state";
|
|
3
|
+
export declare const addProgressIndicatorEffect: import("@codemirror/state").StateEffectType<number>;
|
|
4
|
+
export declare const removeProgressIndicatorEffect: import("@codemirror/state").StateEffectType<null>;
|
|
5
|
+
export declare const addBusyIndicatorEffect: import("@codemirror/state").StateEffectType<number>;
|
|
6
|
+
export declare const removeBusyIndicatorEffect: import("@codemirror/state").StateEffectType<null>;
|
|
7
|
+
export declare const progressIndicatorState: StateField<RangeSet<GutterMarker>>;
|
|
8
|
+
export declare const busyIndicatorState: StateField<RangeSet<GutterMarker>>;
|
|
9
|
+
/**
|
|
10
|
+
* The busy indicator is used to display an indicator in the editor
|
|
11
|
+
* for lines that take a long time.
|
|
12
|
+
*/
|
|
13
|
+
export declare const busyGutter: import("@codemirror/state").Extension;
|
|
14
|
+
/**
|
|
15
|
+
* The progress gutter is used to add an invisible element into the editor that is used to
|
|
16
|
+
* display the progress line.
|
|
17
|
+
*/
|
|
18
|
+
export declare const progressGutter: import("@codemirror/state").Extension;
|
|
19
|
+
//# sourceMappingURL=progress-indicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-indicator.d.ts","sourceRoot":"","sources":["../../src/codeview/progress-indicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,YAAY,EAAiB,MAAM,kBAAkB,CAAA;AAC9F,OAAO,EAAE,UAAU,EAAe,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAErE,eAAO,MAAM,0BAA0B,qDAErC,CAAC;AACH,eAAO,MAAM,6BAA6B,mDAAuB,CAAC;AAElE,eAAO,MAAM,sBAAsB,qDAEjC,CAAC;AACH,eAAO,MAAM,yBAAyB,mDAAuB,CAAC;AAW9D,eAAO,MAAM,sBAAsB,oCAejC,CAAC;AAiBH,eAAO,MAAM,kBAAkB,oCAc7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,UAAU,uCAGrB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,cAAc,uCAGzB,CAAC"}
|
package/dist/editor.d.ts
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Node as ProseNode } from "prosemirror-model";
|
|
2
2
|
import { EditorState, Plugin, Selection } from "prosemirror-state";
|
|
3
|
-
import { LineNumber, InputAreaStatus, SimpleProgressParams, HistoryChange, Severity } from "./api";
|
|
3
|
+
import { LineNumber, InputAreaStatus, SimpleProgressParams, HistoryChange, Severity, OffsetDiagnostic } from "./api";
|
|
4
4
|
import "katex/dist/katex.min.css";
|
|
5
5
|
import "prosemirror-view/style/prosemirror.css";
|
|
6
6
|
import "./styles";
|
|
7
|
-
import { WaterproofEditorConfig,
|
|
7
|
+
import { WaterproofEditorConfig, ThemeStyle } from "./api";
|
|
8
8
|
import { Completion } from "@codemirror/autocomplete";
|
|
9
9
|
import { ServerStatus } from "./api";
|
|
10
10
|
/** Type that contains a coq diagnostics object fit for use in the ProseMirror editor context. */
|
|
11
|
-
type DiagnosticObjectProse = {
|
|
11
|
+
export type DiagnosticObjectProse = {
|
|
12
12
|
message: string;
|
|
13
13
|
start: number;
|
|
14
14
|
end: number;
|
|
15
|
-
$start: ResolvedPos;
|
|
16
|
-
$end: ResolvedPos;
|
|
17
15
|
severity: Severity;
|
|
18
16
|
};
|
|
19
17
|
/**
|
|
@@ -29,6 +27,8 @@ export declare class WaterproofEditor {
|
|
|
29
27
|
private _mapping;
|
|
30
28
|
private readonly _userOS;
|
|
31
29
|
private currentProseDiagnostics;
|
|
30
|
+
get diagnosticsVersion(): number;
|
|
31
|
+
private diagnosticsUpdateCounter;
|
|
32
32
|
private _lineNumbersShown;
|
|
33
33
|
/**
|
|
34
34
|
* Create a new WaterproofEditor instance.
|
|
@@ -105,14 +105,50 @@ export declare class WaterproofEditor {
|
|
|
105
105
|
*/
|
|
106
106
|
updateQedStatus(status: InputAreaStatus[]): void;
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Pushes the diagnostics to the array of diagnostics stored in the editor.
|
|
109
|
+
*
|
|
110
|
+
* In comparison to {@linkcode setActiveDiagnostics} this will keep the old
|
|
111
|
+
* diagnostics around.
|
|
112
|
+
*
|
|
113
|
+
* @param diagnostics The diagnostics to add.
|
|
114
|
+
*/
|
|
115
|
+
pushDiagnostics(...diagnostics: Array<OffsetDiagnostic>): void;
|
|
116
|
+
/**
|
|
117
|
+
* Removes the diagnostic `toRemove` from the set of stored diagnostics.
|
|
118
|
+
*
|
|
119
|
+
* Note that if `toRemove` occurs more than once, all instances will be removed!
|
|
120
|
+
* @param toRemove The diagnostic object to remove
|
|
121
|
+
* @returns Whether any instance of `toRemove` was removed from the set of diagnostics.
|
|
122
|
+
*/
|
|
123
|
+
removeDiagnostic(toRemove: OffsetDiagnostic): boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Sets the current set of diagnostics in the document.
|
|
126
|
+
* This function takes the set of all diagnostics in the current document,
|
|
127
|
+
* translates the position to ProseMirror offsets and stores them.
|
|
128
|
+
*
|
|
129
|
+
* Note: Calling this function overwrites the set of diagnostics.
|
|
130
|
+
* If you want to add a diagnostic use {@linkcode pushDiagnostics}
|
|
109
131
|
*
|
|
110
132
|
* @param msg The set of diagnostics for the current document.
|
|
111
133
|
*/
|
|
112
|
-
|
|
134
|
+
setActiveDiagnostics(diagnostics: Array<OffsetDiagnostic>): void;
|
|
135
|
+
private informCodemirrorViews;
|
|
136
|
+
/**
|
|
137
|
+
* Returns the set of stored diagnostics in the range low to high.
|
|
138
|
+
* @param low Lower bound for the diagnostic range.
|
|
139
|
+
* @param high Upper bound for the diagnostic range.
|
|
140
|
+
* @param truncationLevel If desired, only include diagnostics with a severity level below the `truncationLevel`.
|
|
141
|
+
* @returns The set of diagnostics in the range low to high.
|
|
142
|
+
*/
|
|
113
143
|
getDiagnosticsInRange(low: number, high: number, truncationLevel?: number): Array<DiagnosticObjectProse>;
|
|
144
|
+
/**
|
|
145
|
+
* Returns the set of diagnostics for which the intersection of the diagnostic range and the range [low, high]
|
|
146
|
+
* is non-empty. The ranges of these diagnostics will be trimmed such that they are fully contained in [low, high].
|
|
147
|
+
* @param truncationLevel If desired, only include diagnostics with a severity level below the `truncationLevel`.
|
|
148
|
+
* @returns The set of diagnostics which are (at least partially) contained in the range low to high.
|
|
149
|
+
*/
|
|
150
|
+
getPartialDiagnosticsInRange(low: number, high: number, truncationLevel?: number): Array<DiagnosticObjectProse>;
|
|
114
151
|
executeCommand(command: string): void;
|
|
115
152
|
executeHelp(): void;
|
|
116
153
|
}
|
|
117
|
-
export {};
|
|
118
154
|
//# sourceMappingURL=editor.d.ts.map
|
package/dist/editor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../src/editor.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../src/editor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAU,IAAI,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;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G,OAAO;IAwB5D;;;;;;;;;OASG;IACI,oBAAoB,CAAC,WAAW,EAAE,KAAK,CAAC,gBAAgB,CAAC;IAwBhE,OAAO,CAAC,qBAAqB;IAS7B;;;;;;OAMG;IACI,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,GAAE,MAAU,GAAG,KAAK,CAAC,qBAAqB,CAAC;IAMlH;;;;;OAKG;IACI,4BAA4B,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,GAAE,MAAU,GAAG,KAAK,CAAC,qBAAqB,CAAC;IAelH,cAAc,CAAC,OAAO,EAAE,MAAM;IAI9B,WAAW;CAGlB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { KeyBinding } from "@codemirror/view";
|
|
2
2
|
import { StateCommand } from "@codemirror/state";
|
|
3
|
+
export declare const indentMoreCustom: StateCommand;
|
|
3
4
|
/**
|
|
4
5
|
* Filtered set of keybindings taken from
|
|
5
6
|
* https://github.com/codemirror/commands/blob/e27916c9b09d2cedd7e0c9770bff04eeb3696e69/src/commands.ts#L878
|
|
6
7
|
*/
|
|
7
8
|
export declare const keybindings: KeyBinding[];
|
|
8
|
-
export declare const indentMoreCustom: StateCommand;
|
|
9
9
|
//# sourceMappingURL=embedded-codemirror-keymap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embedded-codemirror-keymap.d.ts","sourceRoot":"","sources":["../../src/embedded-codemirror/embedded-codemirror-keymap.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"embedded-codemirror-keymap.d.ts","sourceRoot":"","sources":["../../src/embedded-codemirror/embedded-codemirror-keymap.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAe,YAAY,EAAqD,MAAM,mBAAmB,CAAA;AAgBhH,eAAO,MAAM,gBAAgB,EAAE,YAM9B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,UAAU,EA2CnC,CAAA"}
|