Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [linebreaks]

The tag has no usage guidance.

31
votes
4answers
4k views

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?
0
votes
1answer
44 views

Regex delete linebreak

I have a file in which I want to remove only certain line breaks, such as this example: ProduceFalse: Return a Boolean of value "false" ProduceTrue: Return a Boolean of value "true" In the above ...
3
votes
1answer
2k views

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 ...
-1
votes
1answer
39 views

Plotting rolling 12 month average and quarterly average

I have the below graph that shows monthly availability, quarterly average of the availability and 12 month rolling average. Here, I dont want to quarterly average line graph to be continuous. I would ...
3
votes
1answer
199 views

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 ...
0
votes
1answer
292 views

How to remove soft line break in the field that from styleRef in Word 2013?

I create a header in WORD 2013 that contain a field from my chapter style ref. The problem is chapter title has a soft line break, I want to remove it in header, how to do it?
0
votes
1answer
634 views

Disable automatic line break in LibreOffice Writer

In LibreOffice Writer, in a table cell, there is the text "abcdef/+ghijklm". The cell is not wide enough to contain the whole text, so there is an automatic line break after the "/" even though "...
0
votes
3answers
191 views

Why are Windows line breaks larger than Unix line breaks? [duplicate]

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 ...
4
votes
3answers
9k views

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.
0
votes
1answer
195 views

Why redirection operators from windows prompt create text ignoring line break? [duplicate]

I tried to output to a text file using redirection operators > and >> from a java class but it ignores line feed \n from java when the .txt file is opened with the Notepad from windows 10. It'...
1
vote
2answers
1k views

Remove section break in Word without merging formatting with previous section

I'm having a heck of a time deleting section breaks after rotating page orientation in the same document: NOTE: When you delete a section break, the text that was above the break becomes part of ...
2
votes
2answers
3k views

How to remove linebreaks in Notepad++? in long text

I would like to know if is a method to remove linebreaks in Notepad++ aside from select and cntrl + J that is already explain here How to remove linebreaks in Notepad++? the Problem is ...
1
vote
1answer
68 views

How to tell word to not line break across a region of text?

I have a Microsoft Word for Mac 2011 document that includes some numbers with exponents and I don't want line breaks in the middle of the figures. For example: 100 lb×in-2 Sometimes gets rendered ...
0
votes
2answers
468 views

How to find all “windows-line-break”-ed files?

Im on Windows which made Windows-style line breaks. Now it all should go to a production environment. With total commander, or anyhow, how to find files ended with Windows line break?
2
votes
1answer
2k views

SQL Server Results to File Creates extra lines at end

When I route the output of my queries to a file, there are one or two blank lines at the bottom. When I run the query though SSMS (2008 or 2012), I get two extra blank lines. When I run the query ...
1
vote
1answer
5k views

NodeJS: writing JSON file not having line breaks when i open in Notepad. But is pretty view with other Editors

I am writing a JSON file using NodeJS, like this: var path = "D:\\test.json" var writeContent = {"Success" : "This is a sample"} fs.writeFile(path, JSON.stringify(writeContent, null, 4), function (...
2
votes
1answer
75 views

Adding linebreaks in notepad++

Is it possible to turn this: 1 My old house 2 My new house 3 My blue house 4 My funhouse into: 1 My old house 2 My new house 3 My blue house 4 My funhouse using Notepad++?
0
votes
2answers
359 views

How does libreoffice express a linebreak when saving a csv?

I’m attempting to save a CSV using LibreOffice Calc to be imported to a MySQL database. Saving it as a CSV is pretty straightforward in LibreOffice but I don’t know how the resulting document ...
2
votes
1answer
3k views

Removing all manual word / line breaks in Microsoft Word

I have auto word break option enabled in my Word 2010 so most of the words breaks correctly on the end of lines. When I'm not satisfied with the results, I can always press Ctrl + - to force that ...
4
votes
2answers
653 views

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 ...
0
votes
0answers
1k views

Is there a way to remove the superfluous line breaks in an Open Office document?

I copied a large text file into an Open Office Document, and it added or "preserved" a lot of superfluous line breaks. Here's an example of what I see: When it should look like this: Es, pues, de ...
3
votes
3answers
1k views

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 ...
1
vote
0answers
209 views

Notepad - replaces returns with line breaks when stripping format from text

I've used Notepad for years to strip out formatting from Word or web pages when using that text in html. Recently, the default behaviour (using returns between paragraphs) has changed, and now Notepad ...
0
votes
1answer
1k views

How to remove unwanted line breaks without affecting the rest of the formatting?

Sample text: I give Pirrip as my father's family name, on the authority of his tombstone and my sister,--Mrs. Joe Gargery, who married the blacksmith. As I never saw my father or my mother, and ...
1
vote
1answer
991 views

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 ...
4
votes
3answers
4k views

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?
103
votes
4answers
278k views

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 ...
6
votes
4answers
16k views

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 ...
0
votes
0answers
132 views

How do I make komodo edit open stuff with mac line breaks?

I'm on my Windows 7 PC using Komodo Edit text editor (version 6.1). I have a file from my Mac which I need to use, but it either doesn't open or opens as a blank doc. The file isn't broken or ...
13
votes
1answer
8k views

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 ...
34
votes
7answers
90k views

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 ...
5
votes
3answers
688 views

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 ...