Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InputText: Implement double/triple-click + drag word/line selection #8032

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 1, 2024

  1. InputText: Implement double/triple-click + drag word/line selection

    Select word/line on double/triple click was already implemented but
    holding down the last click and dragging the mouse to incrementally
    select was not.
    
    To do this, `ImGuiInputTextState` keeps track of the current selection
    mode (based on the number of mouse clicks) and the originating cursor
    position over which the clicks happened. Later, on mouse moves, the
    appropriate selection for mouse position and origin gets constructed.
    ronak69 committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    46fa733 View commit details
    Browse the repository at this point in the history