Skip to main content

Module code_editor

Module code_editor 

Source
Available on crate feature code-editor only.
Expand description

Reexport freya-code-editor when the code-editor feature is enabled.

Structs§

CodeEditor
CodeEditorData
EditorLanguage
A language definition used for syntax highlighting.
EditorLineUI
EditorMetrics
EditorSyntaxTheme
EditorTheme
EditorThemePartial
You can use this to change a theme for only one component, with the theme property.
EditorThemePreference
Rope
A utf8 text rope.
RopeChunkIter
RopeTextProvider
SyntaxBlocks
SyntaxHighlighter

Enums§

TextNode

Statics§

BASE_FONT_SIZE
MAX_FONT_SIZE

Traits§

CodeEditorThemeExt
Registers code editor themes into a Theme, e.g. dark_theme().with_dark_code_editor().
EditorThemePartialExt
InputEditExt

Type Aliases§

SyntaxLine