Re: Tex-Edit: crashes selecting to EOF
Re: Tex-Edit: crashes selecting to EOF
- Subject: Re: Tex-Edit: crashes selecting to EOF
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 26 May 2003 18:53:51 -0700
On 5/26/03 6:33 PM, "Gnarlodious" <email@hidden> wrote:
>
Entity Christopher Stone spoke thus:
>
>
> tell application "Tex-Edit Plus"
>
>
>
> tell front document to select (characters (get offset of selection) thru -1)
>
>
>
> end tell
>
>
Uh-oh, when I say:
>
>
select (characters Playlists thru -1)
>
>
Tex-Edit crashes, with Script Debugger reporting an event timeout.
>
>
In this file Playlists starts at 825459 and the file is 923,000 bytes in
>
length. Maybe Tex-Edit can't hack it?
>
Otherwise the script runs fine.
You should never, ever select 'characters', unless there are just a few.
It's a list - you can never make a list of 100,000 items like that. Does
Tex-Edit Plus select text?
select text Playlists thru -1 of front document
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.