Hard line ends even without word wrap hard to explain

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
davephx
Posts: 12
Joined: Sun Jul 26, 2009 4:14 am

Hard line ends even without word wrap hard to explain

Post by davephx »

This has been driving me crazy for years.

Sometimes not on all documents done as .txt files in Textpad. when you paste into a discussion forum box like here.... I get very ragged text with words indented not at end of box but all over.... if this makes sense.

In config preferences I have Word wrapped text - save with no breaks in lines.

I have tried to config .txt with and without wordwarp and no line breaks but nothing I do in 1 document makes the text not ragged when it is copied from Textpad into a forum box like here.

But on another .txt doc I have it pastes fine and even line ends.

For the bad .text doc even if take off word wrap it still has hard line breaks at some column point (can't tell what column). I only see it if no wrap and I move the bottom slinder so can see beyond where the lines end. In other words seems to wrap or break line beyond what see in window when typed it... Even with word wrap OFF.

I try pasting into Word and Word show paragraph breaks at the bad points for example may be just a couple words and than another paragraph break symbol.

Using latest Textpad 5.3.1

If I type a new paragraph however it does not line end but continues with no wrap which I assume would paste properly.

If highlight all and reformat with wrap off the new paragraph I just typed which did not wrap, now does at some column point same as previously with rest of text.

This is probably very simple but I can not find in Config or anywhere how I am setting a fixed line length that seems to override taking off word wrap. Looking at the coding there is no coding indicated for the odd line breaks when pasted only into a forum window. Only coding seen is the paragraph breaks.

This explanation may be very confusing unless the description triggers an obvious setting I have wrong.

Also I can't seem to recreate it now, but sometimes when I paste into a fourm window, there are no paragraph breaks all is run together even though when see in textpad has paragraph breaks.
davephx
Posts: 12
Joined: Sun Jul 26, 2009 4:14 am

Post by davephx »

OOPs looking more closely at the coding in textpad it IS inserting line breaks in the text at the wrong points. I have no idea why all these line breaks with out word wrap and line breaks turned off in config/preferences/ word wrapping option
davephx
Posts: 12
Joined: Sun Jul 26, 2009 4:14 am

Post by davephx »

Am manually removing the line ends (one paragraph symbol) and they range from column or space number 86-94 but varies.

Don't know why they are there to start with.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Re manually replacing the line ends, will this work?

Replace every \n\n with a ~
Delete every \n
Replace every ~ with \n\n.
Hope this was helpful.............good luck,
Bob
Post Reply