• 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
BBEdit 5 & selection-object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BBEdit 5 & selection-object


  • Subject: BBEdit 5 & selection-object
  • From: "Daniel Komrska jr." <email@hidden>
  • Date: Thu, 22 Feb 2001 19:22:31 +0100

Hallo,

I wrote this:

set x to line of selection-object

After compile I get this:

set x to (line of selection) - object

What is wrong?

Iam using BBEdit 5.0 and Script Debugger 1.0.4.

Thank you

Daniel Komrska jr.

Here is part from BBEdit dictionary:
-------
Class selection-object : the selected text
Elements:
character by numeric index, before/after another element, as a
range of elements
line by numeric index, before/after another element, as a range of
elements
paragraph by numeric index, before/after another element, as a
range of elements
text as a range of elements
word by numeric index, before/after another element, as a range of
elements
Properties:
contents type class [r/o] -- the contents of the selection
length integer [r/o] -- length of text object (in characters)
offset integer [r/o] -- offset of a text object from the
beginning of the document (first char has offset 1)
startLine integer [r/o]
endLine integer [r/o]
startColumn integer [r/o]
endColumn integer [r/o]
--------


  • Prev by Date: Re: Has the 5th business day of the month passed???
  • Next by Date: Re: applescript-users digest, Vol 2 #414 - 15 msgs
  • Previous by thread: Re: Ircle Script
  • Next by thread: Re: BBEdit 5 & selection-object
  • Index(es):
    • Date
    • Thread