On 05-04-16 23:22, Carlos Lombardi wrote:
We had another problem to obtain a mix-style PluggableTextMorph. When the Text is accepted, the model is given actually a style-less Text, this is explicitly established in PluggableTextMorph>>acceptTextInModel. I guess that such is convenient when the Text being edited is code, so that the styles are automatically set by the editor, and must not be present in the code of a method. But in our case, it is the user that establishes the styles, so that they must be preserved.
That is a problem that occurs more in the Text subsystem. E.g. TextMorph>editorClass returns a SmalltalkEditor, which is also just wrong. Stephan
