Constructs a new VirtualRenderer
within the container
specified, applying the given theme
.
Optional
container: HTMLElementThe root element of the editor
Optional
theme: stringThe starting theme
Optional
destroyedOptional
enableOptional
keyboardOptional
showOptional
themeOptional
capturing: booleanOptional
optionNames: Partial<VirtualRendererOptions> | (keyof VirtualRendererOptions)[]Optional
capturing: booleanGracefully scrolls the editor to the row indicated.
A line number
If true
, centers the editor the to indicated line
If true
animates scrolling
Optional
callback: (() => void)Function to be called after the animation has finished
Sets annotations for the gutter.
An array containing annotations
Associates the renderer with an [[EditSession EditSession
]].
The session to associate with
Returns an object containing the pageX
and pageY
coordinates of the document position.
The document row position
The document column position
Generated using TypeDoc
The class that is responsible for drawing everything you see on the screen!
Related
editor.renderer