[squeak-dev] Infinite dialog loop in authorinitials

K K Subbu kksubbu.ml at gmail.com
Tue Feb 25 09:40:20 UTC 2020


Hi,

I often press ctrl-v instead of alt-v by accident in Squeak and get an 
dialog that doesn't go away. This is because of an infinite loop in:

Utilities>>authorInitials
[AuthorInitials isEmpty] whileTrue: [self setAuthorInitials].
	^ AuthorInitials

called from TextEditor>>pasteInitials:. Should this be changed to:

   AuthorInitials ifEmpty: [ self setAuthorInitials ].
   ^AuthorInitials

Regards .. Subbu


More information about the Squeak-dev mailing list