Navigation

    Community

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

    cr/lf suddenly appears

    Help wanted · · · – – – · · ·
    crlf
    4
    18
    9015
    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.
    • Scott Sumner
      Scott Sumner @Stuart Langley last edited by

      @Stuart-Langley

      It doesn’t have to render here…a imgur link would be fine…but I don’t see one in your previous posts?

      Accidental Ctrl + other-key presses can result in apparently odd characters inserted into your document (they’re really not odd if you understand what they are) but this shouldn’t cause changes to large sections of your document. Here’s an example of what you might see if you press Ctrl+e followed by Ctrl+r (with the default keymapping):

      Imgur

      Note that you’ll see this even if none of the three View (menu) -> Show Symbol options are ticked, as indicated above.

      1 Reply Last reply Reply Quote 0
      • Stuart Langley
        Stuart Langley last edited by

        @decoderman @Scott-Sumner
        my url did not fit through submittal and editing did not work.
        imgur.com/xJDeA7T - the image was created at imgur. It did not render here for me… I have now left out the code, so a human can find the image. I now have to wait 1200 seconds to add this. :)

        Scott Sumner 1 Reply Last reply Reply Quote 1
        • Scott Sumner
          Scott Sumner @Stuart Langley last edited by Scott Sumner

          @Stuart-Langley

          Hmm…about the only thing I can tell (beyond what has already been discussed) is that you have mixed line ending types in your document – almost always a bad thing. Windows line endings are CRLF. See the one line where the line ends in LF without CR in front? This is a Linux type line ending. I upvoted 2 of your posts so you should no longer have to wait before posting.

          1 Reply Last reply Reply Quote 0
          • Stuart Langley
            Stuart Langley last edited by

            Thanks for the upvotes, @Scott Sumner. Thanks for all the help too. Thanks @decoerman for the help.
            All the added line returns and carriage returns started with inadvertent keystrokes right at this point. And no screens opened up. The action was instantaneous. Like oh, crap… fast. :0
            I can recreate the entire document in a new file and then rename to the original deleted file name. I just thought I was a dope and did not understand an easy edit. Notepad++ is a tremendous and powerful tool. That is why I use it. Of course, things happen.

            1 Reply Last reply Reply Quote 0
            • Stuart Langley
              Stuart Langley last edited by

              So there was a remarkably easy solution to my predicament.
              Opened a new file. crtl-A -> crtl X - paste into new file. Cut and paste back into original. I could have probably even cut this back to cut and paste.
              Again thanks for all the help with this issue.

              1 Reply Last reply Reply Quote 1
              • decoderman
                decoderman last edited by

                @Stuart-Langley
                Next time try Edit / EOL Conversion to Unix and back to Windows EOL. Maybe the mix up will be gone then.
                But copy/paste seems a good workaround for now.

                1 Reply Last reply Reply Quote 0
                • Reed Scarce
                  Reed Scarce last edited by

                  The CR/LF marking just happened to me too. It appeared on all the lines below the line I was working on, yes on the working one, and not on any above. I feel like I may have made an inadvertent keyboard combination because I was adding some punctuation at the time. I’ve tried the suggestions and the behavior was just as noted. Copy/Paste success.

                  This is not the first time this has happened. It is rare, but it happens every month or two. The copy/paste workaround is good enough for now.

                  You’re going to love this: Okay, current working line and all below developed a CR/LF. All of the lines below dropped the first character of the line. Current working and above maintained the first character of each line.

                  When I pasted the complete copied text into a new document it was complete. Initial characters appeard, CRLF did not.

                  Next, sometimes I’ll put in blank lines for readablilty. The preceding line will not display CRLF. When I have multiple blank lines, the last line with a character will not display CRLF and none of the blank lines will either, until the last blank line above the next line of text.

                  Scott Sumner 1 Reply Last reply Reply Quote 0
                  • Scott Sumner
                    Scott Sumner @Reed Scarce last edited by Scott Sumner

                    @Reed-Scarce

                    I think you are probably experiencing a Notepad++ bug and may be suffering data loss!?

                    Check out @dail 's posting in this thread .

                    1 Reply Last reply Reply Quote 0
                    • Reed Scarce
                      Reed Scarce last edited by

                      link text

                      1 Reply Last reply Reply Quote 1
                      • Reed Scarce
                        Reed Scarce last edited by Reed Scarce

                        @Scott Sumner, THANKS.
                        I’m getting used to posting to this board and the constraints.
                        My last post was to a screen shot, one that wasn’t necessary after I viewed your informative post. I’d already lined it up and just pressed submit after the mandatory 20 minutes. Then I read your post.
                        RE: Your Post - I’m betting you’re right. Over time I’ve let many open tabs accumulate. I have Notepad++ in Startup and, you get the rest.
                        Ultimately, after making sure there was no corruption, I hit ctrl-S and the CRLF/Initial-Char issue resolved its self.
                        So thanks!

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Copyright © 2014 NodeBB Forums | Contributors