🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Better handle newlines in diffs - #5959

Merged
aryairani merged 4 commits into
trunkfrom
cp/handle-newlines-in-diffs
Oct 27, 2025
Merged

Better handle newlines in diffs#5959
aryairani merged 4 commits into
trunkfrom
cp/handle-newlines-in-diffs

Conversation

@ChrisPenner

@ChrisPenner ChrisPenner commented Oct 23, 2025

Copy link
Copy Markdown
Member

Overview

Old:

Screenshot 2025-10-23 at 10 39 50 AM

New:
Screenshot 2025-10-23 at 10 56 34 AM

Implementation notes

  • Detect and split annotated segments on newlines contained within.

Test coverage

Unfortunately the text tests I'm using tokenize on whitespace so it's not easy to test this with them here;
But I did add transcript tests in Share here

@ChrisPenner
ChrisPenner changed the base branch from trunk to cp/annotated-string-text October 23, 2025 17:26
@ChrisPenner
ChrisPenner marked this pull request as ready for review October 23, 2025 18:12
Base automatically changed from cp/annotated-string-text to trunk October 24, 2025 12:28
@aryairani
aryairani merged commit a781a2b into trunk Oct 27, 2025
32 checks passed
@aryairani
aryairani deleted the cp/handle-newlines-in-diffs branch October 27, 2025 18:09
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.

3 participants