Documentation
¶
Overview ¶
Package editor is base/editor's Editor in ui's colors. It is a package of its own, as base/editor is, so that only apps that edit code link chroma's lexers. Its types are base/editor's: this package adds the look alone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Editor ¶
Editor is editor.Editor in ui's look: ui.TypeCode's size and line height (FontSize and LineHeight replace them), faint line numbers with the active line's in the text's color, the accent for the caret and the selection, amber search matches, wavy diagnostics in the danger, warning, info and muted colors, inlays in muted text a point smaller on a faint rounded box, and the completion list and its documentation on the menu's surface. The app's Styles or StylesFunc merge over ui's, part by part.