Skip to content

Commit ae04aa7

Browse files
committed
frontend/latex/output: refactor, bugfix, enhance error tab
1 parent bf233ff commit ae04aa7

File tree

3 files changed

+238
-155
lines changed

3 files changed

+238
-155
lines changed

src/packages/frontend/frame-editors/code-editor/actions.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* License: MS-RSL – see LICENSE.md for details
44
*/
55

6+
// cSpell:ignore multifile errorstyle subframe rtex popout codegen autobuild titlebar
7+
68
/*
79
Code Editor Actions -- This the base class for all frame editor actions.
810
@@ -1756,7 +1758,7 @@ export class Actions<
17561758
if (syncdoc == null || syncdoc.is_fake) {
17571759
// give up -- don't even have a syncdoc...
17581760
// A derived class that doesn't use a syncdoc
1759-
// might overload programmatical_goto_line to make
1761+
// might overload programmatically_goto_line to make
17601762
// sense for whatever it works with.
17611763
return false;
17621764
}
@@ -2032,7 +2034,7 @@ export class Actions<
20322034
}
20332035

20342036
// Runs spellchecker on the backend last saved file, then
2035-
// sets the mispelled_words part of the state to the immutable
2037+
// sets the misspelled_words part of the state to the immutable
20362038
// Set of those words. They can then be rendered by any editor/view.
20372039
async update_misspelled_words(time?: number): Promise<void> {
20382040
if (this.isClosed()) return;
@@ -3101,7 +3103,7 @@ export class Actions<
31013103
return filename_extension(this.path);
31023104
}
31033105

3104-
// return the suppoted scopes for this document type.
3106+
// return the supported scopes for this document type.
31053107
// do not have to include "none" and "all", since they are always supported.
31063108
languageModelGetScopes(): Set<LanguageModelScope> {
31073109
return new Set(["selection"]);

src/packages/frontend/frame-editors/frame-tree/title-bar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
FrameTitleBar - title bar in a frame, in the frame tree
99
*/
1010

11+
// cSpell:ignore rescan subframe
12+
1113
import { ButtonGroup } from "@cocalc/frontend/antd-bootstrap";
1214
import { Button, Dropdown, Input, InputNumber, Popover, Tooltip } from "antd";
1315
import type { MenuProps } from "antd/lib";

0 commit comments

Comments
 (0)