On 6/10/18 at 11:43 PM, [email protected] (Jean-Christophe Helary)
wrote:
What's the easy way to select a block of lines specified by line
numbers?
Like, I have a big text and want to select from line 57 to line 293?
Here is an excerpt from the 12.1 change notes:
* "Go To Line" (either the menu command or the popover from the
cursor position display) support the specification of line
ranges, in addition to just a single line and column. For
example, entering one of these forms into the field will behave
as follows:
X moves the insertion point to the beginning of
line X
X:C moves the insertion point to column C of line X
X-Y selects the text from the beginning of line X
to the end of line Y
(including the line break at the end of the line).
X:C-Y selects the text from column C on line X to the
end of line Y
(including the line break at the end of the line).
X:C-Y:C2 selects the text from column C on line X to
column C2 on line Y.
In this way, you can use "Go to Line" to select ranges of text
based on line and column number.
R.
--
Rich Siegel Bare Bones Software, Inc.
<[email protected]> <http://www.barebones.com/>
Someday I'll look back on all this and laugh... until they
sedate me.
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.