gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Bloc class>>concatenate:and: attribute handling

Open akgrant43 opened this issue 5 years ago • 3 comments

#concatenate:and: doesn't handle attributes correctly when one of the strings is empty. E.g. inspecting:

('hello' asRopedText, ('' asRopedText fontSize: 60))

should result in text added to the end of the string being font size 60.

akgrant43 avatar Aug 10 '20 08:08 akgrant43

It is still an issue

BrEditor new
	aptitude: BrGlamorousEditorAptitude;
	text: ('hello' asRopedText, ('' asRopedText fontSize: 60))
Screen Shot 2021-09-24 at 16 59 42

syrel avatar Sep 24 '21 14:09 syrel

Do we want to address this @syrel ?

girba avatar Mar 16 '25 21:03 girba

I can’t reproduce this issue anymore.

hellerve avatar Mar 25 '25 08:03 hellerve

We do not want to add attributes on empty text.

girba avatar Sep 15 '25 18:09 girba