Expand description
Which Editor pane an agent’s open goes into, when a tab has several.
The order is fixed, so the same layout always gives the same answer:
- one the tab shows now (the front tab of its pane, not minimized, not behind a magnified pane);
- the nearest to the pane that asked, by distance in the layout tree, with one after it (below or to its right) before one before it;
- the focused pane;
- one that needs no switch of its pane’s tab;
- the first in layout order.
Structs§
- Pick 🔒
- The Editor chosen, and a sentence for the log saying why.
Functions§
- choose 🔒
- The Editor of
editors(in layout order) an open from the panecallershould go into. - needs_
activation 🔒 - Whether showing
block_idtakes switching its pane to it: it is a background tab of a pane stack. - path_to 🔒
- The child indexes from
nodedown to the pane holdingblock_id(in its stack or in front). - tree_
distance 🔒 - Steps between two panes through their nearest common branch.