Editing slot values in the inspector
Factor handbook > UI developer tools > UI inspector

Prev:content-gadget ( object -- gadget/f )

Slot values can be edited in the inspector. Clicking the ellipsis to the left of the slot's textual representation displays a slot editor gadget. A text representation of the object can be edited in the slot editor. The parser is used to turn the text representation back into an object. Keep in mind that some structure is lost in the conversion; see Prettyprinter limitations.

The slot editor's text editing commands are standard; see Editor gadgets.

The slot editor has a toolbar containing various commands.

Toolbar commands
C+RETCommitcommitParse the object being edited, and store the result back into the edited slot.
S+C+RETEvalcom-evalParse code which evaluates to an object, and store the result back into the edited slot.
RevertrevertRevert any uncomitted changes.
DeletedeleteDelete the slot and close the slot editor.
ESCClosecloseClose the slot editor without saving changes.