Files
bitburner-src/src/ScriptEditor/ui/Options.ts
T
2023-06-18 21:17:15 -04:00

21 lines
552 B
TypeScript

import type { editor } from "monaco-editor";
export type WordWrapOptions = "on" | "off" | "bounded" | "wordWrapColumn";
export type CursorStyle = editor.IEditorOptions["cursorStyle"];
export type CursorBlinking = editor.IEditorOptions["cursorBlinking"];
export interface Options {
theme: string;
insertSpaces: boolean;
tabSize: number;
detectIndentation: boolean;
fontFamily: string;
fontSize: number;
fontLigatures: boolean;
wordWrap: WordWrapOptions;
vim: boolean;
cursorStyle: CursorStyle;
cursorBlinking: CursorBlinking;
}