Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Incorrect line endings

    Help wanted · · · – – – · · ·
    2
    3
    2956
    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äljaots
      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
      • dail
        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äljaots
          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
          Copyright © 2014 NodeBB Forums | Contributors