emphasis method
How much of itself a row's mark shows: all of it, or the selection's dim while another is selected.
Implementation
double emphasis(int pane, int mark, int index) {
final sel = selection;
if (sel == null) return 1;
final on = sel.index == index && (sel.mark == null || (sel.pane == pane && sel.mark == mark));
return on ? 1 : spec.selection.dim.clamp(0.0, 1.0);
}