Skip to main content

Module composer

Module composer 

Source
Expand description

Composing a formula by hand: the symbol buttons beside a typed answer, and where a click puts its symbol.

The pad holds every symbol a typed answer on /learn needs and nothing the grader cannot read (learn_symbol_pad.rs holds both directions). A logical symbol means what the Symbol Dictionary says it means, read from one table in the language crate.

Structs§

SymbolButton
One button of the symbol pad.

Functions§

insert_at
text with insert put in place of the selection from start to end, and where the caret lands after it. Positions count UTF-16 code units, as the browser counts them; a backwards selection is the same selection, and a position past the end is the end.
symbol_buttons
Every button of the pad, in the order it shows them.