• Login
Community
  • Login

Dashes not supported in link names

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 2 Posters 184 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.
  • T
    tho-gru
    last edited by Jul 3, 2021, 8:48 PM

    Hi everyone,

    Today I worked on user defined links in Notepad++. I recognized the dashes (‘-’ characters) are not supported:
    20210703-223728-Preferences.png

    As you can see in my example editWithNpp: gets the underline and edit-WithNpp: does not get the underline. Therefor the second “link” will not work.

    Is there a reason for this?

    I ask this question because protocols with dashes are handled well by Windows 10.

    Debug Information

    Notepad++ v8.1   (64-bit)
    Build time : Jun 17 2021 - 01:56:07
    Path : C:\Program Files\Notepad++\notepad++.exe
    Command Line : "D:\Daten\Memory.txt"
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    OS Name : Windows 10 Pro (64-bit) 
    OS Version : 2009
    OS Build : 19043.1052
    Current ANSI codepage : 1252
    Plugins : ComparePlugin.dll DSpellCheck.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll PythonScript.dll XMLTools.dll 
    

    Kind Regards
    Thomas

    P 1 Reply Last reply Jul 3, 2021, 9:09 PM Reply Quote 0
    • P
      PeterJones @tho-gru
      last edited by Jul 3, 2021, 9:09 PM

      @tho-gru ,

      It’s probably to do with the regular expression used for matching internally, which might not allow for hyphens in the scheme . I was hoping that setting Preferences > Delimiter > add your character… would allow the - in the scheme, but it doesn’t.

      Looks like someone has already requested hyphens (and pluses and dots, to bring into compliance with RFC3986 ) be allowed in issue#9923 .

      P 1 Reply Last reply Jul 3, 2021, 9:15 PM Reply Quote 1
      • P
        PeterJones @PeterJones
        last edited by Jul 3, 2021, 9:15 PM

        I said above:

        in issue#9923 .

        I have added my 2¢ into that issue, pointing out the svn+ssh:// protocol which I use at work (and mentioned that @tho-gru was interested in hyphens-in-scheme-names as well). Maybe one of the developers will figure out how to implement the fix.

        T 1 Reply Last reply Jul 4, 2021, 10:17 AM Reply Quote 1
        • T
          tho-gru @PeterJones
          last edited by Jul 4, 2021, 10:17 AM

          @PeterJones thanks for finding the related issue .

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