Versions in this module Expand all Collapse all v0 v0.3.4 Nov 26, 2026 v0.3.3 Nov 25, 2026 v0.3.2 Nov 25, 2026 v0.3.1 Nov 25, 2026 v0.3.0 Nov 23, 2026 v0.2.0 Nov 19, 2026 v0.1.0 Nov 16, 2026 Changes in this version + type Bounds struct + Bounds core.Bounds + PageBounds core.Bounds + type Classes struct + ActiveLine string + ActiveLineNumber string + Caret string + CompletionDetail string + CompletionDocumentation string + CompletionItem string + CompletionKind string + CompletionMatch string + CompletionMenu string + Composition string + Content string + CurrentSearchMatch string + DefinitionLink string + DeprecatedText string + DiagnosticError string + DiagnosticHint string + DiagnosticInfo string + DiagnosticWarning string + FoldMarker string + FoldPlaceholder string + Gutter string + IndentGuide string + InlineCompletion string + Line string + LineNumber string + MatchingBracket string + OverviewRuler string + Placeholder string + Ruler string + SearchMatch string + SelectedCompletionItem string + Selection string + SelectionHandle string + UnnecessaryText string + Whitespace string + type CodeActionRequest struct + Bounds *Bounds + Position Position + Range Range + type CodeDescription struct + Href string + type Command string + const AddCaretAbove + const AddCaretBelow + const Copy + const Cut + const DeleteBackward + const DeleteForward + const DeleteLine + const DeleteToLineEnd + const DeleteToLineStart + const DeleteWordLeft + const DeleteWordRight + const DuplicateLinesDown + const DuplicateLinesUp + const ExpandSelection + const FindNext + const FindPrevious + const FindWithSelection + const Fold + const FoldAll + const FoldRecursive + const FoldSelection + const GoToDefinition + const Indent + const JoinLines + const MoveDocumentEnd + const MoveDocumentStart + const MoveDown + const MoveLeft + const MoveLineEnd + const MoveLineStart + const MoveLinesDown + const MoveLinesUp + const MovePageDown + const MovePageUp + const MoveParagraphDown + const MoveParagraphUp + const MoveRight + const MoveSubwordLeft + const MoveSubwordRight + const MoveToMatchingBracket + const MoveUp + const MoveWordLeft + const MoveWordRight + const Newline + const NewlineAbove + const NewlineBelow + const Outdent + const Paste + const Redo + const RedoSelection + const SelectAll + const SelectAllOccurrences + const SelectDocumentEnd + const SelectDocumentStart + const SelectDown + const SelectLeft + const SelectLine + const SelectLineEnd + const SelectLineStart + const SelectNextOccurrence + const SelectPageDown + const SelectPageUp + const SelectParagraphDown + const SelectParagraphUp + const SelectPreviousOccurrence + const SelectRight + const SelectSubwordLeft + const SelectSubwordRight + const SelectUp + const SelectWord + const SelectWordLeft + const SelectWordRight + const ShowCodeActions + const ShowCompletions + const ShrinkSelection + const SingleSelection + const SortLinesAscending + const SortLinesDescending + const SplitSelectionIntoLines + const ToggleBlockComment + const ToggleComment + const TransformToLowercase + const TransformToTitleCase + const TransformToUppercase + const TransposeCharacters + const TrimTrailingWhitespace + const Undo + const UndoSelection + const Unfold + const UnfoldAll + const UnfoldRecursive + type CompletionAcceptEvent struct + Item CompletionItem + type CompletionItem struct + Detail string + Documentation string + FilterText string + InsertText string + Kind CompletionKind + Label string + Range *Range + SortText string + type CompletionKind string + type CompletionRequest struct + Character string + ID int + Offset int + Position Position + Query string + QueryStart int + Trigger CompletionTrigger + type CompletionTrigger uint8 + const CompletionCharacter + const CompletionInvoked + const CompletionTyping + type ContextMenuEvent struct + At core.Point + Position Position + Selection core.Bounds + type Decoration struct + Class string + Gutter *GutterMark + LineClass string + LineStyle core.Style + OverviewRuler *OverviewRulerMark + Range Range + Style core.Style + Token TokenKind + type DefinitionRequest struct + ID int + Offset int + Position Position + Range Range + Trigger DefinitionTrigger + type DefinitionTrigger uint8 + const DefinitionHover + const DefinitionKey + const DefinitionPress + type Diagnostic struct + Code string + CodeDescription *CodeDescription + Message string + Range Range + RelatedInformation []RelatedInformation + Severity Severity + Source string + Tags []DiagnosticTag + func (d *Diagnostic) Has(tag DiagnosticTag) bool + type DiagnosticTag uint8 + const TagDeprecated + const TagUnnecessary + type Edit struct + Range Range + Text string + type Editor struct + AutoFocus bool + Class string + Classes Classes + Completion bool + CompletionTriggerCharacters []string + CursorSurroundingLines int + Decorations func() []Decoration + DefaultValue string + Diagnostics func() []Diagnostic + FoldRanges func() []FoldRange + FontFamily string + FontSize core.Points + GutterDecorationsWidth core.Points + HardTabs bool + Highlighter func(language string) Highlighter + InlineCompletionDelay time.Duration + Label string + Language string + LineHeight core.Points + MaxRows int + MinRows int + NoActiveLine bool + NoAutoClose bool + NoAutoIndent bool + NoFolding bool + NoHighlighting bool + NoIndentGuides bool + NoLineNumbers bool + OnBlur func() + OnChange func(text string) + OnCodeActionRequest func(CodeActionRequest) + OnCompletionAccept func(CompletionAcceptEvent) + OnCompletionRequest func(CompletionRequest) + OnContextMenu func(ContextMenuEvent) + OnDefinitionRequest func(DefinitionRequest) + OnFindWithSelection func(text string) + OnFocus func() + OnFoldChange func([]FoldRange) + OnHover func(HoverEvent) + OnHoverEnd func() + OnInlineCompletionRequest func(InlineCompletionRequest) + OnLayout func(core.Bounds) + OnLineNumberPress func(line int) + OnSearchChange func(SearchResult) + OnSelectionChange func([]Selection) + OnTextPress func(TextPressEvent) + Placeholder string + ReadOnly bool + Ref *Ref + Rulers []int + ScrollBeyondLastLine int + Search func() Search + ShowWhitespaces bool + SoftWrap bool + Style core.Style + StyleFunc func() core.Style + Styles Styles + StylesFunc func() Styles + TabSize int + TestID string + Tooltip core.Node + Under Styles + Value func() string + func (p Editor) Render(cx *core.Scope) core.Node + type FoldRange struct + EndLine int + StartLine int + type GutterMark struct + Class string + Placement GutterPlacement + Style core.Style + type GutterPlacement uint8 + const GutterBefore + const GutterLines + type Highlighter = syntax.Highlighter + type HoverEvent struct + Diagnostics []Diagnostic + Modifiers core.Modifiers + Offset int + PageBounds core.Bounds + PagePosition core.Point + Position Position + Range Range + type InlineCompletionRequest struct + ID int + Offset int + Position Position + type Location struct + Range Range + URI string + type OverviewRulerLane uint8 + const LaneCenter + const LaneFull + const LaneLeft + const LaneRight + type OverviewRulerMark struct + Class string + Lane OverviewRulerLane + Style core.Style + type Position struct + Column int + Line int + type Range struct + End Position + Start Position + type Ref struct + func (r *Ref) Blur() + func (r *Ref) CanRedo() bool + func (r *Ref) CanUndo() bool + func (r *Ref) CaretBounds() (b Bounds, ok bool) + func (r *Ref) Edit(edits []Edit) + func (r *Ref) Focus() + func (r *Ref) Fold(line int) + func (r *Ref) FoldLevel(level int) + func (r *Ref) FoldRange(f FoldRange) + func (r *Ref) FoldRecursive(line int) + func (r *Ref) Folds() []FoldRange + func (r *Ref) GoToLine(line int) + func (r *Ref) HideCompletions() + func (r *Ref) HideDefinitionLink() + func (r *Ref) HideInlineCompletion() + func (r *Ref) Insert(text string) + func (r *Ref) OffsetToPosition(offset int) Position + func (r *Ref) PositionToOffset(p Position) int + func (r *Ref) PresentCompletions(id int, items []CompletionItem, incomplete bool) + func (r *Ref) PresentDefinitionLink(id int, rng Range) + func (r *Ref) PresentInlineCompletion(id int, text string) + func (r *Ref) RangeBounds(rng Range) []Bounds + func (r *Ref) Replace(with string) + func (r *Ref) ReplaceAll(with string) int + func (r *Ref) RevealPosition(p Position, center bool) + func (r *Ref) Run(c Command) + func (r *Ref) ScrollOffset() core.Point + func (r *Ref) ScrollToLine(line int) + func (r *Ref) SelectedText() string + func (r *Ref) Selections() []Selection + func (r *Ref) SetFolds(folds []FoldRange) + func (r *Ref) SetScrollOffset(p core.Point) + func (r *Ref) SetSelections(sels []Selection) + func (r *Ref) SetValue(text string) + func (r *Ref) ShowCompletions() + func (r *Ref) Unfold(line int) + func (r *Ref) UnfoldRecursive(line int) + func (r *Ref) Value() string + func (r *Ref) VisibleRange() Range + type RelatedInformation struct + Location Location + Message string + type Search struct + CaseSensitive bool + InSelection bool + Query string + Regex bool + WholeWord bool + type SearchResult struct + Count int + Current int + Error string + type Selection struct + Anchor Position + Head Position + type Severity uint8 + const SeverityError + const SeverityHint + const SeverityInfo + const SeverityWarning + type Styles struct + ActiveLine core.Style + ActiveLineNumber core.Style + Caret core.Style + CompletionDetail core.Style + CompletionDocumentation core.Style + CompletionItem core.Style + CompletionKind core.Style + CompletionMatch core.Style + CompletionMenu core.Style + Composition core.Style + Content core.Style + CurrentSearchMatch core.Style + DefinitionLink core.Style + DeprecatedText core.Style + DiagnosticError core.Style + DiagnosticHint core.Style + DiagnosticInfo core.Style + DiagnosticWarning core.Style + FoldMarker core.Style + FoldPlaceholder core.Style + Gutter core.Style + IndentGuide core.Style + InlineCompletion core.Style + Line core.Style + LineNumber core.Style + MatchingBracket core.Style + OverviewRuler core.Style + Placeholder core.Style + Ruler core.Style + SearchMatch core.Style + SelectedCompletionItem core.Style + Selection core.Style + SelectionHandle core.Style + UnnecessaryText core.Style + Whitespace core.Style + type TextPressEvent struct + Clicks int + Modifiers core.Modifiers + Offset int + PagePosition core.Point + Position Position + Range Range + type Token = syntax.Token + type TokenKind string