[vwnc] Fwd: [Bug] AllEncodings

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

[vwnc] Fwd: [Bug] AllEncodings

James Robertson-7
>

Forwarded for Mike, who's having problems posting to the list:



> Brief description: pasting unicode characters does not work
> Version: 7.6nc
> Severity: Low
> Fix: included
>
>
> I loaded the parcel AllEncodings into a "virgin" VWNC 7.6. The  
> release notes for VW 7.6 say
>
> "First, open the workspace; you'll see a lot of black rectangles.  
> Then load preview/unicode/AllEncodings.pcl and instantly the  
> workspace will update to display all the unicode characters that you  
> have loaded. You can copy and paste text, for example from MS Word  
> to VW, without problems."
>
> The first part (display updating) works; the second part (copy/
> paste) however didn't completely work for me: Using the debugger, I  
> verified that copying to the clipboard worked, but pasting (to a  
> different workspace sheet or MS Word) didn't work. Debugging  
> revealed that
>
>
> Screen>>getExternalSelectionIfEmpty: aBlock
> "Get the host selection as a String from the window system, or  
> perform aBlock if none is available"
>
> ^(self getExternalSelection: nil) ifNil: aBlock
>    ifNotNil: [:sel | IOAccessor convertStringFromPlatform: sel]
>
>
> is the culprit. Changing the body to
>
>
> ^(self getExternalSelection) ifNil: aBlock
>    ifNotNil: [:sel | IOAccessor convertStringFromPlatform: sel]
>
> worked for me. In other words, one has to make sure that  
> Screen>>getExternalSelection gets called (that's where the unicode  
> stuff is) instead of Screen>>getExternalSelection: nil.
>
> Maybe someone else can verify this so Cincom can fix it; maybe it's  
> just wrong on my computer...
>
> Mike
>
>
> <<>><<>><<>><<>><<>><<>><<>><<>><<>>
> Mike Bielser
> Researcher
> Institute for Operations Research
> University of Zurich
> Moussonstr. 15
> CH-8044 Zurich
>
> Phone: +41 (0)44 634 3775
> Fax:   +41 (0)44 634 4920
> Email: [hidden email]
> URL:   www.ior.uzh.ch
> <<>><<>><<>><<>><<>><<>><<>><<>><<>>
>
>
>
>
>
>
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc