Skip to content

6/11: fix(completions): sanitization edge cases#659

Merged
juleswritescode merged 2 commits intostacked/pr629-5-context-trackingfrom
stacked/pr629-6-sanitization-fix
Jan 25, 2026
Merged

6/11: fix(completions): sanitization edge cases#659
juleswritescode merged 2 commits intostacked/pr629-5-context-trackingfrom
stacked/pr629-6-sanitization-fix

Conversation

@juleswritescode
Copy link
Collaborator

@juleswritescode juleswritescode commented Jan 24, 2026

Summary

  • Use saturating_sub to avoid panic on position 0
  • Prevent underflow in cursor position checks

Part of stacked PRs for #629

This is PR 6/11 in the keyword completion feature stack.

@juleswritescode juleswritescode changed the title 6/8: fix(completions): sanitization edge cases 6/11: fix(completions): sanitization edge cases Jan 24, 2026
@juleswritescode juleswritescode merged commit 72de7b0 into stacked/pr629-5-context-tracking Jan 25, 2026
8 checks passed
@juleswritescode juleswritescode deleted the stacked/pr629-6-sanitization-fix branch January 25, 2026 14:10
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