Comments: Squiggly underline tool (Highlight flyout, All tools, command)

The engine and agent tool already made squiggly underlines; the UI had no
way to. CommentTool::Squiggly joins Underline and Strikethrough in the
Highlight flyout and the Comment tool's Markup section, as the
comment.squiggly command, and existing squiggly comments edit as themselves.
Test: comments.rs::the_squiggly_tool_marks_selected_text. Parity
comment.squiggly: shipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-05 18:57:28 -04:00
co-authored by Claude Opus 5.5
parent ead70695c8
commit c02e1e91c2
5 changed files with 30 additions and 7 deletions
+4 -4
View File
@@ -3515,11 +3515,11 @@ title = "Squiggly underline"
area = "E"
tier = "P2"
milestone = "M5"
status = "partial"
commands = []
status = "shipped"
commands = ["comment.squiggly"]
tools = ["comment_add"]
evidence = ["crates/annot/src/tests.rs::every_tool_creates_a_drawable_comment"]
notes = "engine and agent tool; no toolbar entry yet"
evidence = ["crates/annot/src/tests.rs::every_tool_creates_a_drawable_comment", "crates/ui-egui/tests/comments.rs::the_squiggly_tool_marks_selected_text"]
notes = "Highlight ▸ Squiggly underline (with Underline and Strikethrough), the agent tool and the engine"
[[feature]]
id = "comment.replace-text"