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

Editor inserts spaces from \ to EOL if no EOL @ EOF

Recommended Posts

dandv    0

Paste the following text in an NDN editor window:

12345678
\
1234

 

It is important to NOT have a blank line at the end of the file (you don't have to save). Your file should contain exactly the 3 lines above.

 

Now copy and paste those three lines in some other program that shows trailing spaces before the end of the line, such as Word with formatting marks enabled (Ctrl+Shift+8 in Word).

 

Notice NDN filled the 2nd line with spaces to match the length of the 3rd line.

 

Even stranger is the fact that if you add a last blank 4th line and copy/paste the full three lines (that is, Ctrl+Home, Home, [shift+DownArrow] x 3, Ctrl+Insert, NDN won't fill the second line with spaces.

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  

×