• Login
Community
  • Login

how to repeat plugin

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 307 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.
  • P
    pinuzzu99
    last edited by pinuzzu99 Mar 25, 2023, 8:51 AM Mar 25, 2023, 8:49 AM

    i’ve installed Reverse Lines plugin and this work fine for my purpose with a selection.
    but i need to repeat several times in my document
    so, how how to repeat plugin command?
    i’ve tried to record a macro with all steps, but the macro not record plugin action

    on my document i have:

    <empty line>
    text 1
    text 2
    text 3
    <empty line>
    

    i need to invert only line 3 to line 1 like this:

    <empty line>
    text 3
    text 2
    text 1
    <empty line>
    
    1 Reply Last reply Reply Quote 1
    • G
      guy038
      last edited by guy038 Mar 25, 2023, 9:23 AM Mar 25, 2023, 9:23 AM

      Hello, @pinuzzu99 and All,

      Why using a plugin ? You can do it easily from within N++ !

      • Do a normal selection of a block of text

      • Run the Edit > Line Operations > Reverse line Order option

      Voilà !

      Best Regards,

      guy038

      1 Reply Last reply Reply Quote 5
      • P
        pinuzzu99
        last edited by Mar 25, 2023, 1:50 PM

        oh yes!
        and from Setting - Shortcut Mapper i can assign a shortcut to this command

        thanks, i hadn’t seen it …!

        Regads

        1 Reply Last reply Reply Quote 2
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors