We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b10c68d commit 4f936cbCopy full SHA for 4f936cb
src/shared_types.d.ts
@@ -50,6 +50,11 @@ type LatexContext = {
50
endIndex: number;
51
selectionL?: NodeBase;
52
selectionR?: NodeBase;
53
+
54
+ // in the end we expect to have either a cursorL or cursorParent
55
+ // to use to restore selection. We collect both because of shenanigans
56
+ // with MathBlock, and maybe others. If the cursorL is defined we will use it. Otherwise
57
+ // we will fall back to the cursorParent.
58
cursorL?: NodeBase | 0;
59
cursorParent?: NodeBase | 0;
60
};
0 commit comments