Thanks a lot.
2016-05-11 20:48 GMT+03:00 Stephan Eggermont :
> On 11-05-16 14:32, Khrystyna Mykhailiuk wrote:
>
>> I would like to implement some shortcuts at the window of an object of
>> ComposableModel class.
>> Can anybody help me to understand which methods I should override?
>>
> Just take
On 11-05-16 14:32, Khrystyna Mykhailiuk wrote:
I would like to implement some shortcuts at the window of an object of
ComposableModel class.
Can anybody help me to understand which methods I should override?
Just take a look at #bindKeyCombination:toAction: and its senders
Stephan
There's also PositionableStream >> #nextLine
which lets you write code like
[readStream atEnd] whileFalse:
[(self regexMatch: readStream nextLine)
ifNotNil: [:matchingLine | "Record match somewhere here"]]
Cheers,
Henry
--
View this message in context:
http://forum.world.st/Ordered
> On 11 May 2016, at 16:22, Valentin Ryckewaert
> wrote:
>
> Thanks you again Sven, it will work with that, but there is nothing on
> Streams?
If performance is not too important, just read the whole contents of the file.
BTW, this is actually example 19 of 'Elegant Pharo Code':
https://me
Thanks you again Sven, it will work with that, but there is nothing on
Streams?
2016-05-11 16:19 GMT+02:00 Sven Van Caekenberghe :
> Did you see #lines and #linesDo: ?
>
> > On 11 May 2016, at 16:15, Valentin Ryckewaert <
> valentin.ryckewa...@gmail.com> wrote:
> >
> > Hi,
> >
> > I would like t
Did you see #lines and #linesDo: ?
> On 11 May 2016, at 16:15, Valentin Ryckewaert
> wrote:
>
> Hi,
>
> I would like to reproduce the grep command in Pharo.
> To do it I wanted to get the content of a stream and transform it to an
> OrderedCollection (to use matchesRegex: on it).
>
> First o
Hi,
I would like to reproduce the grep command in Pharo.
To do it I wanted to get the content of a stream and transform it to an
OrderedCollection (to use matchesRegex: on it).
First of all, is there an easier way to do it?
In a second time, is there a method to get the content of a Stream as an
Check out FileReference class>>#newTempFilePrefix:suffix:
> On 11 May 2016, at 15:01, Valentin Ryckewaert
> wrote:
>
> Hello everyone,
>
> I would like to use a temporary file for a project and I didn't find an
> existing method.
> I'm asking my self if it's a better idea to use ffi or OSSubP
On 11/05/2016 15:01, Valentin Ryckewaert wrote:
> Hello everyone,
>
> I would like to use a temporary file for a project and I didn't find an
> existing method.
> I'm asking my self if it's a better idea to use ffi or OSSubProcess (or
> something already build for it) to build a method able to c
On Tue, May 10, 2016 at 6:31 PM, Vince Refiti wrote:
> Hello
>
> I am playing around with Semaphore, and wrote the following:
[snip]
> Can someone please explain this pattern?
I rearranged again to make the output self explanatory...
| coll count sem |
Transcript clear; show: 'count' ; tab
Hello!
I would like to implement some shortcuts at the window of an object of
ComposableModel class.
Can anybody help me to understand which methods I should override?
--
View this message in context:
http://forum.world.st/Keystroke-in-ComposableModel-tp4894301.html
Sent from the Pharo Smallt
Hello everyone,
I would like to use a temporary file for a project and I didn't find an
existing method.
I'm asking my self if it's a better idea to use ffi or OSSubProcess (or
something already build for it) to build a method able to create this tmp
file.
Someone could help me please?
PS : Shoul
SPLASH-I: Innovation, Interaction, Insight, Industry, Invited
The ACM SIGPLAN conference on Systems, Programming, Languages and
Applications: Software for Humanity (SPLASH) embraces all aspects of
software construction and delivery to make it the premier conference at the
intersection of programmi
13 matches
Mail list logo