Hi Ranchers, Here is my beginner's question - how do I copy and paste code segments into my textpad editor so as to retain the formatting? I see from viewing the source code that each line finishes with a " < b r />" markup (spaces inserted to stop it from affecting this post). These "br"'s do not translate to linefeeds in my copy and paste. There must be a simple answer to this?
The nice thing about Standards is that there are so many to choose from!
Joined: Jun 09, 2003
Copy it into Word, then copy it from Word.
Joined: Mar 18, 2003
Thanks Michael, fantastic - btw I also tried wordpad, but that ignored the tabs.
Joined: Dec 10, 2001
Alternatively, for copying code examples from these forums, you can click the "reply with quote" link, then copy the code from the text area that appears (and then actually reply or don't reply as you see fit).
Thanks guys, That's given me a few more ways to try out. Unfortunately the " < b r />" markup tag that I see when I view source on the browser does not seem to carry across on cut and paste, neither to textpad nor to dos edit. At least when I save files from there they don't show up on debug. But now I am happily cutting and pasting through word and getting beautiful looking code. Now if only I could find where word stores the default spacing for tab ............ Ed