Remove CRLF

Michael Young meyoung at bresnan.net
Sun Jun 19 11:35:16 EDT 2005


Thanks for the suggestions for all who responded, but I have not had 
success yet.

I noticed an interesting subtlety that is of course NOT full explained 
in the documentation.

1. Reference Documentation for Object using Filter with: does not show 
item hilitedText. It does show selectedText function entry with 
apparently second line alternate name hilitedText.

2. Reference Documentation for Dictionary using Filter with with: does 
show both hilitedText and selectedText entries.  The problem is the 
hilitedText entry is the exact same as the selectedText entry.

3. hilitedText is not in the selectedText function See also: section 
presumably because they are considered one and the same.

4. line x suggestion also has the CRLF still present. It made no 
difference whether list behavior was true or false.

I still haven't figured out how to get rid of the CRLF that I added. 
Very frustrating.

Michael

On Jun 19, 2005, at 2:32 AM, use-revolution-request at lists.runrev.com 
wrote:

> Subject: RE: Remove CRLF
> To: "'How to use Revolution'" <use-revolution at lists.runrev.com>
> Message-ID: <20050619060048.71031930069 at mail.runrev.com>
> Content-Type: text/plain;	charset="US-ASCII"
>
> Michael
>
> There's different ways to get a line...
>
> get line x of field f will give you the line selected without the crlf.
> or
> get the selectedtext of fld f -- if the list is not listbehavior
> or
> get the hilitedtext of fld f -- if the list is listbehavior
>
> Normally, you just need to add cr, not crlf - as far as i know, rev 
> takes
> care of the right line delimiter in displays.
>
> cheers
> Xavier
>
>> -----Original Message-----
>> From: use-revolution-bounces at lists.runrev.com
>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
>> Michael Young
>> Sent: Sunday, June 19, 2005 08:32
>> To: use-revolution at lists.runrev.com
>> Subject: Remove CRLF
>>
>> Hello,
>>
>> I have added CRLF to end of lines in a Scrolling Field for
>> cosmetic effect. Now I want to strip off the CRLF for a user
>> selected line (although the last line in the Scrolling Field
>> will not have CRLF).
>> What is the simplest way to strip off the CRLF, if present? I
>> have not been able to stumble on the answer or find it in
>> documentation or list archives. Oh well. I am sure the
>> solution is simple.
>>
>> Thanks,
>>
>> Michael
>> OS X 10.3.9
>> RR 2.6
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage
>> your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
>



More information about the use-livecode mailing list