Skip to content

Clarify TextDocument text change event docs#221

Merged
tig merged 4 commits into
developfrom
issue/215_textchanged-api-docs
May 22, 2026
Merged

Clarify TextDocument text change event docs#221
tig merged 4 commits into
developfrom
issue/215_textchanged-api-docs

Conversation

@tig
Copy link
Copy Markdown
Member

@tig tig commented May 22, 2026

Closes #215.

Summary

  • Clarifies the inherited AvaloniaEdit event semantics for TextDocument.TextChanged, TextDocument.Changed, IDocument.TextChanged, and IDocument.ChangeCompleted.
  • Replaces the previous behavior-changing test coverage with a focused unit test that documents the current per-edit vs update-group notification behavior.
  • Records the API-doc clarification in the AvaloniaEdit fork tracking log.

Validation

  • dotnet run --project tests\Terminal.Gui.Editor.Tests
  • dotnet format Terminal.Gui.Editor.slnx --verify-no-changes --exclude third_party/
  • dotnet jb cleanupcode Terminal.Gui.Editor.slnx --profile="TG.Editor Full Cleanup" completed, but its broad formatting churn in lifted AvaloniaEdit files was reverted per fork policy.

@tig tig requested a review from BDisp May 22, 2026 16:28
@tig tig merged commit e435518 into develop May 22, 2026
8 checks passed
@tig tig deleted the issue/215_textchanged-api-docs branch May 22, 2026 17:40
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.

TextChanged event semantics are confusing

2 participants