Why is basic text document formatting so messed up?

Craig234

Lifer
May 1, 2006
38,548
350
126
I go on a forum and write a post.

I cut and want to paste and save a copy.

I used 'notepad', and dozens of lines show up as just a few, and I have to go in and manually hit lots of carriage returns to format it.

Then I try Wordpad, and every paragraph has several blank lines from the other paragraphs that have to be removed.

Why don't the basic built-in document programs simply save the files with the same formatting, why are there these inconsistencies from one to the next?
 

ElFenix

Elite Member
Super Moderator
Mar 20, 2000
102,389
8,547
126
it's because of the carriage returns. the message board isn't putting any in. when you copy it, it copies as plain text, and does not pick up any sort of wrap or carriage return or any other indication of a next line (and if you looked at the html source, there wouldn't be any - the browser is responsible for formatting to fit into the window). notepad also doesn't do any formatting. your source would happily continue one paragraph on one line forever.

then you formatted plain text it by putting carriage returns. so when wordpad opens it wraps text to the next line (due to page width), then it comes to a carriage return that you inserted, and does the carriage return as well. so you get blank lines.
 
  • Like
Reactions: harobikes333

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
Sadly the BBcode used for formatting varies by forum software and is not standard HTML. So even if Notepad had a "copy as HTML" option that would not work either.
 

Craig234

Lifer
May 1, 2006
38,548
350
126
it's because of the carriage returns. the message board isn't putting any in. when you copy it, it copies as plain text, and does not pick up any sort of wrap or carriage return or any other indication of a next line (and if you looked at the html source, there wouldn't be any - the browser is responsible for formatting to fit into the window). notepad also doesn't do any formatting. your source would happily continue one paragraph on one line forever.

then you formatted plain text it by putting carriage returns. so when wordpad opens it wraps text to the next line (due to page width), then it comes to a carriage return that you inserted, and does the carriage return as well. so you get blank lines.

That's not quite right - both the cases of notepad and wordpad are based on pasting the same original post, the wordpad paste wasn't from any text modified to add carriage returns.
 

Craig234

Lifer
May 1, 2006
38,548
350
126
Sadly the BBcode used for formatting varies by forum software and is not standard HTML. So even if Notepad had a "copy as HTML" option that would not work either.

It seems crazy that this very basic functionality isn't more standardized.

It's one thing for there to be flexibility on the carriage returns, and another not to have defaults that are standard.
 

Matt Stone

Junior Member
Apr 4, 2018
4
1
16
I am using Sublime Text 3 and I am ok with it. You should try it once. I believe, you will give up every other text editor after using it. And for your answer, you can remove those empty lines with one click. Thanks.
 
  • Like
Reactions: Craig234

Matt Stone

Junior Member
Apr 4, 2018
4
1
16
OK, I'll take a look - you mean one click in that program, or in notepad?
It has got so many formattings to ease up the work. See the SS. You will love it.

Sublime-Text-3-SS.png
 

Alpha One Seven

Golden Member
Sep 11, 2017
1,098
124
66
You just don't understand how text formatting works. It's a case of user error or PEBCAK.


This isn't the social forums. Insults not allowed. Don't want to help?
No problem. Just don't post and move on.


esquared
Anandtech Forum Director
 
Last edited by a moderator:

Craig234

Lifer
May 1, 2006
38,548
350
126
Ah, Matt - unfortunately, the program costs $80 (it 'doesn't enforce' its limit of a trial, but I don't want to violate the agreement).

You'd think such a basic issue had freeware.
 
Feb 25, 2011
16,984
1,616
126
Notepad doesn't automatically do word wrap, which is good because word wrap can break code.

Use Wordpad.