In my last e-mail I raised concerns about the loss of the linkText in
various situations. I have now experimented with them (not very
scientifically).

>Could the linkText be lost by:
>
>1. Accidentally erasing the chunk of which it is a property.

If you erase by backspacing and then retype and choose link for the same
text from the menu, the linkText is gone.

If you "Cut" the text, save and then repaste in the same place, the
linkText is preserved. It must have been saved on the clipboard.

Same if  you repaste somewhere else in the fld.

If you paste twice, the linkText of the second link is the same.

If you cut a passage including two links and paste it elsewhere in the
field, the links and the linkTexts are preserved.

If you cut a passage including two links and paste it into a different
field, the links and the linkTexts are preserved.

The conclusion is that the unseen linkText property is included in the
clipboard, but otherwise is lost.


>2. Changing the chunk of which it is a property.

The linkText stays even though the precise words or the length of the chunk
is different.


> 3. Accidentally changing the textStyle of the chunk so it is no longer
>"link". What if  you immediately change it back.

If you immediately change it back, the linkText is preserved.

If you change it back and add some characters on either end, the linkText
is lost.

It seems that if you have a field that can sometimes be unlocked or
otherwise manipulated, there is too much danger to leave your precious data
in the linkText properties alone. Therefore, I am leaning towards the
conclusion in my earlier message.

>All this leads me to think that instead of putting the linkText into the
>footnote field, I should use the linkText or the words of the link itself
>as a pointer to another hidden field where all the footnotes are stored.
>The handler would then find the relevant material and move it to the
>display field. In theory this would take longer, but I imagine it won't be
>noticeable to the user.

Regards,

Bruce
-- 
Bruce Lewis
Lewis & Collyer
160 John Street, Suite 401
Toronto, Ontario
Canada  M5V 2E5
(416) 598-4357
FAX (416) 598-1067
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Reply via email to