• Login
Community
  • Login

Event for shortcut comments ?

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
2 Posts 1 Posters 3.7k 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.
  • S
    sanastasiou
    last edited by Jul 3, 2015, 8:06 AM

    Hi,

    I was asked from one of the users of my plugin to enable shortcuts for commenting the code

    i.e. default Ctrl+K for single line comment or Ctrl+C for multiline comments.

    • Is there some event where I can subscribe ? Or do I have to monitor keyboard events?
    • Is there any way to read the actual shortcuts that are configured? As I understand someone could change these shortcuts from the settings.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • S
      sanastasiou
      last edited by Aug 31, 2015, 7:54 PM

      You might close this one. Βy observing the shortcuts.xml file after a recent fix, this functionality can be implemented.

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