Re: Selecting entire line in BBedit.
Re: Selecting entire line in BBedit.
- Subject: Re: Selecting entire line in BBedit.
- From: Jacco Rens <email@hidden>
- Date: Thu, 07 Dec 2000 20:29:57 +0100
- Readsource: 678899999
tell application "BBEdit 6.0"
activate
tell text window 1
set the clipboard to (cut lines containing "^333" with grep)
end tell
save text window 1
end tell
Does this work?
--
Best,
Jacco
Netherlands
>
From: "Maxime Paquette" <email@hidden>
>
Date: Wed, 6 Dec 2000 13:39:47 -0500
>
To: "AppleScript-users" <email@hidden>
>
Subject: Selecting entire line in BBedit.
>
>
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.