Move Editor namespace from Terminal.Gui.Views to Terminal.Gui.Editor#98
Closed
Copilot wants to merge 2 commits into
Closed
Move Editor namespace from Terminal.Gui.Views to Terminal.Gui.Editor#98Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
- Update <RootNamespace> in .csproj from Terminal.Gui.Views to Terminal.Gui.Editor - Change namespace Terminal.Gui.Views -> Terminal.Gui.Editor in all Editor.*.cs and Gutter.cs files - Change namespace Terminal.Gui.Views.Rendering -> Terminal.Gui.Editor.Rendering in all Rendering/ files - Update using directives in all tests, examples, and benchmarks - Fix embedded resource prefix in Resources.cs to match new namespace - Restore Terminal.Gui.Views using in files that need TG's own Window/Dialog/etc types - Update documentation in README.md, CLAUDE.md, and specs/ files Agent-Logs-Url: https://github.com/gui-cs/Editor/sessions/ef20df44-fad9-4ce4-a546-ddbd5b72dc8e Co-authored-by: tig <585482+tig@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix Editor namespace to match assembly Terminal.Gui.Editor
Move Editor namespace from Terminal.Gui.Views to Terminal.Gui.Editor
May 13, 2026
tig
added a commit
that referenced
this pull request
May 13, 2026
…itor Align the namespace with the assembly name. This is the same change as PR #98 (copilot/fix-editor-namespace-issue) applied directly to the folding-ui branch. - Changed RootNamespace in .csproj from Terminal.Gui.Views to Terminal.Gui.Editor - Updated all namespace declarations (Terminal.Gui.Views -> Terminal.Gui.Editor, Terminal.Gui.Views.Rendering -> Terminal.Gui.Editor.Rendering) - Updated embedded resource prefix in Resources.cs - Updated using directives across tests, examples, and benchmarks - Re-added 'using Terminal.Gui.Views' where TG's own view types are needed - Updated specs/docs references Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Editorclass and its rendering types were inTerminal.Gui.Views, inconsistent with the assembly nameTerminal.Gui.Editor. Namespace now matches assembly.Changes
<RootNamespace>in.csproj:Terminal.Gui.Views→Terminal.Gui.EditorEditor.*.cs,Gutter.cs:namespace Terminal.Gui.Views→namespace Terminal.Gui.EditorRendering/*.cs:namespace Terminal.Gui.Views.Rendering→namespace Terminal.Gui.Editor.RenderingResources.cs: updated toTerminal.Gui.Editor.Highlighting.Resources.so.xshdfiles resolve correctly at runtimeusing Terminal.Gui.Views→using Terminal.Gui.Editorwhere the import was for ourEditortype;using Terminal.Gui.Viewsretained where TG's ownWindow,Dialog,CheckState, etc. are still neededREADME.md,CLAUDE.md,specs/): updated namespace referencesBefore / After
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
www.jetbrains.com/usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/.nuget/packages/jetbrains.resharper.globaltools/2026.1.1/tools/net8.0/any/cleanupcode.unix.runtimeconfig.json /home/REDACTED/.nuget/packages/jetbrains.resharper.globaltools/2026.1.1/tools/net8.0/any/cleanupcode.exe Terminal.Gui.Editor.slnx --profile=TG.Editor Full Cleanup --no-build --exclude=third_party/**/* s.cs nfig/composer/ves/Views\.Editor/Editor/g sed -i Editor/g layedEvents.cs k/_temp/ghcca-node/node/bin/sed i.Editor;/ rReadOnlyTests.c-i /opt/pipx_bin/ses/Views\.Editor/Editor/g sed(dns block)/usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/.nuget/packages/jetbrains.resharper.globaltools/2026.1.1/tools/net8.0/any/cleanupcode.unix.runtimeconfig.json /home/REDACTED/.nuget/packages/jetbrains.resharper.globaltools/2026.1.1/tools/net8.0/any/cleanupcode.exe Terminal.Gui.Editor.slnx --profile=Built-in: Full Cleanup --no-build --exclude=third_party/**/* rSelectionTests.-i /snap/bin/sed sed -i Editor/g mpressingTreeList.cs ndor/bin/sed i.Editor;/ ebug/net10.0/Ter-a ndor/bin/sed sed(dns block)If you need me to access, download, or install something from one of these locations, you can either: