Skip to content

Add Edit > Clear strokes (1.7.7) - #191

Merged
marcosqlbi merged 1 commit into
mainfrom
feature/clear-all-strokes
Oct 30, 2026
Merged

marcosqlbi merged 1 commit into
mainfrom
feature/clear-all-strokes

Conversation

@marcosqlbi

Copy link
Copy Markdown
Collaborator

Removing every stroke from a board, for example to export the underlying pictures and slides without the ink, took Ctrl+Shift+A and then Delete. That works only from the keyboard, so someone using only a pen or touch had no way to reach it, and nothing in the strips showed that it was possible.

Edit > Clear strokes sits after Paste in the Edit strip, and the letter S runs it while the strip is open. It removes every InkStrokeObject, including strokes linked to a container, through the same DeleteCommandFor path that Delete uses. That path keeps connectors attached and makes the whole removal one step of the history, so a single Undo restores everything. The rest of the selection stays selected. The button is disabled when the board has no strokes, and the command does nothing while a text, label, or shape edit is open, as Duplicate does.

This adds no export option. Clear strokes followed by Undo covers an export without ink, and the command is useful on its own.

Documented in the README command table, one sentence on the Eraser in the guide, the Edit letters on the shortcuts page, and the 1.7.7 notes.

The build is clean and both smoke-test harnesses pass. I haven't tried the command in the running application.

🤖 Generated with Claude Code

The Edit strip gets a Clear strokes command that removes every ink stroke
on the board in one undoable step, including strokes linked to a container.
Ctrl+Shift+A followed by Delete already did this, but only from the
keyboard, so a pen or touch user had no way to reach it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@marcosqlbi
marcosqlbi merged commit eea7c1a into main Oct 30, 2026
5 checks passed
@marcosqlbi
marcosqlbi deleted the feature/clear-all-strokes branch October 30, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant