Clipboard Problem on Mac build 10424

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Clipboard Problem on Mac build 10424

jgfoster
On #10424 my image became confused with clipboard problems. Somehow,  
MacOSClipboard.clipboard became false when it appears that the correct  
value is zero (0). When attempting to fix this I found that  
ExternalClipboard>>#'initialize' contains the following line, which  
probably causes the problem:

        clipboard := [self createClipboard] on: Error do: [:ex | clipboard = 0]

I suspect that the correct code should be:

        clipboard := [self createClipboard] on: Error do: [:ex | clipboard :=  
0]
or
        clipboard := [self createClipboard] on: Error do: [:ex | 0]



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Clipboard Problem on Mac build 10424

Stéphane Ducasse
James

Thanks what is the magic initialize that we typed in your workspace.

Stef

On Aug 30, 2009, at 12:21 PM, James Foster wrote:

> On #10424 my image became confused with clipboard problems. Somehow,
> MacOSClipboard.clipboard became false when it appears that the correct
> value is zero (0). When attempting to fix this I found that
> ExternalClipboard>>#'initialize' contains the following line, which
> probably causes the problem:
>
> clipboard := [self createClipboard] on: Error do: [:ex | clipboard  
> = 0]
>
> I suspect that the correct code should be:
>
> clipboard := [self createClipboard] on: Error do: [:ex | clipboard :=
> 0]
> or
> clipboard := [self createClipboard] on: Error do: [:ex | 0]
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project