Undo, Clear, and Committing
Every annotation is a discrete step. Tex keeps a per-capture undo stack so you can reverse and replay work freely before committing.
Undo and Redo
| Action | Shortcut | Behaviour |
|---|---|---|
| Undo | Ctrl+Z | Remove the most recent annotation from the canvas and push it onto the redo stack |
| Redo | Ctrl+Y | Re-apply the most recently undone annotation |
- The undo stack holds up to 50 steps per capture.
- Placing a new annotation clears the redo stack (standard editor behaviour).
- Undo works identically in the MainWindow inline canvas and in AnnotationWindow.
Clear All
The Clear All button in the annotation toolbar removes every annotation on the canvas in one action.
Warning — Clear All does NOT go onto the undo stack. Once you confirm, the annotation list is emptied and cannot be restored with Ctrl+Z. Use Clear All only when you are certain the current markup should be discarded. If you only want to remove the last few strokes, Undo is safer.
The underlying captured image is not affected by Clear All — only the annotation layer is wiped.
Committing Your Work
AnnotationWindow has two commit buttons (MainWindow commits via the top-level Save and Copy buttons):
| Button | Shortcut | Effect |
|---|---|---|
| Apply & Save | Ctrl+S | Render the annotations onto the image and write the flattened result back to the capture history |
| Apply & Copy | Ctrl+C | Render the annotations onto the image and place the flattened PNG on the Windows clipboard |
Both actions "flatten" the annotations — after committing, the saved file or clipboard image is a single-layer bitmap with no editable annotations inside it. The original pre-annotation capture is still preserved in the history (see 4.7) so you can reopen it and try a different markup if needed.
Suggested Flow
- Capture the region or fullscreen (see 2.2, 2.3).
- Annotate freely in MainWindow or AnnotationWindow.
- If you go wrong:
Ctrl+Zto step back, or redo the whole pass if it is easier than picking through. - When the markup looks right, Apply & Save for a file or Apply & Copy for pasting into chat / email.
Tip — Destructive tools (Blur, Pixelate — see 3.6) are on the undo stack while you are editing, but once Apply & Save writes the flattened file to disk, the underlying pixels inside those rectangles are gone from that file. Keep this in mind if you plan to share drafts.