Read-only source files (was: Re: [squeak-dev] Why is source code always in files only?)

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Jan 21 00:25:03 UTC 2015


2015-01-21 1:12 GMT+01:00 tim Rowledge <tim at rowledge.org>:

>
> On 20-01-2015, at 3:01 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> >
> > I couldn't find out what the exact case was, but some tools (e.g. Slint)
> use background processes to examine a set of classes and their methods.
>
>
> Doesn’t Shout read the sources when colouring them?
>
>
Bingo!
 styler styleInBackgroundProcess: textMorph contents

Since the position of a ReadWriteStream is for both reading and writing,
the read and write are going to fight each other...
In which case a read-append-stream would be superior, it would not write to
the read-position, but allways append...

ReadWriteStream really is a complex beast.


> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> "Bother!" said Pooh, searching for the $10m winning lottery ticket.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150121/f0db09ce/attachment.htm


More information about the Squeak-dev mailing list