pharo-spec / Spec

Spec is a framework in Pharo for describing user interfaces.
MIT License
62 stars 65 forks source link

#selectAll in SpAbstractTextPresenter is buggy #1593

Closed demarey closed 2 months ago

demarey commented 2 months ago

SpAbstractTextPresenter>>#selectAll sets a selection starting from 0 !!! This problem is hidden when the presenter is open because there is a validation of the selection interval by the morph. But when the presenter is not open, e.g. in tests, the selection is wrong and leads to a SubscripOutOfBounds error.