Selecting entire line in BBedit.
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