Community
    • Login

    Incorrect line endings

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 3.2k 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.
    • Kain VäljaotsK
      Kain Väljaots
      last edited by

      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
      • dailD
        dail
        last edited by

        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
        • Kain VäljaotsK
          Kain Väljaots
          last edited by

          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors