Skip to content

P1-06: Multiple selection / multi-cursor (Cmd+click) #46

@hybridmachine

Description

@hybridmachine

Description

Enable multiple cursors for simultaneous editing.

Implementation

  • SCI_SETMULTIPLESELECTION(1) to enable
  • SCI_SETADDITIONALSELECTIONTYPING(1) for typing at all cursors
  • Cmd+click to add additional cursor
  • Cmd+D to select next occurrence of current selection (add cursor)
  • SCI_SETMULTIPASTE(SC_MULTIPASTE_EACH) for paste at each cursor
  • Visual styling for additional carets and selections

Dependencies

  • P1-05 (rectangular selection foundation)

Key Files

  • macos/platform/main_phase7.mm

Sprint

Sprint 6 - Selection & Editing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions