| 5 | import { IEditorProps } from "./types"; |
| 6 | |
| 7 | export interface IDiffEditorProps { |
| 8 | cursorStart?: number; |
| 9 | editorProps?: object; |
| 10 | enableBasicAutocompletion?: boolean | string[]; |
| 11 | enableLiveAutocompletion?: boolean | string[]; |
| 12 | focus?: boolean; |
| 13 | fontSize?: number; |
| 14 | height?: string; |
| 15 | highlightActiveLine?: boolean; |
| 16 | maxLines?: number; |
| 17 | minLines?: number; |
| 18 | mode?: string; |
| 19 | name?: string; |
| 20 | className?: string; |
| 21 | onLoad?: (editor: IEditorProps) => void; |
| 22 | onChange?: (value: string[], event?: any) => void; |
| 23 | onPaste?: (value: string) => void; |
| 24 | onScroll?: (editor: IEditorProps) => void; |
| 25 | orientation?: string; |
| 26 | readOnly?: boolean; |
| 27 | scrollMargin?: number[]; |
| 28 | setOptions?: object; |
| 29 | showGutter?: boolean; |
| 30 | showPrintMargin?: boolean; |
| 31 | splits?: number; |
| 32 | style?: object; |
| 33 | tabSize?: number; |
| 34 | theme?: string; |
| 35 | value?: string[]; |
| 36 | width?: string; |
| 37 | wrapEnabled?: boolean; |
| 38 | } |
| 39 | |
| 40 | export interface IDiffEditorState { |
| 41 | value: string[]; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…