Skip to content

fix: use byte indices#286

Merged
psteinroe merged 5 commits intomainfrom
fix/crash-281
Apr 3, 2025
Merged

fix: use byte indices#286
psteinroe merged 5 commits intomainfrom
fix/crash-281

Conversation

@psteinroe
Copy link
Copy Markdown
Collaborator

@psteinroe psteinroe commented Mar 31, 2025

closes #281

we need to use byte indices

@psteinroe psteinroe marked this pull request as ready for review April 1, 2025 11:31
@psteinroe psteinroe changed the title try to add repro fix: use byte indices Apr 1, 2025
Copy link
Copy Markdown
Collaborator

@juleswritescode juleswritescode left a comment

Choose a reason for hiding this comment

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

looks good! get_affected_content(content: &'a str, range: Range) -> &'a str helper method maybe?

Comment thread crates/pgt_workspace/src/workspace/server/change.rs Outdated
@psteinroe psteinroe merged commit 0fde3aa into main Apr 3, 2025
7 checks passed
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.

Server crashes when Cyrillic character is typed

2 participants