aboutsummaryrefslogtreecommitdiff
path: root/bundle/src/editor.js
AgeCommit message (Collapse)Author
2026-10-22feat(bundle): color compiler diagnostics in Output_ov4
The runner now passes -fdiagnostics-color=always, since auto only sees a pipe. src/ansi.js turns stderr's SGR sequences into bold and colored runs, keeping style and cut-off sequences across chunks and dropping other sequences such as gcc's erase-line. Program stdout stays verbatim. Colors come from --vscode-terminal-ansi* variables. 2026 Dark leaves them unset, so vendor/vscode/terminal-colors.json pins VS Code's dark terminal defaults from the same upstream commit as the themes; a theme value still wins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22feat(bundle): add platform-adaptive file, find and comment shortcuts_ov4
New, Open, Save and Find are Monaco KeyMod.CtrlCmd bindings matched with StandardKeyboardEvent, so they use Cmd on macOS and Ctrl on Windows and Linux, exactly like the editor's own keybindings. Find also works from Input and Output by focusing the editor first. Toggle Line Comment comes from Monaco's comment contribution and the plugin's "//" lineComment. This replaces the Save handler that accepted Ctrl or Cmd with any other modifiers on every platform. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21refactor(bundle): drive all UI colors from the 2026 Dark theme variables_ov4
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21fix(bundle): switch editor to 2026 Dark and set default text foreground_ov4
Plain identifiers rendered black because the TextMate theme had no scope-less default entry. Vendor the 2026 Dark include chain and prepend the editor foreground/background as the default. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21feat(bundle): add the Tauri editor with shared Dark+ language support_ov4
Add a single-document Monaco editor, native file dialogs, save handling and prefilled input/output panels. Reuse the plugin's grammar and editor core. Verify frontend behavior and compile the desktop app on Linux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>