mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-25 19:07:17 -06:00
* Insert › Bookmark: Delete and Go To, laid out as Word's (#1236) The Bookmark dialog had only Add: a bookmark could not be deleted, and a click in its list jumped to the bookmark at once. It is now laid out as Word's (observed in Word 2019 on Windows): the name box over the list, Add, Delete and Go To beside them, Sort by Name or Location and Hidden bookmarks below. A click in the list picks a name; Add (Enter) adds and closes; Delete and Go To leave the dialog open, and after a delete Cancel reads Close. The dialog opens on the bookmark around the caret, and Add is off for a name the command would refuse. insert.deleteBookmark {name} removes a bookmark's start and end wherever they are, also across paragraphs, as one undo step, keeping the selection on its text; from the command search without a name it opens the dialog. Adding a bookmark under a name in use goes through the same removal: it looked for the old end only in the start's paragraph, so a bookmark across paragraphs left a stray end behind. edit.goto with a bookmark selects its text, as Word's Go To does, instead of placing the caret at its start. Closes #1236 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Insert › Bookmark: Ctrl+click on a link to a bookmark keeps a caret (#1236) Word's Go To selects a bookmark's text, but Ctrl+click on a link to a bookmark only puts the caret at the bookmark's start (checked in Word 2019 on Windows). Following a link runs edit.goto, which now selects, so it collapses the selection to its start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Resolve the doc conflict markers left by the previous merge Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>