2016-07-12 11:38 GMT+02:00 Marion Noirbent <
ms.noirb...@etudiant.univ-lille1.fr>:

> Hi,
>
> The message selectAll of TextInputFieldModel don't react like its super
> class TextModel (selectAll is not define in TextInputFieldModel).
>
> Is that a bug or a feature ?
>

A bug.

MorphicTextInputFieldAdapter needs to set the #setSelection: selector on
the PluggableTextFieldMorph.


>
>
> Reproduce:
>
> |example|
> example := TextInputFieldModel new.
> example text: 'dfghjklm'.
> example openWithSpec .
> example selectAll.
> example inspect
>
> selection have value (1 to: 0) (but appear like selected when its window
> is selected).
>
>
> Its super class:
>
> |example|
> example := TextModel new.
> example text: 'dfghjklm'.
> example openWithSpec .
> example selectAll.
> example inspect
>
> selection have value (1 to: 8)
>
>

Reply via email to