I've just noticed that if you don't format your code with (CODE) and (/CODE),
then you are able to paste the copied code into the PureBasic editor correctly,
that is, with line breaks where they're supposed to be. The only downside is
that you lose indentation formatting, but at least you're not trying to fix the
line breaks manually, which is a real hassle with long code snippets!
For example, try copying and pasting both these examples into PureBasic, and
note which does it correctly...
; This is a non-formatted example.
; It posts with correct line-breaks,
; but unfortunately loses indents.
Repeat
a=a+1
ForEver
Code: Select all
; This is a formatted example.
; It posts with incorrect line breaks,
; but with correct indents.
Repeat
a=a+1
ForEver
it pointless for copying-and-pasting into the PureBasic editor. Comments?
PB - Registered PureBasic Coder
Edited by - PB on 29 July 2002 13:37:36
