镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

🐞 Text Selection Doesn't Update When Dragging Outside Horizontal Bounds of Text View #100

Description

@austincondiff

Description

When dragging to create a text selection, if the mouse is moved outside the horizontal bounds of the text view, the selection range stops updating. This breaks expected behavior where the selection should continue to adjust based on the mouse's position—even when it moves outside the view horizontally—until the mouse is released.

This behavior is standard in macOS text editors and is important for selecting text that extends beyond the visible horizontal area.

To Reproduce

  1. Click and drag to begin a text selection in the editor.
  2. While still dragging, move the mouse outside the left or right edge of the text view.
  3. Observe the selection range.

Expected Behavior

  • The selection range should continue updating based on the mouse’s position, even when it moves outside the horizontal edges of the text view. Horizontal autoscroll should also be triggered if applicable.

Current Behavior

  • The selection range stops updating when the cursor leaves the horizontal bounds of the text view.

Additional Context

Ensure the text view tracks mouse movement beyond its horizontal bounds during an active drag operation. Autoscrolling behavior may also need to be implemented or refined.

Activity

  1. added a commit that references this issue on Jun 23, 2025
    df485cb
  2. moved this from 🆕 New to 🏁 Complete in CodeEdit Projecton Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions