mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
Add wordWrap option to Monaco
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { ISelfInitializer, ISelfLoading } from "../types";
|
||||
import { OwnedAugmentationsOrderSetting, PurchaseAugmentationsOrderSetting } from "./SettingEnums";
|
||||
import { defaultTheme, ITheme } from "./Themes";
|
||||
import { WordWrapOptions } from '../ScriptEditor/ui/Options';
|
||||
|
||||
/**
|
||||
* Represents the default settings the player could customize.
|
||||
@@ -141,6 +142,8 @@ interface ISettings extends IDefaultSettings {
|
||||
MonacoFontSize: number;
|
||||
|
||||
MonacoVim: boolean;
|
||||
|
||||
MonacoWordWrap: WordWrapOptions;
|
||||
}
|
||||
|
||||
export const defaultSettings: IDefaultSettings = {
|
||||
@@ -203,6 +206,7 @@ export const Settings: ISettings & ISelfInitializer & ISelfLoading = {
|
||||
MonacoInsertSpaces: false,
|
||||
MonacoFontSize: 20,
|
||||
MonacoVim: false,
|
||||
MonacoWordWrap: 'off',
|
||||
|
||||
theme: { ...defaultTheme },
|
||||
init() {
|
||||
|
||||
Reference in New Issue
Block a user