Skip to content

refactor!: move all namespaces under Terminal.Gui.Editor#232

Merged
tig merged 2 commits into
developfrom
tig/move-namespaces-under-terminal-gui-edito
May 23, 2026
Merged

refactor!: move all namespaces under Terminal.Gui.Editor#232
tig merged 2 commits into
developfrom
tig/move-namespaces-under-terminal-gui-edito

Conversation

@tig
Copy link
Copy Markdown
Member

@tig tig commented May 23, 2026

Summary

Moves all namespaces in the Editor assembly under the Terminal.Gui.Editor.* root, per #231.

BREAKING CHANGE

All namespaces are now consistently rooted under Terminal.Gui.Editor:

Before After
Terminal.Gui.Document Terminal.Gui.Editor.Document
Terminal.Gui.Document.Folding Terminal.Gui.Editor.Document.Folding
Terminal.Gui.Document.Search Terminal.Gui.Editor.Document.Search
Terminal.Gui.Document.Utils Terminal.Gui.Editor.Document.Utils
Terminal.Gui.Highlighting Terminal.Gui.Editor.Highlighting
Terminal.Gui.Highlighting.Xshd Terminal.Gui.Editor.Highlighting.Xshd
Terminal.Gui.Text.Indentation Terminal.Gui.Editor.Indentation

Namespaces that were already correct (Terminal.Gui.Editor, Terminal.Gui.Editor.Completion, Terminal.Gui.Editor.Rendering) are unchanged.

Migration

Consumers need to update their using directives:

-using Terminal.Gui.Document;
+using Terminal.Gui.Editor.Document;

-using Terminal.Gui.Highlighting;
+using Terminal.Gui.Editor.Highlighting;

-using Terminal.Gui.Text.Indentation;
+using Terminal.Gui.Editor.Indentation;

Verification

  • ✅ Build passes (0 errors, 0 warnings)
  • ✅ All 569 unit tests pass
  • dotnet format --verify-no-changes passes

Closes #231

BREAKING CHANGE: All namespaces in the Editor assembly are now rooted
under Terminal.Gui.Editor.*:

- Terminal.Gui.Document        -> Terminal.Gui.Editor.Document
- Terminal.Gui.Document.Folding -> Terminal.Gui.Editor.Document.Folding
- Terminal.Gui.Document.Search -> Terminal.Gui.Editor.Document.Search
- Terminal.Gui.Document.Utils  -> Terminal.Gui.Editor.Document.Utils
- Terminal.Gui.Highlighting    -> Terminal.Gui.Editor.Highlighting
- Terminal.Gui.Highlighting.Xshd -> Terminal.Gui.Editor.Highlighting.Xshd
- Terminal.Gui.Text.Indentation -> Terminal.Gui.Editor.Indentation

Consumers must update using directives when upgrading.

Closes #231

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tig tig force-pushed the tig/move-namespaces-under-terminal-gui-edito branch 2 times, most recently from 1560566 to 3402bea Compare May 23, 2026 22:42
ReSharper sorts Terminal.Gui.Editor.* after Terminal.Gui.Drawing/Input
alphabetically, which changed relative positions after the rename.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tig tig force-pushed the tig/move-namespaces-under-terminal-gui-edito branch from 3402bea to 3682df0 Compare May 23, 2026 22:48
@tig tig merged commit cf22fb5 into develop May 23, 2026
8 checks passed
@tig tig deleted the tig/move-namespaces-under-terminal-gui-edito branch May 23, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move all namespaces under Terminal.Gui.Editor (breaking change)

1 participant