Use same technique to expand tab stops?
How about expanding tab stops?
For some reason I've had postings expand correctly.
Does the number of positions make a difference?
Appears I was accidently starting with (/code), sorry.
Announcement
Collapse
No announcement yet.
How to preserve blank lines in posted code
Collapse
X
-
He meant going to, pasting from works. To keep the blank lines in your code when making a message, make sure thare is something on the line as just the CrLf are ignored. Usually I put at least 1 space on all blank lines then they will show up.
Leave a comment:
-
Try quoting the message, and then cutting from the quoted code part.
Bye!
Leave a comment:
-
How to preserve blank lines in posted code
When transferring code to the PB forum editor with copy and paste, the code tags prevent the editor to remove the indentation, but they do not prevent the removal of blank lines.
As blank lines often serve to separate blocks of code, this removal is usually not desirable and reduces the clarity of the code.
Although it is possible to manually reinsert the blank lines, this is not a practical solution for larger sections of code.
Does anyone have special tips or tricks to prevent the removal of blank lines when pasting code into the editor ?
Arie VerheulTags: None
Leave a comment: