User Guide
03.7 · Annotating Images

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

ActionShortcutBehaviour
UndoCtrl+ZRemove the most recent annotation from the canvas and push it onto the redo stack
RedoCtrl+YRe-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.

Tip

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):

ButtonShortcutEffect
Apply & SaveCtrl+SRender the annotations onto the image and write the flattened result back to the capture history
Apply & CopyCtrl+CRender 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

  1. Capture the region or fullscreen (see 2.2, 2.3).
  2. Annotate freely in MainWindow or AnnotationWindow.
  3. If you go wrong: Ctrl+Z to step back, or redo the whole pass if it is easier than picking through.
  4. When the markup looks right, Apply & Save for a file or Apply & Copy for pasting into chat / email.
Tip

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.