@codingame/monaco-vscode-katex-common 26.0.1 → 26.1.1
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/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorInput.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-katex-common",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - common package depending on katex",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "26.
|
|
18
|
+
"@codingame/monaco-vscode-api": "26.1.1",
|
|
19
19
|
"katex": "0.16.27",
|
|
20
20
|
"marked": "14.0.0"
|
|
21
21
|
},
|
|
@@ -144,7 +144,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
144
144
|
return [{
|
|
145
145
|
text: `$(${successStateIcon.id})`,
|
|
146
146
|
color: themeColorFromId(cellStatusIconSuccess),
|
|
147
|
-
tooltip: ( localize(
|
|
147
|
+
tooltip: ( localize(9564, "Success")),
|
|
148
148
|
alignment: CellStatusbarAlignment.Left,
|
|
149
149
|
priority: Number.MAX_SAFE_INTEGER
|
|
150
150
|
}];
|
|
@@ -152,14 +152,14 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
152
152
|
return [{
|
|
153
153
|
text: `$(${errorStateIcon.id})`,
|
|
154
154
|
color: themeColorFromId(cellStatusIconError),
|
|
155
|
-
tooltip: ( localize(
|
|
155
|
+
tooltip: ( localize(9565, "Failed")),
|
|
156
156
|
alignment: CellStatusbarAlignment.Left,
|
|
157
157
|
priority: Number.MAX_SAFE_INTEGER
|
|
158
158
|
}];
|
|
159
159
|
} else if (state === NotebookCellExecutionState.Pending || state === NotebookCellExecutionState.Unconfirmed) {
|
|
160
160
|
return [{
|
|
161
161
|
text: `$(${pendingStateIcon.id})`,
|
|
162
|
-
tooltip: ( localize(
|
|
162
|
+
tooltip: ( localize(9566, "Pending")),
|
|
163
163
|
alignment: CellStatusbarAlignment.Left,
|
|
164
164
|
priority: Number.MAX_SAFE_INTEGER
|
|
165
165
|
}];
|
|
@@ -167,7 +167,7 @@ let ExecutionStateCellStatusBarItem = class ExecutionStateCellStatusBarItem exte
|
|
|
167
167
|
const icon = runState?.didPause ? executingStateIcon : ThemeIcon.modify(executingStateIcon, "spin");
|
|
168
168
|
return [{
|
|
169
169
|
text: `$(${icon.id})`,
|
|
170
|
-
tooltip: ( localize(
|
|
170
|
+
tooltip: ( localize(9567, "Executing")),
|
|
171
171
|
alignment: CellStatusbarAlignment.Left,
|
|
172
172
|
priority: Number.MAX_SAFE_INTEGER
|
|
173
173
|
}];
|
|
@@ -298,10 +298,10 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
|
298
298
|
const rendererTitle = renderIssueLink ? `[${linkText}](command:workbench.action.openIssueReporter?${args})` : `**${linkText}**`;
|
|
299
299
|
renderTimes += `- ${rendererTitle} ${formatCellDuration(renderDuration[key])}\n`;
|
|
300
300
|
}
|
|
301
|
-
renderTimes += `\n*${( localize(
|
|
301
|
+
renderTimes += `\n*${( localize(9568, "Use the links above to file an issue using the issue reporter."))}*\n`;
|
|
302
302
|
tooltip = {
|
|
303
303
|
value: ( localize(
|
|
304
|
-
|
|
304
|
+
9569,
|
|
305
305
|
"**Last Execution** {0}\n\n**Execution Time** {1}\n\n**Overhead Time** {2}\n\n**Render Times**\n\n{3}",
|
|
306
306
|
lastExecution,
|
|
307
307
|
formatCellDuration(executionDuration),
|
|
@@ -312,7 +312,7 @@ let TimerCellStatusBarItem = class TimerCellStatusBarItem extends Disposable {
|
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
314
|
const executionText = this._isVerbose ? ( localize(
|
|
315
|
-
|
|
315
|
+
9570,
|
|
316
316
|
"Last Execution: {0}, Duration: {1}",
|
|
317
317
|
lastExecution,
|
|
318
318
|
formatCellDuration(duration, false)
|
|
@@ -348,9 +348,9 @@ let NotebookFindWidget = class NotebookFindWidget extends SimpleFindReplaceWidge
|
|
|
348
348
|
}
|
|
349
349
|
_getAriaLabel(label, currentMatch, searchString) {
|
|
350
350
|
if (label === NLS_NO_RESULTS) {
|
|
351
|
-
return searchString === "" ? ( localize(
|
|
351
|
+
return searchString === "" ? ( localize(9611, "{0} found", label)) : ( localize(9612, "{0} found for '{1}'", label, searchString));
|
|
352
352
|
}
|
|
353
|
-
return localize(
|
|
353
|
+
return localize(9613, "{0} found for '{1}'", label, searchString);
|
|
354
354
|
}
|
|
355
355
|
dispose() {
|
|
356
356
|
this._notebookEditor?.removeClassName(FIND_SHOW_TRANSITION);
|
|
@@ -243,7 +243,7 @@ let ReplEditor = class ReplEditor extends EditorPane {
|
|
|
243
243
|
...editorOptions,
|
|
244
244
|
...editorOptionsOverride,
|
|
245
245
|
...{
|
|
246
|
-
ariaLabel: ( localize(
|
|
246
|
+
ariaLabel: ( localize(10738, "REPL Input")),
|
|
247
247
|
glyphMargin: true,
|
|
248
248
|
padding: {
|
|
249
249
|
top: INPUT_EDITOR_PADDING,
|
|
@@ -23,7 +23,7 @@ import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscod
|
|
|
23
23
|
import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
|
|
24
24
|
|
|
25
25
|
var ReplEditorInput_1;
|
|
26
|
-
const replTabIcon = registerIcon("repl-editor-label-icon", Codicon.debugLineByLine, ( localize(
|
|
26
|
+
const replTabIcon = registerIcon("repl-editor-label-icon", Codicon.debugLineByLine, ( localize(10752, "Icon of the REPL editor label.")));
|
|
27
27
|
let ReplEditorInput = class ReplEditorInput extends NotebookEditorInput {
|
|
28
28
|
static {
|
|
29
29
|
ReplEditorInput_1 = this;
|