[squeak-dev] [Newbies] Morphic multiple select methods for move to method category

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Sat Apr 25 12:22:27 UTC 2020


Concerning the "What to show" question, we could simply display nothing and accept nothing if multiple methods are selected. Or just display something like "3 methods selected" in the code pane, and maybe a list of links to every single method.

Don't forget that a Browser's code pane already has a few different meanings, such as method source code, class definition, class comment, class hierarchy, method categories, reorganization, ... :-)


I like the proposal for MCOperationsBrowser, too. At the moment, you can only select nothing and then press <cmd>i, that could be considered a workaround :D


Best,

Christoph

<http://www.hpi.de/>
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von karl ramberg <karlramberg at gmail.com>
Gesendet: Samstag, 25. April 2020 13:01:28
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] [Newbies] Morphic multiple select methods for move to method category

A feature request:
Multi line selection in MCSaveVersionDialog would be really nice.
I often want to Ignore a lot of changed methods to save a version.
It would be nice to select a several lines at a time to Ignore.

Best,
Karl


On Fri, Apr 24, 2020 at 8:14 PM Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de<mailto:Christoph.Thiede at student.hpi.uni-potsdam.de>> wrote:

> Well, the lists in Squeak's System Brower does not support multi-selection.


But the question is interesting. Why don't we support this? If multiple methods are selected, we could either display the source of the latest selected one, or simply display nothing in the contents field. For refactoring operations, I would consider multi-selection in browsers a quite useful feature.

We could also use multi-selection to perform batch-like menu operations on them ... "Toggle break on entry for all", "File out all", "Remove all" etc.

Best,
Christoph
________________________________
Von: Beginners <beginners-bounces at lists.squeakfoundation.org<mailto:beginners-bounces at lists.squeakfoundation.org>> im Auftrag von Taeumel, Marcel
Gesendet: Donnerstag, 23. April 2020 14:45:00
An: beginners at lists.squeakfoundation.org<mailto:beginners at lists.squeakfoundation.org>
Betreff: Re: [Newbies] Morphic multiple select methods for move to method category

Hi there.

Well, the lists in Squeak's System Brower does not support multi-selection.

However, you can click on "reorganize" to do that task on the text level:

[cid:171b0f9440acb971f161]
The main text field will show all message categories and their elements for you to change. After that, accecpt the changes with CMD+S:

[cid:171b0f9440ccb971f162]

Best,
Marcel

Am 23.04.2020 14:35:08 schrieb tty <gettimothy at zoho.com<mailto:gettimothy at zoho.com>>:

Hi Folks,

When I have a bunch of methods that I want to categorize in a new method
category, I have not been able to figure out how to move them all at once.
The idiom I am used to is to press ALT , or CTL while clicking, highlight
each one I want to move and them drag and drop from BAR to FOO


Method Cateogry FOO
(empty)

Method Category BAR
method A
method B
method C
method D

thx in advance







--
Sent from: http://forum.world.st/Squeak-Beginners-f107673.html
_______________________________________________
Beginners mailing list
Beginners at lists.squeakfoundation.org<mailto:Beginners at lists.squeakfoundation.org>
http://lists.squeakfoundation.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200425/2d274c69/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 29526 bytes
Desc: image.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200425/2d274c69/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 31373 bytes
Desc: image.png
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200425/2d274c69/attachment-0001.png>


More information about the Squeak-dev mailing list