On Tue, 16 Nov 1999, Mary Bull wrote:

> Howdy! 
> 
> I'm having problems scrolling to a specific line from a field. I have a
> long field ("fld 1") that I'm linking to. I've been using the offset()
> function to highlight the found text, then (because this text may be
> farther down), I've set the scroll of the field to  
> 
> (lineOffset(foundText,fld 1) * the textHeight of fld 1)-the textHeight
> of fld 1
> 
> Think the problem lies in the lineOffset() function. A "line" is defined
> by having a return at the end of it. I can't split up the individual
> lines of the field (wrapped) into return-delimited chunks. The user
> needs to be able to find a string of text that may bridge two lines. How
> can I change this delimiter?

One obvious thing to try is to use the formattedText property, which
is the text with the spaces that are word-wrapped changed to returns.
It does insert a double return where the single was, though, so you
may need to also use the replace function to replace the double return
with a single.

> Barring the possibility of that, I'd love to hear some ideas on how to
> solve this problem. Thanks!!!

You might also look at "find" command and the foundLoc function.
  Regards,
    Scott

PS: I don't know about connectivity from everywhere else, but gblx.net
(Global Crossing) has been hosed all day from here which means that we
can't get to the MetaCard WWW/FTP site and so haven't been able to
update the 2.3 beta there.  Beta 2 is ready for release, but there are
a few problems with the version we put on that server yesterday that
unfortunately we were unable to fix today because of the outages.
Watch this list for the announcement which will come when we've
straightened this all out.  If Global Crossing is still hosed
tomorrow, we'll move the site someplace else later in the day.  Mean
time, I'd be curious to get the output of a traceroute to
www.metacard.com from your site just to get some idea of how localized
the damage is, and how vulnerable the ISP we're using for WWW/FTP
services is to these kinds of problems.

PPS: I'm sending this message to lists1.best.com instead of
lists.best.com because DNS services at best.com are screwed up,
possibly a side effect of the gblx outage.  If your messages to this
list get bounced, you might want to try this too.

> Mary Bull
> [EMAIL PROTECTED]
> 

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...

Reply via email to