Expand description
Windows on open workbooks.
Every open workbook has one or more windows (View › New Window adds another on the same
workbook). A window has its own selection, active sheet and per-sheet selections. The active
window’s view lives in its DocState (selection, sheet_selections) and in the workbook’s
active sheet (crate::model::workbook::Workbook::active_sheet), where every command reads
it; each other window keeps its view in WindowState until it is activated. Swapping a view
in or out never copies the workbook or makes it dirty: the active sheet is set in place through
the shared Arc, and selections live outside the workbook.
Structs§
- Target
Guard - What
Session::leave_targetrestores. - Window
State - One window on an open workbook.
- Window
View - The view state one window keeps while another window on its workbook is showing.
Enums§
- Target
- Which window a command from a script or agent acts on.
Functions§
- is_
window_ command - Commands that take
window/docas their own parameters rather than as a target.