Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Login

    Event for shortcut comments ?

    Notepad++ & Plugin Development
    1
    2
    3.2k
    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.
    • sanastasiouS
      sanastasiou
      last edited by

      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
      • sanastasiouS
        sanastasiou
        last edited by

        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