A step's save errors split by the row of a list they are about, for an
editor that shows each at its row (Plugin.RowError reads the row:
To row 2 (…): …, input 3: …, Set value 1: …, after at most one
<Plugin name>:). TargetList splits its To rows with it, the Set
editor its values and the Call editor its inputs.
Summary
Functions
text with its first letter in upper case.
errors split by the label row they are about: a map of row (from 0,
below count) to the first reason about it, without its <label> N (…):, passed through reword (an editor that draws its rows by names
of its own says them so) and then capitalised (a later reason about the
same row is left out), and the other messages, unchanged and in order.
A message about a row past the last stays among the others, so the
editor can show it above the list rather than lose it.
Functions
text with its first letter in upper case.
@spec split([term()] | nil, String.t(), non_neg_integer(), (String.t() -> String.t())) :: {%{required(non_neg_integer()) => String.t()}, [term()]}
errors split by the label row they are about: a map of row (from 0,
below count) to the first reason about it, without its <label> N (…):, passed through reword (an editor that draws its rows by names
of its own says them so) and then capitalised (a later reason about the
same row is left out), and the other messages, unchanged and in order.
A message about a row past the last stays among the others, so the
editor can show it above the list rather than lose it.