Skip to content

Add read-only editor mode#69

Merged
tig merged 1 commit into
experiment/codex/developfrom
experiment/codex/read-only
May 11, 2026
Merged

Add read-only editor mode#69
tig merged 1 commit into
experiment/codex/developfrom
experiment/codex/read-only

Conversation

@tig

@tig tig commented May 11, 2026

Copy link
Copy Markdown
Member

Summary

  • add Editor.ReadOnly and guard editor edit commands, typed input, tab indentation, replacement APIs, and undo/redo
  • keep navigation and selection commands active while read-only
  • add a ted read-only constructor/CLI flag path and guard ted paste/cut/undo/redo menu actions
  • mark read-only complete in the feature spec and roadmap

Validation

  • dotnet build Terminal.Gui.Text.slnx - passed
  • dotnet run --project tests/Terminal.Gui.Text.Tests - 212 passed
  • dotnet run --project tests/Terminal.Gui.Editor.Tests - 78 passed
  • dotnet run --project tests/Terminal.Gui.Editor.IntegrationTests - 105 passed
  • dotnet format Terminal.Gui.Text.slnx --exclude third_party/ - passed
  • dotnet format Terminal.Gui.Text.slnx --verify-no-changes --exclude third_party/ - passed
  • dotnet jb cleanupcode Terminal.Gui.Text.slnx --profile="Full Cleanup" - blocked because the profile is not defined
  • dotnet jb cleanupcode Terminal.Gui.Text.slnx - reported no items to cleanup (tool exited 3)

@tig
tig merged commit 23dac11 into experiment/codex/develop May 11, 2026
3 checks passed
@tig
tig deleted the experiment/codex/read-only branch May 11, 2026 22:00
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.

1 participant