• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dialects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialects


  • Subject: Re: Dialects
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 13 Nov 2000 10:38:06 -0800

On 11/13/00 9:52 AM, I wrote:

>> Nope. There's no character 1 of any paragraph whose length = 0, nor
>> should there be, although it seems this worked in earlier versions of
>> TE+.
>>
>
> I put that wrong. In TE+, there is no longer such a thing as a paragraph
> whose length = 0. That's why Xandra's first script didn't error:
>
> tell document 1 of application "Tex-Edit Plus"
> set size of character 1 of (every paragraph whose length = 0) to 4
> end tell
>
> (every paragraph whose length = 0) = {}
>
> So the "set size of character 1" command simply had no list item on which
> to operate.
>

Oh dear. I went and muddled this. I was right the first time, and wrong
here. As Xandra said,

(every paragraph of document 1 whose length = 0)
--> {"", "", "", "", ""}

But there is no character 1 for any of these paragraphs. I guess TE+ has a
silent facilitation (like some things in the Finder) that just passes over
'character 1 of ""' in the list, instead of erroring.

I must stop having these public conversations with myself, but just wanted
to get this right.

--
Paul Berkowitz


  • Follow-Ups:
    • Re: Dialects
      • From: Allen Watson <email@hidden>
References: 
 >Re: Dialects (From: "Arthur J Knapp" <email@hidden>)

  • Prev by Date: Re: Entire content (Re: Maintaining large website / finding many files)
  • Next by Date: Back in the world again (sort of)
  • Previous by thread: Re: Dialects
  • Next by thread: Re: Dialects
  • Index(es):
    • Date
    • Thread