• Login
Community
  • Login

URLs don't open

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 3 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.
  • M
    Mr-Brunes
    last edited by Jun 29, 2019, 5:20 PM

    Hi

    I sure I’m missing something totally obvious but I can’t get any link to open.
    I followed the info at http://docs.notepad-plus-plus.org/index.php/Clickable_Links and enabled the Clickable Link setting.
    The cursor changes over the link so why won’t it open?
    A forum search reveals nothing.

    Also is there any way to automatically colour the link text differently?

    A 1 Reply Last reply Jun 29, 2019, 6:03 PM Reply Quote 0
    • A
      Alan Kilborn @Mr-Brunes
      last edited by Jun 29, 2019, 6:03 PM

      @Mr-Brunes

      Just a guess: Are you single-clicking the link expecting it to open? Try double-clicking.

      Also, my links are colored differently; is that a setting in the preferences? (I can’t check because I am away from my Notepad++ computer right now).

      1 Reply Last reply Reply Quote 1
      • P
        PeterJones
        last edited by Jun 29, 2019, 7:24 PM

        @Alan-Kilborn said:

        is that a setting in the preferences?

        Settings > Preferences > MISC., the Clickable Link Settings box, ☑ Enable and ☐ No Underline. When you hover over a URL with those settings, it will change color to indicate it’s a link, and double-clicking the link will follow the link in your default browser.

        If the underline and hover-over is not enough for you, you can use the EnhanceAnyBuiltinLexer PythonScript which @ekopalypse shared some months back, which will allow you to set a regular expression to add extra highlighting that the active lexer isn’t providing

        1 Reply Last reply Reply Quote 1
        • M
          Mr-Brunes
          last edited by Mr-Brunes Jun 29, 2019, 7:38 PM Jun 29, 2019, 7:37 PM

          Thanks - double click! I never expected that … since when did URLs (or anything else for that matter except for opening files) need a double-click anywhere?? It seems very odd …

          A 1 Reply Last reply Jun 29, 2019, 8:08 PM Reply Quote 0
          • A
            Alan Kilborn @Mr-Brunes
            last edited by Alan Kilborn Jun 29, 2019, 8:09 PM Jun 29, 2019, 8:08 PM

            @Mr-Brunes

            double-click! I never expected that…

            In a text editor’s textual editing area, a single click moves the caret so you can edit text (core functionality for a text editor). Because following a textual URL is a secondary function, it takes a double click.

            Even in something like M$-Word, don’t you have to ctrl+click to follow links? (IIRC)

            1 Reply Last reply Reply Quote 4
            • M
              Mr-Brunes
              last edited by Jun 30, 2019, 12:47 PM

              Fair point about the core funcationality. But if that is the case then why does the cursor change leading one to think that a single click will work? Word doesn’t change the cursor, and hovering brings up a tooltip (or info bubble) with the URL and prompts to use Ctrl-Click to follow the link, which makes more sense to me. Google Keep is similar, but brings up a bubble with a “Open link” link.

              So I can’t help feeling NPP’s mystery double-click could be improved, not least to avoid the RSI!

              A 1 Reply Last reply Jun 30, 2019, 1:09 PM Reply Quote 0
              • A
                Alan Kilborn @Mr-Brunes
                last edited by Alan Kilborn Jun 30, 2019, 1:10 PM Jun 30, 2019, 1:09 PM

                @Mr-Brunes

                I certainly wasn’t intending on doing an exhaustive comparison of N++ and M$-Word for this feature. LOL

                I guess it falls into the category of “just how it works” in N++. TBH I never thought too much about it, just got used to how it is. :)

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