[squeak-dev] Infinite dialog loop in authorinitials

K K Subbu kksubbu.ml at gmail.com
Tue Feb 25 14:05:20 UTC 2020


How about 'anon'?  See attached cs.

Regards .. Subbu

On 25/02/20 3:17 PM, Marcel Taeumel wrote:
> Hi Subbu,
> 
> do you propose a default value for AuthorInitials?
> 
> Best,
> Marcel
>>
>> Am 25.02.2020 10:40:33 schrieb K K Subbu <kksubbu.ml at gmail.com>:
>>
>> 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
>>
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: authinitials.1.cs
Type: text/x-csharp
Size: 505 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200225/af1e5367/attachment.bin>


More information about the Squeak-dev mailing list