Community
    • Login

    How to make doubleclick recognize Hypen as part of the word

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    3 Posts 2 Posters 213 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.
    • Nauduri Venkata Ravi Rama SastryN
      Nauduri Venkata Ravi Rama Sastry
      last edited by

      Hi,

      I just started working on plugin development. I want to know if there is a way to make “double click” in editor recognize the word considering “hyphens”.

      i need this for a plugin on COBOL files.

      ex:
      As of now, when i dblclick at V on the word " WA-VAR-NAME1 ", it selects VAR, whereas i want WA-VAR-NAME1 to be selected

      dinkumoilD 1 Reply Last reply Reply Quote 0
      • dinkumoilD
        dinkumoil @Nauduri Venkata Ravi Rama Sastry
        last edited by

        @Nauduri-Venkata-Ravi-Rama-Sastry

        You can achieve that by extending the word character list.

        6e5422c5-b85f-4372-a1e4-441fbcf2a816-grafik.png

        Nauduri Venkata Ravi Rama SastryN 1 Reply Last reply Reply Quote 4
        • Nauduri Venkata Ravi Rama SastryN
          Nauduri Venkata Ravi Rama Sastry @dinkumoil
          last edited by

          @dinkumoil Thank you, that was the one!!

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