mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-30 04:58:34 -06:00
main split canvas.rs, comments.rs, edit_text_ui.rs and moved the page modules under canvas/ and tools/. The cursor claims are re-applied where that code now lives: - page_cursor.rs moves to canvas/, beside page_pointer.rs, re-exported from lib.rs the same way. - canvas.rs: claims in the stamp, hand, text-cursor and link code; over_field and badge_hover are gone; the cursor is resolved once after the page loop in draw_pages. annotation_hover_text (canvas/area.rs) and its test give way to comments::describe and hover_tip. - comments: describe, hover_tip and on_link go to tools/comments/input.rs, the hover_tip test to tools/comments/tests.rs. - Edit text's picture claims go to tools/edit_text_ui/image.rs. - The cursor guard test goes to canvas/page_pointer/tests.rs, with NOT_PAGE_CURSOR on main's paths. - Tools that took ui only to set the cursor stop binding it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>