Skip to main content

CONTEXT_UNDO_NEEDS_VIEW

Constant CONTEXT_UNDO_NEEDS_VIEW 

Source
pub const CONTEXT_UNDO_NEEDS_VIEW: &str = "undoNeedsView";
Expand description

The context key true when, under focus routing (Routing::Focus), Ctrl+Z goes nowhere only because no view was focused yet while a step waits somewhere (needs_view): Edit › Undo stays live to say why.