Community

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

    Using TextFx->Unwrap with Macro

    Plugin Development
    2
    3
    4168
    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 Lewis
      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 Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        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 Lewis
          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
          Copyright © 2014 NodeBB Forums | Contributors