|
Author |
Topic: copy and paste (Read 682 times) |
|
flight404
|
copy and paste
« on: Jun 12th, 2003, 3:25am » |
|
I poked around and didn't see this mentioned elsewhere. When I copy code from this forum using Safari (in particular...havent tried copying from other sources (Games/asteroids was the one I just retried)) and paste it into P5 v55 on Mac OSX (in particular... havent tried on my PC yet), I get a compile error. unexpected char " " and it highlights the last line in the code. I never see the " " so I can't delete it. I tried deleting the last line and retyping it, but it still gives the error. Anyone else confirm this? Could very well be the Safari browser.
|
|
|
|
_Ryan Guest
|
Re: copy and paste
« Reply #1 on: Jun 12th, 2003, 5:25am » |
|
Yeah I have the same problem in IE and Safari. The text won't even select in IE.
|
|
|
|
fry
|
Re: copy and paste
« Reply #2 on: Sep 29th, 2003, 9:54pm » |
|
just tacked in a fix for this for rev 64, which will be online in about an hour. the problem was that safari sends as a non-breaking space char, which is a special unicode character that looks the same but causes headaches for programs. i added a little code that replaces the nbsp with a regular space whenever you paste code into the environment.
|
|
|
|
|