Skip to content

Release v2.5.0#238

Merged
tig merged 16 commits into
mainfrom
release/v2.5.0
May 24, 2026
Merged

Release v2.5.0#238
tig merged 16 commits into
mainfrom
release/v2.5.0

Conversation

@tig
Copy link
Copy Markdown
Member

@tig tig commented May 24, 2026

Release v2.5.0

Version: 2.5.0
NuGet Package: Terminal.Gui.Editor 2.5.0

What happens when this PR is merged

  1. The Finalize Release workflow creates tag v2.5.0
  2. The Release workflow builds and pushes Terminal.Gui.Editor 2.5.0 to NuGet.org
  3. A GitHub Release is created with auto-generated notes
  4. A back-merge PR from main -> develop is opened

Checklist

  • CI passes on this PR
  • Version looks correct: 2.5.0
  • Release notes reviewed

tig and others added 16 commits May 23, 2026 13:38
Back-merge v2.4.1 from main into develop
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>
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>
Add MarkdownPreview subclass of Markdown that:
- Highlights the rendered line corresponding to the editor's current
  source line using a proportional mapping and background color shift
- Raises SourceLineClicked when user clicks in the preview, enabling
  click-to-navigate back to the corresponding source line in the editor

Wire up Editor.CaretChanged in TedApp to update the highlight on every
caret move, and handle SourceLineClicked to move the editor caret.

Closes #229

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
One type per file per CLAUDE.md convention.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…l-gui-edito

refactor!: move all namespaces under Terminal.Gui.Editor
…espaces

Add NamespaceDoc.cs files to each namespace folder so that DocFX generates
namespace summaries in the API reference. Documentation content is drawn
from README.md descriptions.

Namespaces documented:
- Terminal.Gui.Editor (root, with hero.gif image)
- Terminal.Gui.Editor.Completion
- Terminal.Gui.Editor.Document
- Terminal.Gui.Editor.Document.Folding
- Terminal.Gui.Editor.Document.Search
- Terminal.Gui.Editor.Document.Utils
- Terminal.Gui.Editor.Highlighting
- Terminal.Gui.Editor.Highlighting.Xshd
- Terminal.Gui.Editor.Indentation
- Terminal.Gui.Editor.Rendering

Closes #230

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fixes incorrect highlight painting when Viewport.X > 0 (horizontal
scroll). ContentToScreen gave content-relative screen coords that
shifted the read position; ViewportToScreen correctly maps the
viewport-relative draw row to screen buffer coordinates.

Also fixes CRLF line endings in SourceLineClickedEventArgs.cs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…-indicator

feat(ted): highlight current editor line in Markdown preview
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fixes #235. Bug: CRLF newline requires two keypresses
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add namespace-level XML documentation for all Terminal.Gui.Editor namespaces
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c033cb3ccf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread examples/ted/MarkdownPreview.cs
@tig tig merged commit 39c5da3 into main May 24, 2026
31 checks passed
@tig tig deleted the release/v2.5.0 branch May 24, 2026 21:02
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.

2 participants