Community
    • Login

    Ctr+l problem

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 2 Posters 4.6k Views 1 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.
    • Bojan MeglaB Offline
      Bojan Megla
      last edited by

      Hello, I’ve been using NP++ for a few years now, as a default text editor and for some html coding.
      Since I’m doing a lot of fansubbing in NP++ I tend to copy and paste some tags, or codes very frequently, and the problem is that for some reason, it copies text all by itself, or by some form of automation or something.

      Naimely, I’ve pin-pointed the problem to the usage of ctr+l option to delete whole selected rows. Whenever I use this it copies the deleted row/s. It wasn’t like that before, as much as I can remember, or maybe I haven’t used it quite often so I didn’t notice :/

      Is there any kind of option for this that I didn’t see or something? 'Cause it gets rather frustrating when I constantly paste the line that I haven’t even copied in the first place, and I’ve deleted it on purpose :/

      Note to the mods/admins:
      I’m terribly sorry for the previous topic, since I couldn’t edit it, i removed it.

      1 Reply Last reply Reply Quote 0
      • guy038G Offline
        guy038
        last edited by guy038

        Hello, Bojan Megla,

        Your problem can be easily solved. Indeed !!

        The CTRL + L action, corresponds to the Scintilla command SCI_LINECUT ( on line 91, of the Scintilla commands tab of the Shortcut Mapper ( Menu option Settings - Shortcut Mapper… )

        If you prefer to delete a line ( or a selected block of lines ), WITHOUT copying in the clipboard, just use the CTRL + SHIFT + L shortcut, which corresponds to the Scintilla command SCI_LINEDELETE ( on line 90 )

        Et voilà !

        Enjoy our loved editor !

        Best Regards,

        guy038

        1 Reply Last reply Reply Quote 0
        • Bojan MeglaB Offline
          Bojan Megla
          last edited by

          hmm, why didn’t I think of that, I wonder :)

          Thank you very much ;)

          1 Reply Last reply Reply Quote 0
          • guy038G Offline
            guy038
            last edited by guy038

            Hi Bojan Megal,

            In addition, don’t forget that you can, freely, change any shortcut, in the Shortcut Mapper feature ! Just take care not using an already used one ! I’m not sure, but default N++ shortcuts should have priority on user’s ones.

            But, for instance, you could invert, without no problem, the two shortcuts CTRL + L and CTRL + SHIFT + L !

            Cheers,

            guy038

            1 Reply Last reply Reply Quote 0
            • Bojan MeglaB Offline
              Bojan Megla
              last edited by

              Yes, I’ve done exactly that :)

              Thanks for the help ;)

              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