EditorState constructor
EditorState({
- bool vimModeEnabled = false,
- String keybindingScheme = 'default',
- int tabSize = 2,
- bool useSoftTabs = true,
- bool wordWrap = true,
- bool lineNumbers = true,
- bool minimap = false,
- String theme = 'dark',
- double fontSize = 14.0,
- String fontFamily = 'JetBrains Mono',
- bool bracketMatching = true,
- bool autoIndent = true,
- bool highlightCurrentLine = true,
- Map<
String, String> ? customKeybindings,
Implementation
EditorState({
this.vimModeEnabled = false,
this.keybindingScheme = 'default',
this.tabSize = 2,
this.useSoftTabs = true,
this.wordWrap = true,
this.lineNumbers = true,
this.minimap = false,
this.theme = 'dark',
this.fontSize = 14.0,
this.fontFamily = 'JetBrains Mono',
this.bracketMatching = true,
this.autoIndent = true,
this.highlightCurrentLine = true,
Map<String, String>? customKeybindings,
}) : customKeybindings = customKeybindings ?? {};