SolidEditorOptions
SolidEditorOptions =
Omit<EditorOptions,"editability"|"fontFamily"|"fontSize"|"gutterLeadingInset"|"gutterScroll"|"height"|"hiddenCharacters"|"keymap"|"lineHeight"|"maxHeight"|"onChange"|"rangeDecorations"|"rowGap"|"scrollMode"|"suspiciousCharacters"|"tabMovesFocus"|"tabSize"|"theme"|"wordWrap"> &object
Type Declaration
Section titled “Type Declaration”document?
Section titled “document?”
readonlyoptionaldocument?:SolidEditorReactiveValue<SolidEditorDocument|null|undefined>
editability?
Section titled “editability?”
readonlyoptionaleditability?:SolidEditorReactiveValue<EditorEditability|undefined>
fontFamily?
Section titled “fontFamily?”
readonlyoptionalfontFamily?:SolidEditorReactiveValue<string|undefined>
fontSize?
Section titled “fontSize?”
readonlyoptionalfontSize?:SolidEditorReactiveValue<number|undefined>
gutterLeadingInset?
Section titled “gutterLeadingInset?”
readonlyoptionalgutterLeadingInset?:SolidEditorReactiveValue<number|undefined>
gutterScroll?
Section titled “gutterScroll?”
readonlyoptionalgutterScroll?:SolidEditorReactiveValue<EditorOptions["gutterScroll"]>
height?
Section titled “height?”
readonlyoptionalheight?:SolidEditorReactiveValue<EditorOptions["height"]>
hiddenCharacters?
Section titled “hiddenCharacters?”
readonlyoptionalhiddenCharacters?:SolidEditorReactiveValue<HiddenCharactersMode|undefined>
keymap?
Section titled “keymap?”
readonlyoptionalkeymap?:SolidEditorReactiveValue<EditorKeymapOptions|undefined>
lineHeight?
Section titled “lineHeight?”
readonlyoptionallineHeight?:SolidEditorReactiveValue<number|undefined>
maxHeight?
Section titled “maxHeight?”
readonlyoptionalmaxHeight?:SolidEditorReactiveValue<number|undefined>
onChange?
Section titled “onChange?”
readonlyoptionalonChange?:EditorChangeHandler
onTextChange?
Section titled “onTextChange?”
readonlyoptionalonTextChange?: (text) =>void
Receives the whole text after each change that did not come from document.text or
document.defaultText. Copies the document every time: O(document length) per change.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
rangeDecorations?
Section titled “rangeDecorations?”
readonlyoptionalrangeDecorations?:SolidEditorReactiveValue<readonlyEditorRangeDecoration[] |undefined>
rowGap?
Section titled “rowGap?”
readonlyoptionalrowGap?:SolidEditorReactiveValue<number|undefined>
scrollMode?
Section titled “scrollMode?”
readonlyoptionalscrollMode?:SolidEditorReactiveValue<EditorScrollMode|undefined>
scrollPosition?
Section titled “scrollPosition?”
readonlyoptionalscrollPosition?:SolidEditorReactiveValue<EditorScrollPosition|null|undefined>
selection?
Section titled “selection?”
readonlyoptionalselection?:SolidEditorReactiveValue<SolidEditorSelection|null|undefined>
suspiciousCharacters?
Section titled “suspiciousCharacters?”
readonlyoptionalsuspiciousCharacters?:SolidEditorReactiveValue<EditorSuspiciousCharactersOptions|undefined>
tabMovesFocus?
Section titled “tabMovesFocus?”
readonlyoptionaltabMovesFocus?:SolidEditorReactiveValue<boolean|undefined>
tabSize?
Section titled “tabSize?”
readonlyoptionaltabSize?:SolidEditorReactiveValue<number|undefined>
theme?
Section titled “theme?”
readonlyoptionaltheme?:SolidEditorReactiveValue<EditorTheme|null|undefined>
wordWrap?
Section titled “wordWrap?”
readonlyoptionalwordWrap?:SolidEditorReactiveValue<boolean|undefined>