Text showing up as linked

Text showing up as linked

by ginopiazza49 - 09:45AM, Nov 18, 2003

I created a notebook doc to where I keep my serial numbers. On some serial numbers the "name" information is my actual e-mail address. Such as:

------------------------------------
Name: gjpiazza@optonline.net
Searial Number: 1234-5678
------------------------------------

The e-mail address is blue just like one would aspect a link to be, however, at various places throughout the page some numbers and some of the names of the software are also showing up blue and sometimes underlined. Is this a bug in NoteBook or is there a way I can prevent this from happening?

Gino J. Piazza

Jayson

Member

12:30PM, Nov 18, 2003

Did you copy/paste the text from somewhere else, and were these other words and numbers blue already?

Are these links active? I.e., does clicking one of them bring up a browser, and do you get an error message?

I don't know of any problems with how NoteBook converts text to links. Link information is like font information - a property applied to a section of text. It could be that you accidentally transferred link information from somewhere else in the cell. If you control-click the link (while you're editing the cell's text) you can remove it using the Remove Link command in the contextual menu.

ginopiazza49

Member

03:05PM, Nov 18, 2003

Jayson,

>Did you copy/paste the text from somewhere else, and were these other words and numbers blue already?

I used copy and paste from a "plain text file". In other words, nothing was previously linked, nor was the text blue.

>Are these links active? I.e., does clicking one of them bring up a browser, and do you get an error message?

No, the links are not active at all. The words and numbers, which are in random places, just appear as links.

I tried your suggestion of control-clicking on one of the words that appear as a link. The only thing that happens is that the word gets underlined in red. What should be linked, such as my e-mail address, is not linked, although it is blue. And if I try to make my e-mail address a link using your idea of the contextual menu, it also appears underlined in red.

wkiri

Member

09:16AM, Nov 19, 2003

I think the red underlining is NoteBook's way of indicating that it doesn't recognize the spelling of the word.

I had some trouble with links, too. I found that if I typed a URL, NB automatically created a link, but if I positioned the cursor after the link and tried to type some (regular) text, it would become blue and underlined as well, even if there was a space between the link and my new text. Is this the intended behavior?

Yuckems

Member

09:41PM, Nov 19, 2003

Since (1.2)v170, I'm seeing similar things with the link attribute (blue, underlined, clickable) sticking to normal text:

Let's say I paste or type an URL into a cell, then get out of that cell so that it shows up as a clickable link. (Note: you must get out of the cell and then go back in again to see this effect)

Now, if I go back into that cell to add regular text, it also has the link attribute no matter where I type. It's also clickable.

Also, if I add a second URL to that same cell, clicking the second link will send me into a browser with the FIRST URL.

It seems once a cell has a link, anything else added to that cell takes on the attribute of the original link. It didn't behave this way before v170 (I didn't see it when I was using v149.1 on Panther).

I think this is similar to what others are seeing. Hope that helps.

ginopiazza49

Member

12:44PM, Nov 20, 2003

As I wrote, my page was a list of serial numbers of the software I have. Since it is a long list, I thought that maybe the page length had something to do with some of the text "appearing" as linked text (some blue, some blue with a blue underline). Therefore, I cut the one page into four separate pages (A to G, H to N, O to U, V to Z). I made sure to use "Paste as Plain Text" on any text that I copied. For a while there I thought the problem was fixed. However, after scrolling up and down the page for a while, the problem of the blue and the blue underlined text reappeared.

I then had the idea of selecting an entire page and selecting "Underline" and then de-selecting "Underline" from the Format menu. That appeared to fix the problem of any underlines. I then selected an entire page again and selected "Show Colors" from the Format menu. I made all the text black. With no more underlines and the text all black, I thought all was fine. I quit and then re-opened. The blue text and underlines were back. What was worse is that the whole page was acting like a link. In other words, where ever I clicked on the page, my Mail program would open.

By the way, I have the latest version of NoteBook.

Gino J. Piazza

Jayson

Member

08:10PM, Nov 24, 2003

I'm not sure how much of this is a bug and how much of this is just how "styled" text behaves in Cocoa. A link is an attribute of a run of text, just like a bold font or a color. You've probably noticed how in an app like Mail or TextEdit if you place your insertion point right after a run of text that's bolded, for example, your new typing takes on that attribute. Same thing can happen with the link. But if you click ahead of the link you should not acquire its attributes.

I'm happy to look into all of these cases - it's easiest for me if you send a message to support@circusponies.com describing the problem and exact steps to reproduce. That way it becomes an open support e-mail that I can track. Also easier to go back-and-forth with follow-up questions and answers. It sounds like there's some lurking bug and I would love to squash it, so please e-mail me.

You must login to post a comment!

Don't have an account yet? Sign up for one.