Skip to content

Conversation

@zanmato
Copy link
Contributor

@zanmato zanmato commented Jan 30, 2026

Description

When using inline completions (ghost lines), the first line suffix is not aligned with the rest of the line. This changes it to capture the current cursor row y instead of using the cursor bounds for the y offset.

Screenshot

Before After
Screenshot From 2026-01-30 14-03-30 Screenshot From 2026-01-30 14-13-52

Comparison

Screenshot From 2026-01-30 14-53-12

How to Test

  1. cargo run --release --example editor
  2. Type fn ( to get inline completions

Checklist

  • I have read the CONTRIBUTING document and followed the guidelines.
  • Reviewed the changes in this PR and confirmed AI generated code (If any) is accurate.
  • Passed cargo run for story tests related to the changes.
  • Tested macOS, Windows and Linux platforms performance (if the change is platform-specific)

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.

1 participant