We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,645 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Missing blank lines in copied code

When I copy vb code from a post to try locally, pasting the code always results in the removal of blank lines. It doesn't matter if I paste into Visual Studio or TextPad. Blank lines are never maintained. If I paste into VB, indentation is recreated based on the code structure, however, pasting into TextPad results in all code being left aligned and indented by four spaces no matter what the code structure or the indentation on the originally posted code.

2
Contributors
2
Replies
6 Hours
Discussion Span
10 Months Ago
Last Updated
3
Views
Question
Answered
Reverend Jim
Carpe per diem
Moderator
3,590 posts since Aug 2010
Reputation Points: 561
Solved Threads: 445
Skill Endorsements: 32

It worked ok for me, using this thread as test, then pasted it into Visual Studio and Notapad. How did you copy it to the clipboard? I just double clicked the code, then after seeing it turn blue I right clicked and selected copy from the popup menu.

Ancient Dragon
Achieved Level 70
Team Colleague
32,109 posts since Aug 2005
Reputation Points: 5,836
Solved Threads: 2,575
Skill Endorsements: 68

I click and drag. I see that double clicking does it correctly. I'll do that from now on. Thanks.

Reverend Jim
Carpe per diem
Moderator
3,590 posts since Aug 2010
Reputation Points: 561
Solved Threads: 445
Skill Endorsements: 32
Question Answered as of 10 Months Ago by Ancient Dragon

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0602 seconds using 2.65MB