Re: [Q] How to handle the script with many tiles

karl ramberg <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.squeakland
Message-ID <CAGzzWLjZ3g2PSNgBw_HgJR-ZnLxhg4Yf9Qm35FLnWVQrMod9qA@mail.gmail.com>
On Mon, Apr 23, 2012 at 9:46 PM, Steve Thomas <sthomas1-gQhbkF4bah9Wk0Htik3J/[email protected]> wrote:

> Young-Jin,
>
> Good question, a scroll bar sounds like a nice enhancement request
> (created one here <http://tracker.squeakland.org/browse/SQ-1084>).
>
> Two ways I can think of to deal with this for now:
>
>    1. You should be able to get the Scripts Halo and then use the "Move"
>    icon to move it up and down, not ideal but it does work.
>    2. Switch code to "show code textually" to get a text representation
>    of the tiles, of course changing things here does not translate back to
>    tiles when you "revert to tile version..." any changes will be lost. If you
>    do make changes be sure to type CMD-S (on Mac) or CTRL-S (on PC or XO).
>
> Stephen
>

I suggest

3 Refactor script into smaller parts

Big scripts are quite hard to handle and a scollbar is sometimes a good
solution. But often is a big script a sign forma refactoring of the code
into smaller and more manageable

Another suggestion:
It would be nice to be able to collapse pats of scipts into single lines
like a directory file browser.


Karl


> On Mon, Apr 23, 2012 at 3:19 PM, Young-Jin Lee <[email protected]
> > wrote:
>
>> Hello,
>>
>> As far as I know, the current version of Etoys (v. 4.1) does not support
>> a scroll bar in the script box which makes it very difficult to add/edit
>> tiles in the script when it already has many tiles. I am wondering how
>> people deal with this problem. Is there a way to work around this issue?
>>
>> Any comments would be greatly appreciated.
>>
>> Thanks in advance.
>>
>> Young-Jin Lee
>> _______________________________________________
>> squeakland mailing list
>> [email protected]
>> http://lists.squeakland.org/mailman/listinfo/squeakland
>>
>
>
> _______________________________________________
> squeakland mailing list
> [email protected]
> http://lists.squeakland.org/mailman/listinfo/squeakland
>
>

_______________________________________________
squeakland mailing list
[email protected]
http://lists.squeakland.org/mailman/listinfo/squeakland
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.