[squeak-dev] Bug in trunk? 'select all' in Workspace, line counting issue?

Tim Johnson digit at sonic.net
Tue Apr 12 05:16:17 UTC 2022


Another one... this one more serious.  

I "selected all" to copy-and-paste three methods from one browser into one method in another.

After editing it all the way I wanted by removing and editing various lines, I went to save, and I saw this:




That ! character obviously should not be there.  There seems to be some off-by-one error when editing, or something.  This is pretty serious IMHO, and it would be nice to track down which change brought this here and revert it.

Thanks,
Tim



> On Apr 11, 2022, at 5:56 PM, Tim Johnson <digit at sonic.net> wrote:
> 
> Pardon my typo... I meant "unable to remove the [declaration]"
> 
>> On Apr 11, 2022, at 5:53 PM, Tim Johnson <digit at sonic.net> wrote:
>> 
>> Might be related... the "remove unused variable declarations" when saving a method seems unable to remove the method.
>> 
>> example:
>> 
>> myMethodDeclaration
>> | used unused |
>> used := self printString.
>> 
>> 
>> 
>> ^^ saving that method would prompt to remove 'unused' but then would fail to be able to.
>> 
>> 
>>> On Apr 11, 2022, at 4:47 PM, Tim Johnson <digit at sonic.net> wrote:
>>> 
>>> Hi all,
>>> 
>>> Just noticed something wrong in Workspace in Squeak6.0alpha-21580-64bit (2022-04-09)...
>>> 
>>> Enter four lines in Workspace, with a trailing carriage return.  Do a select all.  All lines are selected.
>>> 
>>> <Screen Shot 2022-04-11 at 4.45.14 PM.png>
>>> 
>>> then press some key to make it unselected  (say, cursor down arrow key)
>>> 
>>> then go back and delete the second line (I use arrow keys and then Shift-down and then backspace)  
>>> 
>>> then do a Select-all again ... if your situation is like mine, the last line will not be part of the range selected...
>>> 
>>> <Screen Shot 2022-04-11 at 4.46.30 PM.png>
>>> 
>>> I tested this on two images: one which I customized the preferences to my liking, as well as a fresh one where I just clicked "Skip" for the configuration wizard...
>>> 
>>> Can someone verify?
>>> 
>>> Are we filing bugs on GitHub now?  I might still have my Mantis login if needed... :) 
>>> 
>>> Tim
>>> 
>>> 
>> 
>> 
>> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220411/5c0491af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-04-11 at 10.07.40 PM.png
Type: image/png
Size: 49221 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220411/5c0491af/attachment.png>


More information about the Squeak-dev mailing list