• Login
Community
  • Login

Using TextFx->Unwrap with Macro

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 2 Posters 5.1k 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.
  • B
    BD Lewis
    last edited by Dec 20, 2015, 8:26 PM

    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.

    C 1 Reply Last reply Dec 20, 2015, 8:48 PM Reply Quote 0
    • C
      Claudia Frank @BD Lewis
      last edited by Claudia Frank Dec 20, 2015, 8:49 PM Dec 20, 2015, 8:48 PM

      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
      • B
        BD Lewis
        last edited by Dec 20, 2015, 8:53 PM

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