Re: BBEdit 5 & selection-object
Re: BBEdit 5 & selection-object
- Subject: Re: BBEdit 5 & selection-object
- From: email@hidden
- Date: Thu, 22 Feb 2001 23:07:08 -0500
On Thu, 22 Feb 2001 19:22:31 +0100, "Daniel Komrska jr." <email@hidden>
asked,
>
I wrote this:
>
>
set x to line of selection-object
[...]
>
Here is part from BBEdit dictionary:
>
-------
>
Class selection-object : the selected text
You want to say, "selection". Selection-object is the class that that property
has, the same way 'count of disks of application "Finder"' has a class of
'integer' and 'trashcan of application "Finder" has class 'trash-object'
Selection-object is only defined so the dictionary will have a place to list its
properties, like 'line'. Its not meant to be used in a script.
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden