When a threaded frame starts inside a numbered paragraph, restartNumbering
false on that frame no longer takes away the number the paragraph has in
the frame before.
The line under the Preferences fields now shows a sentence for each of
the 14 Selection & Anchor Display settings when the pointer is over the
setting's row or its control has the keyboard focus, and screen readers
get the same sentence as the focused control's description. Each
sentence states what the app does with the setting: the Snap to Point
sentence says that the Smart Guides Snapping Tolerance applies while
Smart Guides is on. Every catalog has a row for each sentence.
The test that every General setting has one sentence now covers
Selection & Anchor Display too, and two more check the line on hover
and on keyboard focus in that category.
While the Type tool edits text, the Properties panel's Character section
showed the font family and style of the text object's first run. It now
reads character::text_style, as the Character panel, the Control bar and
the Contextual Task Bar do: the first selected character's style, or the
style of the character before the caret. With the Selection tool it still
shows the first run's.
Fixes#8189.
A trim checked and changed the selection once for every trimmed path
and every piece, and each check or removal went through all selected
objects, so a trim of thousands of selected paths spent time
quadratic in their number on the selection alone. The command now
reads the selection through a set and removes and adds objects once
at the end. The resulting selection is the same as before, including
object order, the key object and key anchor, the direct-selected
anchors and segments, and the fields that a change to the object
selection clears.
When all 200 counted commands had 2 picks or more, each new command
entered at 1 pick and the next new command removed it, so it could not
build up a count. A new command now removes one of the 100 commands
picked longest ago: the one with the fewest picks, of those the one
picked longest ago.
The crossing search took a crossing only where the straight pieces it
splits two curves into actually cross. A line trimmed at a curve ends
where that search found the crossing, up to about 0.0001 pt off the
curve. Once the curve was cut as well, its segments were split
differently, the line's end could fall just short of them, and the end
no longer counted as a place on the curve. Trim at Crossings then
removed the curve past that line, to the next crossing or the whole
path.
An open end of a path that lies within 0.001 pt of another path now
meets it at the nearest point there, at any angle. Corners of a path
and closed paths keep the exact test, and paths that lie along each
other still don't cross. Trim at Crossings and its hover, Add Points
at Crossings (with and without cut) and the Join tool's trim and join
of crossing paths use this search. The params text of Trim at
Crossings and Add Points at Crossings and docs/mcp.md say so.
When a threaded frame starts inside a numbered paragraph, startNumber and
restartNumbering true now go to the next numbered paragraph that begins in
that frame. Before, the continued paragraph took the number, and reflow gave
it to the item the earlier frame shows.
A result that cannot run now stays in its place in the list and is
drawn in the disabled text color: an engine command whose engine check
fails (Ungroup with nothing selected, Paste with an empty clipboard and
nothing to paste from the system clipboard), a UI command the menus dim,
a filter plug-in or an effect whose menu item is dimmed, and a panel in
Presentation Mode. Tools are never dimmed.
The engine's reason, or that the command is not available right now,
shows on hover, as the row's screen-reader description, and in the
footer while the row is highlighted: beside the count, or on a line of
its own under the recent picks of an empty search. The row's
screen-reader node is marked disabled. Both messages are existing
status messages, so no catalog changes.
Only the drawn rows are checked, each once per state: the key is what
the native menu bar's rows depend on (native_menu::state_hash, now
pub(crate)), plus unsaved changes, the screen mode, an open dialog and
background saves, exports, file reads, plug-in runs and traces, and a
frame with a click. Typing in the search field keeps the answers. One
engine check took 102 ms on a 20,000-object selection in a release
build. The check does not change the ranking, and a pick of a dimmed
result does what it did before.