swatch.addUsedColors ends a typing session in progress before it reads
the colors, so typing is its own undo step and its colors are counted,
also when the run finds no new color. With Global Edit on, linking the
selected art to its new swatches no longer gives that paint to the other
members, so a member with another color keeps it.
The menu test also checks that Add Selected Colors is disabled with
nothing selected.