Jump to content
Muxe Inc Forums
Sign in to follow this  
GPFault

Line divisor of one-line file

Recommended Posts

GPFault    0

Hi.

NDN 2.15.8835 W32,LNX

When NDN can`t determine line type (file has only one line without line break after it) it set it to CrLf, regardless of EditorDefaults.LineDivisor option.

To reproduce:

- set EditorDefaults.LineDivisor to Lf

- create new file with one line. It`s OK it has Lf in bottom border. Save it. Close it.

- Open again - now it has CrLf.

 

EditorDefaults.LineDivisor option should be used as default value here.

 

This bug may lead to creating shell scripts in linux with wrong line separator. Most of such scripts doesn`t work correctly - but visually they are correct...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×