• Login
Community
  • Login

[New Plugin] CutNCopyLine

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
14 Posts 6 Posters 8.0k 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.
  • K
    Kasper Graversen
    last edited by Jun 13, 2016, 7:15 PM

    a plugin that alters the behaviour of ctrl+x and ctrl+c when no selection is made, the whole current line is cut/copied. This mimics the behaviour of Visual Studio

    Get your free copy today at

    https://github.com/kbilsted/NppPluginCutNCopyLine/releases

    1 Reply Last reply Reply Quote 0
    • G
      guy038
      last edited by guy038 Jun 15, 2016, 6:04 PM Jun 15, 2016, 6:03 PM

      Hi Kasper,

      Thanks for this very useful plugin. Just put your CutNCopyLine.dll file in Plugins folder and it worked, at once, as expected ! Nice , indeed :-))

      Do you know that an other guy, Mackenzie Zastrow, built a similar plugin, in 2013 ? Just refer to the link, below :

      https://bitbucket.org/zastrowm/notepad-visualstudiolinecopy/

      However, your plugin seems, even, more simple, because ther’s no need to allocate the CTRL + C and CTRL + X shortcuts to your plugin, nor suppress these two shortcuts, from the default SCI_CUT and SCI_COPY Scintilla commands !

      Best Regards,

      guy038

      1 Reply Last reply Reply Quote 0
      • K
        Kasper Graversen
        last edited by Jun 15, 2016, 6:16 PM

        Hi Guy

        Thanks for testing the plugin, glad you liked it ;) All we need now is to get it on the plugin manager… ;)

        1 Reply Last reply Reply Quote 0
        • D
          dail
          last edited by Jun 15, 2016, 6:26 PM

          @Kasper-Graversen It’s sad the plugin manager’s list hasn’t been updated in so long…wish there was a better way.

          1 Reply Last reply Reply Quote 0
          • K
            Kasper Graversen
            last edited by Jun 16, 2016, 7:13 AM

            Im actually contemplating writing a better plugin manager in C# - one where you can search etc. but not sure its worth the efford and all the issues I’ve reported to @Ho-Don have never been replied… so not sure a new plugin manager will be accepted by him as being packed with notepad++

            1 Reply Last reply Reply Quote 0
            • D
              dail
              last edited by Jun 16, 2016, 12:10 PM

              I’ve been contemplating that same thing for a while as well. There is alot of potential features that could be added. Honestly the 2 things that have stopped me is (as you already stated) I’m not sure it would actually be shipped with N++ as a replacement…and hosting a file somewhere that uses a good bit of bandwidth.

              Trying to get any kind of feedback or info from @Don-Ho is nearly impossible and quite frustrating at times.

              1 Reply Last reply Reply Quote 0
              • M
                Mackenzie Zastrow
                last edited by Jul 23, 2016, 6:26 PM

                @guy038 said:

                However, your plugin seems, even, more simple, because ther’s no need to allocate the CTRL + C and CTRL + X shortcuts to your plugin, nor suppress these two shortcuts, from the default SCI_CUT and SCI_COPY Scintilla commands !

                Indeed, I didn’t even know that you could specify a keyboard shortcut by default. I’m going to have to steal that :: )

                1 Reply Last reply Reply Quote 0
                • E
                  Ethan Piliavin
                  last edited by Jul 24, 2016, 7:05 AM

                  Maybe its time to fork? NPP needs more attention these days…

                  K 1 Reply Last reply Jul 25, 2016, 8:33 PM Reply Quote 0
                  • K
                    Kasper Graversen @Ethan Piliavin
                    last edited by Jul 25, 2016, 8:33 PM

                    @Ethan-Piliavin tempting but who has the time? also look at the code. It’s not my preferred coding style I must say.

                    1 Reply Last reply Reply Quote 0
                    • D
                      dail
                      last edited by dail Jul 26, 2016, 1:12 PM Jul 26, 2016, 1:12 PM

                      @Ethan-Piliavin @Kasper-Graversen

                      At this point it would be better off to rewrite it rather than just fork it. There is stuff on the backend side (webpage, release system, etc) of things that could should be done away with.

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kasper Graversen
                        last edited by Jul 26, 2016, 9:05 PM

                        @dail there is a wrapper for scintilla for c# - and we have C# on linux now as well… so Im up for it if you are;) but we have all the plugins to rewrite as well… not sure its gonna happen ;)

                        1 Reply Last reply Reply Quote 0
                        • M
                          MAPJe71
                          last edited by Jul 26, 2016, 9:56 PM

                          I think/hope @dail ment the Plugin Manager only.
                          Surely it’s not necessary to rewrite all the plugin’s.

                          1 Reply Last reply Reply Quote 0
                          • D
                            dail
                            last edited by dail Jul 26, 2016, 10:33 PM Jul 26, 2016, 10:32 PM

                            @Kasper-Graversen @MAPJe71 Yes! I was most certainly meaning just the Plugin Manager ;)

                            K 1 Reply Last reply Jul 27, 2016, 11:00 AM Reply Quote 0
                            • K
                              Kasper Graversen @dail
                              last edited by Kasper Graversen Jul 27, 2016, 11:02 AM Jul 27, 2016, 11:00 AM

                              @dail oh… ;) well if we can do it in C# I think it would be fun to collaborate ;)

                              also I would think the plugin entries can be shared on github. The major problem is to maintain versions of the plugins and ensuring noone is making destructive plugins or submitting destructive changes to existing plugings.

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