(hub: Hub, container: Container, state: FlagsViewState & MonacoPaneState)
| 41 | cursorSelectionThrottledFunction: ((e: any) => void) & _.Cancelable; |
| 42 | lastChangeEmitted: string; |
| 43 | constructor(hub: Hub, container: Container, state: FlagsViewState & MonacoPaneState) { |
| 44 | super(hub, container, state); |
| 45 | |
| 46 | let value = ''; |
| 47 | if (state.compilerFlags) { |
| 48 | value = state.compilerFlags.replace(/ /g, '\n'); |
| 49 | } |
| 50 | this.editor.setValue(value); |
| 51 | |
| 52 | this.onSettingsChange(Settings.getStoredSettings()); |
| 53 | this.eventHub.emit('flagsViewOpened', this.compilerInfo.compilerId); |
| 54 | } |
| 55 | |
| 56 | override getInitialHTML() { |
| 57 | return $('#flags').html(); |
nothing calls this directly
no test coverage detected