Community
    • Login

    Using TextFx->Unwrap with Macro

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 4.8k 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.
    • BD LewisB
      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
        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
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors