Community
    • Login

    [New Plugin] CutNCopyLine

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    14 Posts 6 Posters 9.7k Views 3 Watching
    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.
    • Kasper GraversenK Offline
      Kasper Graversen
      last edited by

      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
      • guy038G Offline
        guy038
        last edited by guy038

        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
        • Kasper GraversenK Offline
          Kasper Graversen
          last edited by

          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
          • dailD Offline
            dail
            last edited by

            @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
            • Kasper GraversenK Offline
              Kasper Graversen
              last edited by

              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
              • dailD Offline
                dail
                last edited by

                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
                • Mackenzie ZastrowM Offline
                  Mackenzie Zastrow
                  last edited by

                  @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
                  • Ethan PiliavinE Offline
                    Ethan Piliavin
                    last edited by

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

                    Kasper GraversenK 1 Reply Last reply Reply Quote 0
                    • Kasper GraversenK Offline
                      Kasper Graversen @Ethan Piliavin
                      last edited by

                      @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
                      • dailD Offline
                        dail
                        last edited by dail

                        @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
                        • Kasper GraversenK Offline
                          Kasper Graversen
                          last edited by

                          @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
                          • MAPJe71M Offline
                            MAPJe71
                            last edited by

                            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
                            • dailD Offline
                              dail
                              last edited by dail

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

                              Kasper GraversenK 1 Reply Last reply Reply Quote 0
                              • Kasper GraversenK Offline
                                Kasper Graversen @dail
                                last edited by Kasper Graversen

                                @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

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • First post
                                  Last post
                                The Community of users of the Notepad++ text editor.
                                Powered by NodeBB | Contributors