EmEditor Text Editor Forum Index
   General
     Help about adding another \n after save
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
netsking
Posted on: 11/4/2009 6:04 pm
Just popping in
Joined: 8/23/2008
From:
Posts: 17
Help about adding another \n after save
Hi, there,
I have met a strange thing when I saved my text file.
Each time, when I saved my text file, the curse moved to the end of the file, and added another \n in the end of the line.

Does anybody know what cause this problem or how to fix this? Thank you in advance.
Yutaka
Posted on: 11/5/2009 7:30 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 1823
Re: Help about adding another \n after save
Quote:

netsking wrote:
Hi, there,
I have met a strange thing when I saved my text file.
Each time, when I saved my text file, the curse moved to the end of the file, and added another \n in the end of the line.

Does anybody know what cause this problem or how to fix this? Thank you in advance.


Please make sure:

Configuration Properties > File tab > Saving... button > Insert Returns when Saving

is not checked.


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

netsking
Posted on: 11/5/2009 7:50 am
Just popping in
Joined: 8/23/2008
From:
Posts: 17
Re: Help about adding another \n after save
I did not check the function as you mentioned. But the problem is still.

Yutaka
Posted on: 11/5/2009 8:08 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 1823
Re: Help about adding another \n after save
Quote:

netsking wrote:
I did not check the function as you mentioned. But the problem is still.



Do you use any plug-ins? You might want to try disabling all plug-ins. Also, if you set any macros for any events, you might want to disable all the macros at events. Event macros can be configured in the Macros menu > Customize.

If you still can't figure out, you might want to uninstall EmEditor, and during uninstall, select No when asked to save your personal settings. Then install EmEditor again for fresh install.


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

netsking
Posted on: 11/8/2009 12:05 pm
Just popping in
Joined: 8/23/2008
From:
Posts: 17
Re: Help about adding another \n after save
It's caused by plug-in. I did not know which one yet.
Usually, I install everything by default.
Right now, I found it was caused by the plug-in
Whitespace plug-in.

netsking
Posted on: 11/9/2009 6:43 am
Just popping in
Joined: 8/23/2008
From:
Posts: 17
Re: Help about adding another \n after save
FIY: updated
If you check "ensure final line-end on save" in whitespace plug-in,
when you save you file each time, a \n will add at the end.

Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 
English čeština Deutsch español français italiano 日本語 Русский