code_forge_web library

Classes

CodeForgeWeb
A highly customizable code editor widget for Flutter.
CodeForgeWebController
Controller for the CodeForgeWeb code editor widget.
CodeSelectionStyle
This class provides styling options for code selection in the code editor.
CompoundOperation
A compound operation that groups multiple edits into one undo unit.
CompoundOperationHandle
Handle for grouping multiple edits into a single undo operation.
CustomIcons
CustomLanguageGrammar
CustomTheme
CustomViewport
A custom two-dimensional viewport for the code editor.
DeleteOperation
A deletion operation
DocumentColor
Represents a document color to be displayed in the code editor.
DocumentHighlight
Represents a document highlight from LSP. Used to highlight all occurrences of a symbol in the document.
EditOperation
Represents a single edit operation that can be undone/redone. Designed to work efficiently with rope data structures.
FindController
Controller for managing text search functionality in CodeForgeWeb.
FoldRange
Represents a foldable code region in the editor.
GhostText
Represents ghost text (inline suggestion) displayed in the editor.
GutterDecoration
Represents a decoration in the gutter area (line numbers column).
GutterStyle
This class provides styling options for the Gutter.
HoverDetailsStyle
Styling options for the hover details popup.
InlayHint
Represents an inlay hint to be displayed inline in the code editor.
InsertOperation
An insertion operation
LineDecoration
Represents a decoration applied to a range of lines in the editor.
LspClientCapabilities
Defines the capabilities of the LSP (Language Server Protocol) client.
LspCompletion
Represents a completion item in the LSP (Language Server Protocol). This class is used internally by the CodeForgeWeb widget to display completion suggestions.
LspConfig
LspErrors
Represents an error in the LSP (Language Server Protocol). This class is used internally by the CodeForgeWeb widget to display errors in the editor.
LspSemanticToken
LspSignatureHelps
LspSocketConfig
A configuration class for Language Server Protocol (LSP) using WebSocket communication.
MatchHighlightStyle
Styles used to highlight occurrences found by the controller.findWord() API.
OverlayStyle
Base class for overlay styling options used in various popup elements.
Render2DCodeField
The render object for the code editor's two-dimensional viewport.
ReplaceOperation
A replacement operation (delete + insert at same position)
RTLAwareScrollPhysics
Custom scroll physics that reverses horizontal drag direction for RTL mode on mobile.
SearchHighlight
Represents a highlighted search result in the editor
SuggestionStyle
Styling options for the code completion suggestion popup.
UndoRedoController
Controller for managing undo/redo operations.

Enums

CompletionItemType
GutterDecorationType
Defines decoration types for gutter decorations.
InlayHintKind
The kind of inlay hint
LineDecorationType
Defines decoration types for line decorations in the editor.

Constants

semanticToHljs → const Map<String, List<String>>
sematicMap → const Map<String, Object>

Properties

completionItemIcons Map<CompletionItemType, Icon>
getter/setter pair

Functions

getSemanticMapping(String languageId) Map<String, List<String>>
Pyright-specific overrides for semantic token mappings. Pyright uses some token types differently than the LSP standard.