TIP: How to copy source from forum to PB editor

Share your advanced PureBasic knowledge/code with the community.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by cor.

Reply the message where the source is located.
Goto to the message box field.
copy the complete source with CRTL-A CTRL-C

and then paste it into PB editor with CTRL-V

You now see the source is formatted ok.

Registered user of PB

C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.
Reply the message where the source is located.
Goto to the message box field.
copy the complete source with CRTL-A CTRL-C

and then paste it into PB editor with CTRL-V

You now see the source is formatted ok.

Registered user of PB

C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
Cor, quite a few of us have been through this and proven it doesn't always work (quite funny actually). I paste into Microsoft Word and then to the editor from there and it works perfectly for me then.

Regards

Fangles
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

And it has nothing to do with
"Tips ´n Tricks" for PureBasic
Programming.

cya,
...Danilo

(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Of course, but beginners will be annoyed with this stuff, as me...

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.


[== How to copy source from forum to PB editor: ==]
---------------------------------------------------
Hi Cor!
Normaly you are right when pressing Ctrl-A (only if we want copy the complete site) and using Ctrl-C to copy our marked forum text into buffer! Now we should paste it using Ctrl-V correct formated into our PB Editor... In most cases it works, yes!

But please try to copy/paste a formated sourecode (i.e. /BugReports/PB 2.80 for Windows - 2D Drawing Bug) snip from the frorum into your PB Editor... The pasted source will be wrong formated, isnt it? So i prefer to use WordPad (M$Word works too but WordPad is smaller and faster to load)... Just paste your source to one of this editors and mark/copy it again... Now you can paste it without any problems and correct formated into you PB Editor....

Hi Danilo!
Sorry man, but this "Tips ´n Tricks" have alreasy to do with PureBasic too (copy n paste PB sources :wink:


PIII450, 256MB Ram, 6GB HD, RivaTNT, DirectX8.1, SB AWE64, Win98SE + Updates...

greetz
MrVainSCL! aka Thorsten
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by cor.

You haven't read my solution well.

I said reply to the topic(where you edit the text) and CTRL-A - CTRL-C in the messagebox, and it works fine for every text, without MS word.

This is my last reply about this, so topic closed.

Registered user of PB

C. de Visser
Author of Super Guitar Chord Finder
http://www.ready4music.com
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

Take a look:

Trick 'n' Tips
ScrollBar and Tracbar API example (from 19/12/2001)

you will find my comment about this...


Have a nice day...
Franco
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.
But please try to copy/paste a formated sourecode (i.e. /BugReports/PB 2.80 for Windows - 2D Drawing Bug) snip from the frorum into your PB Editor... The pasted source will be wrong formated, isnt it? So i prefer to use WordPad (M$Word works too but WordPad is smaller and faster to load)... Just paste your source to one of this editors and mark/copy it again... Now you can paste it without any problems and correct formated into you PB Editor....
Mr Vain, you are right. I should have thought of Wordpad and saved some space but as I always use Word, I just forgot. Using's cor's method from the messagebox was hit and miss for me. Either it did work, or it didn't. Must have something to do with the way EOL chars are fed by the forum and depends on if the code was originally put in as text or after a 'code' command.

regards

Fangles
Post Reply