• Login
Community
  • Login

Ctr+l problem

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 2 Posters 4.1k 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.
  • B
    Bojan Megla
    last edited by Oct 17, 2015, 9:03 AM

    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
    • G
      guy038
      last edited by guy038 Oct 17, 2015, 12:05 PM Oct 17, 2015, 12:05 PM

      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
      • B
        Bojan Megla
        last edited by Oct 17, 2015, 12:16 PM

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

        Thank you very much ;)

        1 Reply Last reply Reply Quote 0
        • G
          guy038
          last edited by guy038 Oct 17, 2015, 12:32 PM Oct 17, 2015, 12:30 PM

          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
          • B
            Bojan Megla
            last edited by Oct 18, 2015, 4:02 AM

            Yes, I’ve done exactly that :)

            Thanks for the help ;)

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