Constructs a new VirtualRenderer within the container specified, applying the given theme.
Optionalcontainer: HTMLElementThe root element of the editor
Optionaltheme: stringThe starting theme
OptionaldestroyedOptionalenableOptionalkeyboardOptionalshowOptionalthemeOptionalcapturing: booleanOptionaloptionNames: Partial<VirtualRendererOptions> | (keyof VirtualRendererOptions)[]Optionalcapturing: booleanGracefully scrolls the editor to the row indicated.
A line number
If true, centers the editor the to indicated line
If true animates scrolling
Optionalcallback: () => voidFunction 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
[Sets a new theme for the editor. theme should exist, and be a directory path, like ace/theme/textmate.]{: #VirtualRenderer.setTheme}
Optionaltheme: string | ThemeThe path to a theme
Optionalcb: () => voidoptional callback
Returns an object containing the pageX and pageY coordinates of the document position.
The document row position
The document column position
The class that is responsible for drawing everything you see on the screen!
Related
editor.renderer