chore: the gap list is current again, and the check is clean
The Navigator was still listed as missing; only split view is. Formula recalculation stops the walk at the blocks a table cannot be in, or it visits every run of the document per keystroke. One dead CSS rule goes, so svelte-check reports nothing at all.
This commit is contained in:
1 parent
b19409aacb
commit
03384c3da4
3 files changed
+5
-8
No files matched your search
@@ -1671,12 +1671,6 @@
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.action-separator {
|
||||
width: 1px;
|
||||
height: 1.5rem;
|
||||
background: var(--color-border);
|
||||
}
|
||||
|
||||
.file-action-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -107,6 +107,9 @@ type Edit = { pos: number; cell: PMNode; text: string };
|
||||
function formulaEdits(doc: PMNode, loc: NumberLocale): Edit[] {
|
||||
const edits: Edit[] = [];
|
||||
doc.descendants((node, pos) => {
|
||||
// This runs on every edit, so the walk stops at the blocks a table cannot be in —
|
||||
// otherwise it visits every run of the document per keystroke.
|
||||
if (node.isTextblock) return false;
|
||||
if (node.type.name !== 'table') return;
|
||||
for (const [off, text] of evaluateTable(node, loc, t().table.formulaError)) {
|
||||
const cell = node.nodeAt(off);
|
||||
|
||||
Reference in new issue
Block a user