- edit-string CONTEXT EDIT-FLAG-OR-FLAGS TEXT MAX #!optional FILTER-FLAGprocedure
Creates an text editing widget with TEXT for its initial contents and a maximum length of MAX. EDIT-FLAG-OR-FLAGS must be a symbol or list of symbols specifying the general widget behaviour, with the permitted symbols being (simple field box editor) for predefined behavior and (default read-only auto-select sig-enter allow-tab no-cursor selectable clipboard ctrl-enter-newline no-horizontal-scroll always-insert-mode multiline) for finer-grained control over it. FILTER-FLAG restricts chars that can be entered and must be one of (default ascii float decimal hex oct binary). Returns two values, the new text and a list of edit events, each of which are one of (active inactive activated deactivated committed).