Namespace Terminal.Gui.Editor
A reusable text-editing View for Terminal.Gui with caret movement, selection, clipboard, undo/redo, search & replace, folding, syntax highlighting, word wrap, and multi-caret editing.

The Editor class is a View subclass that consumes the TextDocument through a cell-grid rendering pipeline (VisualLineBuilder → CellVisualLine, with pluggable IVisualLineTransformers and IBackgroundRenderers).
Ships as a single NuGet package: Terminal.Gui.Editor.
Key Types
- Editor - The main editing View (keyboard, mouse, multi-caret, clipboard, undo/redo)
- Gutter - Line numbers and fold indicator gutter (a real View subview of Padding)
- FindReplaceDialog - Built-in find & replace dialog
- EditorMenuBar / EditorStatusBar - Reusable menu bar and status bar for editor apps