Terminal-native text-editing stack for Terminal.Gui, built on a hard fork of AvaloniaEdit's pure-data layers (Document, Folding, Search, Indentation, Highlighting).
Two NuGet packages:
Terminal.Gui.Text— UI-framework-independent document model: rope-backedTextDocument,TextAnchor,UndoStack,FoldingManager, search, indentation, highlighting. No Terminal.Gui dependency; reusable from other front-ends.Terminal.Gui.Editor— aViewsubclass (Editor) consumingTerminal.Gui.Textand rendering on a cell grid, with multi-caret, folding, search, and (post-MVP) TextMate highlighting.
Editor ships alongside TextView. It is not a drop-in replacement and has no source-compat obligation to it.
Pre-alpha. Repo bootstrap only — see specs/00-plan.md for the full implementation plan, phased milestones, and open decisions.
specs/ Planning and design docs
src/ Library projects (Terminal.Gui.Text, Terminal.Gui.Editor)
tests/ xUnit.v3 test projects
Requires the .NET 10 SDK (preview).
dotnet restore
dotnet build
dotnet run --project tests/Terminal.Gui.Text.Tests
dotnet run --project tests/Terminal.Gui.Editor.Tests
dotnet run --project tests/Terminal.Gui.Editor.IntegrationTestsMIT — see LICENSE.
Portions of Terminal.Gui.Text are adapted from AvaloniaEdit (MIT). See specs/00-plan.md §5 for fork policy and attribution; per-file headers identify lifted code.