IE 11, Windows 7, Copy/Paste

General software, Operating Systems, and Programming discussion.
Everything from software questions, OSes, simple HTML to scripting languages, Perl, PHP, Python, MySQL, VB, C++ etc.
Post Reply
Qui-Gon John
Advanced Member
Posts: 695
Joined: Sat Nov 04, 2000 12:00 am
Location: Spring Hill, FL

IE 11, Windows 7, Copy/Paste

Post by Qui-Gon John »

A little less than a year ago I had to replace my main "workhorse" computer. Which was basic, XP, but I did all my typing letters, posting, emails, etc. at it. I got a nice refurb Lenovo with Win 7 HP x64. Been real happy with that. But I have one glitch that I have not been able to find an answer for. Often, when I copy and then paste into a form in IE (11), I get random extra spaces at the front of the line. For example, the ad I put on Craigslist is just 3 lines of text, with a blank line in between each of the 3. The first line pastes fine. But the 2nd & 3rd line each have an extra space at the front of the lines. When originally typed, each line of text had a hard return at the end of the line. This anomaly pops up in other places, but always when I paste text into a form.

If anyone knows the cause and a fix, it would be greatly appreciated.
User avatar
Philip
SG VIP
Posts: 11761
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

What is the source of the text ? Notepad usually clears up all extra formatting that could be the culprit, try pasting in Notepad, then copy from there into the form and see if it works.

If not, note that there is a difference between the way DOS/Windows and Linux/Unix terminate lines. Windows uses carriage return and line feed "\r\n", while Linux uses just line feed "\n". This may cause some differences, i.e. extra line or space depending on the processing at the destination. This is a less likely scenario though, it's probably just some extra formatting of your source text left from your text editor.
Qui-Gon John
Advanced Member
Posts: 695
Joined: Sat Nov 04, 2000 12:00 am
Location: Spring Hill, FL

Post by Qui-Gon John »

Most of the time I am copying from a web page. For my CL example, I open my ad in another tab, highlight and copy the 3 lines of text, then paste into the CL Form to submit a new ad. That sort of thing.
User avatar
Philip
SG VIP
Posts: 11761
Joined: Sat May 08, 1999 5:00 am
Location: Jacksonville, Florida

Post by Philip »

Could be leftover HTML formatting, try pasting in Notepad, then copy and paste into the CL form and see if that fixes it ? If it does, most likely the CL form doesn't parse some html correctly, or your browser copy command is picking up extra stuff that a different browser may fix.
Post Reply