• Login
Community
  • Login

Incorrect line endings

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 3.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    Kain Väljaots
    last edited by Sep 24, 2015, 9:26 AM

    Is there any cure to the line ending detection bug in N++?

    It incorrectly identifies the line endings in remote files (on a winsshfs mapped drive). The file has only linux line endings, yet after opening the file N++ shows Dos/Windows on the status bar and all newlines added to the file will be \r\n.

    If I copy the same file to local disk and open it from there the format gets correctly identified as UNIX.

    1 Reply Last reply Reply Quote 0
    • D
      dail
      last edited by Sep 24, 2015, 10:19 AM

      Notepad++ shouldn’t have trouble detecting line endings at all. Are you sure winsshfs isn’t changing the line endings? I know other tools like WinSCP can mess with line endings. I’ve never used winsshfs though.

      1 Reply Last reply Reply Quote 0
      • K
        Kain Väljaots
        last edited by Sep 24, 2015, 10:34 AM

        Hi,
        existing line endings in opened file do not change at all,
        just editing mode will be wrong, and every new line I add will have windows line endings.

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors