Yes, a different name might be better. But to me, your proposals sound very verb-like but not adjective-like ...
Obviously, it might be better to create this hook directly in the TextEditor. Then we could remove the formatting even before displaying the formatted version only one microsecond to the user ...
Best,
Christoph
This changeset proposes an additional property for PluggableTextMorph/PluggableTextSpec, named #forceString. If it is activated, any formattings will be erased from the text morph instantly.
This can be useful for widgets that are not actually designed to accept texts and thus display a heap of unwanted formattings. An example is the SearchBar, which at least in my image too often looks totally misstyled after several copy'n'paste operations:
(Or should maybe use a text styler there, instead?)
Another, probably better example is FillInTheBlankMorph. As it only returns a string, there is no need to display styled texts.
How would you think about it? Please let me know. :-)
Best,
Christoph