Re: Dialects
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
References: | |
| >Re: Dialects (From: "Arthur J Knapp" <email@hidden>) |