Questions tagged [linebreaks]

53 questions
163
votes
3 answers

How do I remove linebreaks in Notepad++?

Is there a simple way of removing linebreaks in Notepad++? For example: This text has been splitted in lines, and it's longer than 3200 words, so it would be great to find and replace line breaks like these.
Gabriel
  • 3,020
39
votes
7 answers

Notepad ignoring linebreaks

Most documents I'm opening in notepad.exe under windows 7 lately, there are no linebreaks... everything just runs together. The same documents in any other program, even previewed directly in Explorer, will show the linebreaks correctly. this is…
Damon
  • 2,789
  • 6
  • 28
  • 29
32
votes
4 answers

Why do Excel line breaks not transfer into Notepad?

When copying a cell with line breaks in Excel and pasting it into Notepad, the text is pasted onto one line. Why is that?
25
votes
4 answers

Notepad++ split line after given number of characters

Is there a way in notepad++, to split one line text, to text with given maximum number of characters in one line? I found only undefined line split in lines operations.
22
votes
1 answer

In Emacs, how to reformat an edited paragraph so the line breaks are properly reinserted?

In Emacs, I have a paragraph of text, which is already properly wrapped at, say 79th column on each row, then you edit it, adding some text on some of the rows, how to reformat the edited paragraph so the line break characters are automatically…
qazwsx
  • 9,311
6
votes
4 answers

How to remove line breaks (or carriage returns) only from certain parts of a block of text?

Whenever I copy formatted text from a PDF file which is formatted to have line breaks (or carriage returns), I need to find a way to remove these line breaks without removing the paragraph format. To do this I need to use RegEx (Regular expressions)…
6
votes
4 answers

Does dropbox change linebreaks in files?

when i save a file to my Dropbox at home on my PC is seems to have '\n' line breaks, but when i open the file on my Mac at work the line breaks have mutated to '\r\n' windows line breaks. could dropbox be doing this? or do i need to look elsewhere…
Kirt
  • 7,561
5
votes
2 answers

How to stop Word 2007 from inserting a line break at hyphens, without using a nonbreaking hyphen

I have a long URL that contains some hyphens, and would like to include it in a Word document. Unfortunately Word sees the hyphens and creates a rather ugly line-breaking scheme. If I replace the hyphens with nonbreaking hyphens, it looks nice, but…
Jason S
  • 7,944
5
votes
3 answers

How to find double linebreaks in Notepad++?

Take for example the following: This text file has many double linebreaks, What is the expression too find these?
Gabriel
  • 3,020
4
votes
2 answers

Can I cause MS Word to insert symbols for automatic line breaks?

I want to include an XML schema in a technical document created in MS Word. It has lines which are much longer than the available width on the page, so Word automatically breaks the lines. I want to make it explicitly clear to the reader where this…
4
votes
1 answer

Variable-width non-breaking space in Word 2016 (including a possible solution)

I'm using Word 2016 to write articles that must keep certain words on the same line. Therefore, I work with a lot of non-breaking spaces. The articles eventually go to print (or PDF), meaning there must be absolutely no visual difference between a…
3
votes
1 answer

Emacs org-mode: how to disable visual line wrap for Agenda buffers only?

I've activated visual line mode in Emacs with M-x global-visual-line-mode . However (only) in Agenda buffers I'd like to autamatically use truncate long lines instead. How can I enable that? Do I have to modify the agenda commands?
3
votes
1 answer

How to prevent Outlook 2016 from adding line breaks in long URLs?

It seems Outlook 2016 adds line breaks in plain text messages. How can I prevent this? This is how it looks in Outlook 2016 with and without [x] in [x] Remove extra line breaks in plain text messages
Jonas Stein
  • 1,182
3
votes
1 answer

Remove break lines in wrapped cells

I want to get rid of unnecessary break lines from cells and leave the ones I need to separate wrapped text. I'm outta ideas how to distinct them from each other and remove some of them which are useless like in the example below.
Rayearth
  • 355
  • 3
  • 6
  • 16
3
votes
3 answers

Why are Windows line breaks larger than Unix line breaks?

So I created two files, each with 127,955 lines and 24 random characters per line. As far as text the two files were completely identical. However one file had Unix line breaks and the other had Windows line breaks. The file with Unix line breaks…
1
2 3 4