mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 13:01:29 +00:00
Main added multi-selection to the comment tool (`selected` plus `also`, `select_only`, `toggle`, `select_range`, `clear_selection`, one Delete for all selected); this PR picks a group's member under the pointer (`member`, `pick`, `target`). Both are kept: main's selection API resets the picked member, `select` and `pick` go through it, a plain click or a drag that starts a new selection picks the member, and Delete (key and menu) takes the picked member alone while its group is the whole selection, else every selected comment. Exports in annot lib.rs take both sides; Comment Properties keeps main's typed-text default with this PR's `tool_for_default` signature; other call sites take main's selection calls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyDBXygTf7jcqdsjcfn