The Artima Developer Community
Sponsored Link

Actors in Scala Forum
can't copy-and-paste from listings

6 replies on 1 page. Most recent reply: Nov 8, 2011 7:39 PM by Andrei Pozolotin

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 6 replies on 1 page
Rob Dickens

Posts: 15
Nickname: robcd
Registered: Feb, 2008

can't copy-and-paste from listings Posted: Oct 16, 2010 6:41 AM
Reply to this message Reply
Advertisement
This is in contrast to Programming in Scala.

Small things can make a big difference!


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: can't copy-and-paste from listings Posted: Oct 16, 2010 5:06 PM
Reply to this message Reply
Hi Rob,

Thanks for pointing that out. Looks like one of the authors commented out one line that broke that, and accidentally it got checked in. We'll fix that for the next PrePrint release.

Bill

Andrei Pozolotin

Posts: 5
Nickname: 79353
Registered: Nov, 2011

Re: can't copy-and-paste from listings Posted: Nov 5, 2011 8:55 AM
Reply to this message Reply
Bill:

still can not copy paste?

:-)

Andrei.

Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: can't copy-and-paste from listings Posted: Nov 6, 2011 2:47 AM
Reply to this message Reply
Hi Andrei,

Sorry about that. We'll fix that and release a new build by Tuesday.

Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: can't copy-and-paste from listings Posted: Nov 8, 2011 6:28 PM
Reply to this message Reply
Hi Andrei,

What are you using to copy and paste with? I am unable to reproduce the problem tonight?

Bill

Andrei Pozolotin

Posts: 5
Nickname: 79353
Registered: Nov, 2011

Re: can't copy-and-paste from listings Posted: Nov 8, 2011 7:34 PM
Reply to this message Reply
Bill:

1) I am using

Okular
Version 0.13.3
Using KDE Development Platform 4.7.3 (4.7.3)

on linux

2) here is copy/paste attempt from page 29

if @™urrentƒpeed 3a desiredƒpeedA
™h—ngeƒpeed@desiredƒpeed E ™urrentƒpeedA
else
m—int—inƒpeed@A

3) this is likely due to non-unicode char sets
or using default windows char sets w/o specifying them
or not embedding pdf fonts
or ... :-)

4) never had this problem with manning pre-print pdf! :-)

Andrei

Andrei Pozolotin

Posts: 5
Nickname: 79353
Registered: Nov, 2011

Re: can't copy-and-paste from listings Posted: Nov 8, 2011 7:39 PM
Reply to this message Reply
now tried

adobe 9 for linux:

if (currentSpeed != desiredSpeed)
changeSpeed(desiredSpeed - currentSpeed)
else
maintainSpeed()

and it works! :-)

Flat View: This topic has 6 replies on 1 page
Topic: Functional Programming in Scala Previous Topic   Next Topic Topic: source code download?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use