PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Gian Kolbjornsen on August 13, 2004, 07:29:17 PM

Title: Pasting stuff
Post by: Gian Kolbjornsen on August 13, 2004, 07:29:17 PM
Hi there,

I sometimes copy and paste code from the internet to my editor. I quickly discovered that with most editors like notepad, textpad and PB's that the text would sometimes end up on one long line.

Then came Jellyfish to my resque. After I got JF that was not a problem anymore.

Well I am having the one line problem with FF and would like it if this could be corrected sometime in the future. It is not high up on the list.

Gian
Title: Pasting stuff
Post by: Anonymous on August 14, 2004, 01:29:16 AM
I'm not sure I like the idea of the editor wrapping lines for me. I occasionally copy source code from the Internet as well, but I don't mind having to spend a couple of minutes resolving any glaring formatting problems - I see it as one of the steps necessary for doing software development.

Source code formatting is one of those areas where you could put 10 programmers in a room to discuss and come out with a dozen different preferred methods :)

Andrew
Title: Pasting stuff
Post by: Gian Kolbjornsen on August 14, 2004, 04:05:31 AM
Andrew,

I do agree with you. An editor that changes things on the way may not be a good solution.

However that is what happens today.

I would like it to paste it the way that it is dispalyed on the web page. So when the web has wrapped lines I would like the editor to honour it.

Regards,

Gian
Title: Pasting stuff
Post by: Anonymous on August 14, 2004, 09:50:44 AM
It may be the case that the browser is auto-wrapping the text lines shown on your monitor. If the line feeds were hardcoded on the web page then they should transfer okay to FireFly etc.

HTML web pages can be quite flexible in presenting text, and implement text wrapping to fit the viewable area.

This may not be what's happening, but I never trust text formatting copied from web pages :)

Andrew
Title: Pasting stuff
Post by: Roger Garstang on August 15, 2004, 01:09:01 AM
It is a known problem, especially with PB's site.  Copy and paste to an RTF app like Word and then copy/paste from there and see if it still wraps wrong.

Perhaps a fix for FF would be modifying the paste to format correctly as is probably the case with JellyFish.