Re: [Pharo-users] Athens and ellipse drawing

2014-06-29 Thread Nicolai Hess
Igor, what do you think. Is it possible or should it be possible to draw a non-uniform scaled path with an unscaled (stroke-)paint? Nicolai 2014-06-25 21:35 GMT+02:00 Juraj Kubelka : > I have understood it is not possible. > > Cheers, > Juraj > > > > -- > View this message in context: > http:/

Re: [Pharo-users] doubleClick

2014-06-29 Thread Pablo R. Digonzelli
Hi , I need to capture en key event over TextModel . I need know if the user pressed F3 or another key. I need orientation about it. I will thank for any help. Thanks Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdigonze...@softsargentina

[Pharo-users] doubleClick

2014-06-29 Thread Pablo R. Digonzelli
I need to implement double click on TextModel. I need some orientation for anyone who makes something like this. TIA Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdigonze...@softsargentina.com pdigonze...@gmail.com Cel: 5493815982714

Re: [Pharo-users] Reading the last n lines from a file without using lots of memory

2014-06-29 Thread Denis Kudriashov
I look now at streams image. I actually not use XStreams but look at it some times ago. So I solve your task with such code: s:= FileLocator changes reading . reversed := [ :out | s -= 1. [s position=0] whileFalse: [ out put: s peek. s -- 1 ] ] reading. lines := (reversed ending: Character cr asIn

Re: [Pharo-users] Reading the last n lines from a file without using lots of memory

2014-06-29 Thread p...@highoctane.be
Le 29 juin 2014 16:42, "Sven Van Caekenberghe" a écrit : > > > On 29 Jun 2014, at 16:18, Denis Kudriashov wrote: > > > It should be trivial with XStream > > I would love to see that code. > > We have Xtreams building happily > > https://ci.inria.fr/pharo-contribution/job/Xtreams/ > > it is wait

Re: [Pharo-users] Reading the last n lines from a file without using lots of memory

2014-06-29 Thread Sven Van Caekenberghe
On 29 Jun 2014, at 16:18, Denis Kudriashov wrote: > It should be trivial with XStream I would love to see that code. We have Xtreams building happily https://ci.inria.fr/pharo-contribution/job/Xtreams/ it is waiting in the trenches, waiting to be used... > 2014-06-27 21:45 GMT+04:00 Sven

Re: [Pharo-users] Reading the last n lines from a file without using lots of memory

2014-06-29 Thread Denis Kudriashov
It should be trivial with XStream 2014-06-27 21:45 GMT+04:00 Sven Van Caekenberghe : > > http://stackoverflow.com/questions/10164597/how-would-you-implement-tail-efficiently > http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/tail.c > > I would work with the growing buffer read backwards.

Re: [Pharo-users] image crash

2014-06-29 Thread stepharo
Phil there is no magic. We cannot clone people and we should pay people also and our backlog is quite large. Stef On 28/6/14 18:10, p...@highoctane.be wrote: Guille once sent me an image that he used to help me solve a dead/frozen image. But it was no 3.0 It is frustrating that Oz is n

Re: [Pharo-users] image crash

2014-06-29 Thread stepharo
On 28/6/14 22:43, Pablo R. Digonzelli wrote: Yes , Phil. I recover my work using the .changes file of corrupted image and I recover my work with "Recover lost changes" tool. Thanks a lot! Good. Save your work on SmalltalkHUb or related.

Re: [Pharo-users] image crash

2014-06-29 Thread stepharo
Normally you can replay your changes. Do not do that from an editor. What you can try is to get a new image + changes and copy your changes files rto erase the new change file and try a "recover lost change" (in the tools menu). Now can you open monticello? On 28/6/14 15:42, Pablo R.