<p>Specifies the keycode associated with the token. The string description
of the key binding is added to the text content of the token.</p>
@ -2848,7 +2856,9 @@ this may be extended with mouse click support.</p>
</tr>
<trclass="field"><thclass="field-name">icon_pen:</th><tdclass="field-body">Default pen for icons.</td>
</tr>
<trclass="field"><thclass="field-name">on_select:</th><tdclass="field-body">Selection change callback; called as <ttclass="docutils literal">on_select(index,choice)</tt>.</td>
<trclass="field"><thclass="field-name">on_select:</th><tdclass="field-body">Selection change callback; called as <ttclass="docutils literal">on_select(index,choice)</tt>.
This is also called with <em>nil</em> arguments if <ttclass="docutils literal">setChoices</tt> is called
with an empty list.</td>
</tr>
<trclass="field"><thclass="field-name">on_submit:</th><tdclass="field-body">Enter key callback; if specified, the list reacts to the key
and calls it as <ttclass="docutils literal">on_submit(index,choice)</tt>.</td>
@ -2928,6 +2938,8 @@ supports:</p>
<tbodyvalign="top">
<trclass="field"><thclass="field-name">edit_pen:</th><tdclass="field-body">If specified, used instead of <ttclass="docutils literal">cursor_pen</tt> for the edit field.</td>
</tr>
<trclass="field"><thclass="field-name">edit_below:</th><tdclass="field-body">If true, the edit field is placed below the list instead of above.</td>
@ -3034,11 +3034,11 @@ current job, and their current status.</p>
current count is below the lower bound of the range, the job is resumed; if it
is above or equal to the top bound, it will be suspended. Within the range, the
specific constraint has no effect on the job; others may still affect it.</p>
<p>Pressing 'c' switches the current constraint between counting stacks or items.
Pressing 'm' lets you input the range directly; 'e', 'r', 'd', 'f' adjust the
bounds by 1, 5, or 25 depending on the direction and the 'c' setting (counting
items and expanding the range each gives a 5x bonus).</p>
<p>Pressing 'n' produces a list of possible outputs of this job as guessed by
<p>Pressing 'I' switches the current constraint between counting stacks or items.
Pressing 'R' lets you input the range directly; 'e', 'r', 'd', 'f' adjust the
bounds by 5, 10, or 20 depending on the direction and the 'I' setting (counting
items and expanding the range each gives a 2x bonus).</p>
<p>Pressing 'A' produces a list of possible outputs of this job as guessed by
workflow, and lets you create a new constraint by choosing one as template. If you
don't see the choice you want in the list, it likely means you have to adjust
the job material first using <ttclass="docutils literal">job <spanclass="pre">item-material</span></tt> or <ttclass="docutils literal"><spanclass="pre">gui/workshop-job</span></tt>,
@ -3050,6 +3050,23 @@ added to the list. If you use Shift-Enter, the interface proceeds to the
next dialog, which allows you to edit the suggested constraint parameters to