• 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
Selecting entire line in BBedit.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selecting entire line in BBedit.


  • Subject: Selecting entire line in BBedit.
  • From: "Maxime Paquette" <email@hidden>
  • Date: Wed, 6 Dec 2000 13:39:47 -0500

Hi,
I'm triyng to select an entire line in a text file in BBedti 3.1 to
delete it. The problem is, depending on the window size, it select 1/2 or
3/4 of the line because the line, when the window is small, is almost always
on 2 lines. So half the line that are supposed to be deleted aren't. I
tried to resize the windows, so that the line will be on one line, without
sucess.

So, here's a part of the script, it's just an exemple to delete a single
line:

Tell application "BBedit 3.1"
activate
open file "blabla:blabla:blabla"
Find "333" -- all the line that I want to delete begin by that
Select Current Line -- I tried "Full Lines" too
Delete selection
End Tell

Any idea how I can select an entire line? or maybe an other way to delete
all the line I want?

Thanks.

Maxime Paquette


  • Follow-Ups:
    • Re: Selecting entire line in BBedit.
      • From: Jacco Rens <email@hidden>
    • Re: Selecting entire line in BBedit.
      • From: John Christie <email@hidden>
References: 
 >Reading files in MacOS X AppleScripts (From: "Daniel E. Sabath" <email@hidden>)

  • Prev by Date: Re: Idle Help
  • Next by Date: emailer script question....
  • Previous by thread: Reading files in MacOS X AppleScripts
  • Next by thread: Re: Selecting entire line in BBedit.
  • Index(es):
    • Date
    • Thread