lucy_editor library

Classes

AnalysisResult
AutoHighlightResult
BeforeHighlightContext
CodeAutocomplete
CodeAutocompleteEditingValue
CodeChunk
CodeChunkAnalyzer
CodeChunkController
CodeChunkIndicatorPainter
CodeChunkIndicatorRenderObject
CodeChunkSymbol
CodeCommentFormatter
CodeEditor
Creates a code editor.
CodeEditorStyle
An immutable style describing how to format and paint editor content.
CodeFieldPrompt
The field autocomplate prompt. Compared to CodeKeywordPrompt, type definitions also need to be provided.
CodeFindController
CodeFindOption
CodeFindResult
CodeFindValue
CodeFunctionPrompt
The function autocomplate prompt.
CodeHighlightTheme
The code syntax highlighting theme. We use Re-Highlight as the syntax highlighting rule. Re-Highlight provides some built-in syntax highlighting rules for dozens of programming languages, and many theme styles.
CodeHighlightThemeMode
Define language rules and restrictions for highlighting.
CodeIndicatorValue
CodeKeywordPrompt
The keyword autocomplate prompt. such as 'return', 'class', 'new' and so on.
CodeLine
CodeLineEditingController
A controller for an editor field.
CodeLineEditingValue
The current codes, selection, and composing state for editing a run of text.
CodeLineIndex
CodeLineNumberRenderObject
CodeLineOptions
Some options of the code lines.
CodeLinePosition
A position in a string of code.
CodeLineRange
A range of code that represents a selection.
CodeLineRenderParagraph
CodeLines
CodeLineSegment
CodeLineSelection
A range of code lines that represents a selection.
CodeLineUtils
CodePrompt
Define code autocomplate prompt information.
CodeScrollController
CodeShortcutCommentIntent
CodeShortcutCopyIntent
CodeShortcutCursorMoveDocEdgeIntent
CodeShortcutCursorMoveIntent
CodeShortcutCursorMoveLineEdgeIntent
CodeShortcutCursorMovePageIntent
CodeShortcutCursorMoveWordBoundaryIntent
CodeShortcutCutIntent
CodeShortcutDeleteBeforeIntent
CodeShortcutDeleteIntent
CodeShortcutEditableIntent
CodeShortcutEscIntent
CodeShortcutFindIntent
CodeShortcutFindToggleMatchCaseIntent
CodeShortcutFindToggleRegexIntent
CodeShortcutIndentIntent
CodeShortcutIntelliSenseIntent
CodeShortcutLineSelectIntent
CodeShortcutNewLineIntent
CodeShortcutOutdentIntent
CodeShortcutPasteIntent
CodeShortcutRedoIntent
CodeShortcutReplaceIntent
CodeShortcutsActivatorsBuilder
CodeShortcutSaveIntent
CodeShortcutSelectAllIntent
CodeShortcutSelectionExtendIntent
CodeShortcutSelectionExtendLineEdgeIntent
CodeShortcutSelectionExtendPageEdgeIntent
CodeShortcutTransposeCharactersIntent
CodeShortcutUndoIntent
DataNode
DefaultCodeChunkAnalyzer
DefaultCodeChunkIndicator
DefaultCodeChunkIndicatorPainter
DefaultCodeCommentFormatter
DefaultCodeLineNumber
DefaultCodeShortcutsActivatorsBuilder
DefaultIssueIndicator
DefaultIssueIndicatorState
DefaultStyles
Emitter
EnhancedMatch
Highlight
HighlightRenderer
HighlightResult
HLPlugin
IllegalData
IntelliData
IParagraph
Issue
MobileSelectionToolbarController
Mode
ModeCallbackResponse
NonCodeChunkAnalyzer
SelectionToolbarController
ShortcutLineDeleteIntent
ShortcutLineMoveIntent
StopWatch
TextSpanRenderer
ToolbarMenuItem

Properties

APOS_STRING_MODE Mode
final
BACKSLASH_ESCAPE Mode
final
BINARY_NUMBER_MODE Mode
final
C_BLOCK_COMMENT_MODE Mode
final
C_LINE_COMMENT_MODE Mode
final
C_NUMBER_MODE Mode
final
HASH_COMMENT_MODE Mode
final
issueLineComparator Comparator<Issue>
getter/setter pair
METHOD_GUARD Mode
final
NUMBER_MODE Mode
final
PHRASAL_WORDS_MODE Mode
final
QUOTE_STRING_MODE Mode
final
REGEXP_MODE Mode
final
TITLE_MODE Mode
final
UNDERSCORE_TITLE_MODE Mode
final

Functions

dependencyOnParent(Mode? mode) bool
Determines if a mode has a dependency on it's parent or not
scopeToCSSClass(String name, String prefix) String

Typedefs

CodeAutocompleteWidgetBuilder = PreferredSizeWidget Function(BuildContext context, ValueNotifier<CodeAutocompleteEditingValue> notifier, ValueChanged<CodeAutocompleteEditingValue> onSelected)
CodeFindBuilder = PreferredSizeWidget Function(BuildContext context, CodeFindController controller, bool readonly)
CodeIndicatorBuilder = Widget Function(BuildContext context, CodeLineEditingController editingController, CodeChunkController chunkController, CodeIndicatorValueNotifier notifier)
CodeIndicatorValueNotifier = ValueNotifier<CodeIndicatorValue?>
CodeLineSpanBuilder = TextSpan? Function(int index, CodeLine codeLine, TextStyle baseStyle)
CodeScrollbarBuilder = Widget Function(BuildContext context, Widget child, ScrollableDetails details)
CompilerExt = void Function(Mode mode, Mode? parent)
IsolateCallback<Res> = void Function(Res res)
IsolateRunnable<Req, Res> = Res Function(Req req)
ModeCallback = void Function(EnhancedMatch match, ModeCallbackResponse response)
OnToolbarShow = void Function(BuildContext context, TextSelectionToolbarAnchors anchors, Rect? renderRect)
ToolbarMenuBuilder = List<ToolbarMenuItem> Function(BuildContext context, CodeLineEditingController controller)

Exceptions / Errors

AnnotatedError