Community
    • Login

    URLs don't open

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 3 Posters 5.3k Views 2 Watching
    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.
    • Mr-BrunesM Offline
      Mr-Brunes
      last edited by

      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?

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Mr-Brunes
        last edited by

        @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
        • PeterJonesP Offline
          PeterJones
          last edited by

          @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
          • Mr-BrunesM Offline
            Mr-Brunes
            last edited by Mr-Brunes

            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 …

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA Offline
              Alan Kilborn @Mr-Brunes
              last edited by Alan Kilborn

              @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
              • Mr-BrunesM Offline
                Mr-Brunes
                last edited by

                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!

                Alan KilbornA 1 Reply Last reply Reply Quote 0
                • Alan KilbornA Offline
                  Alan Kilborn @Mr-Brunes
                  last edited by Alan Kilborn

                  @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

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors