Community
    • Login

    Using TextFx->Unwrap with Macro

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 5.6k Views 2 Watching
    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.
    • BD LewisB Offline
      BD Lewis
      last edited by

      When I create and run a Macro to use TextFx to Unwrap lines of text, it does unwrap the lines but replaces the text with garbage. The file contains nothing but plain text encoded as ANSI.

      This is a repetitive function for which I could save hours by running a macro.

      Is there something I’m missing or is this a bug in the code?

      Thanks.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @BD Lewis
        last edited by Claudia Frank

        Hello BD-Lewis,

        I see what you mean and I think this is a bug.
        What you can do in the meantime is to record a macro while doing the same stuff with the replace dialog.
        So, if file is open

        • start recording
        • press ctrl+h
        • select extended in search mode
        • in find what type \r\n
        • in replace with insert a blank
        • press replace all
        • stop recording and save it.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • BD LewisB Offline
          BD Lewis
          last edited by

          I hadn’t thought of that option, but it will no doubt do what I need to do until the bug can be fixed. Thank you!

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors