Skip to content

feat(editor)!: reader highlights, re-anchoring, and a page frame that takes presses - #45

Merged
clearloop merged 9 commits into
mainfrom
dev
Sep 24, 2026
Merged

clearloop merged 9 commits into
mainfrom
dev

Conversation

@clearloop

Copy link
Copy Markdown
Member

Lands in 0.1.27.

  • Reader highlights: markdown::HighlightColor, Annotation::Highlight, set_highlight_paint / default_highlight, and ToggleHighlight (cmd-shift-h) for a registered highlight mark.
  • markdown::Quote re-finds an anchor's range after the file changed outside the editor.
  • Breaking: editor anchors are no longer comment-only — CommentId → AnchorId, CommentActivated → AnchorActivated, comment_at → anchor_at; Annotation is #[non_exhaustive].
  • Relative image paths resolve against a per-document base (Editing::base, Editor::with_base); ImageStore::keep takes that base instead of reading the editor mid-update.
  • Editor::press takes presses from a host frame, and drags keep following the pointer past the editor's box.
  • Fixes: drop line left behind after a file drag; paste in source mode or a code block goes in as text at the caret.

@cla-bot cla-bot Bot added the cla-signed Contributor has signed the CLA label Sep 24, 2026
@clearloop
clearloop merged commit bb5802e into main Sep 24, 2026
5 checks passed
@clearloop
clearloop deleted the dev branch September 24, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Contributor has signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant