Add option to select text between matching braces

Started by Arthur, April 23, 2009, 10:31:44 PM

Previous topic - Next topic

Arthur

I suggest adding an option to be able to select text between braces.

E.g. my code below:

errJobCreated = objNewJob.Create _
( sBinDir & "Cleanup.cmd", "********110000.000000" & offset , _
True, 64, , , JobID )

here I need to select all the text between (and)

Preferably I would like to have it available on right-click inside the file, under Selection... -> Select Between Matching Braces

alex

Use Expand/Shrink selection from Edit->Selection.
Repeat Expand until you get a desired region selected.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Arthur

Did not think about that, cool, I used Alt-Down Arrow straight while inside braces [works inside any braces, BTW] and it does what I need.
A hip-hip hooray to HippoEdit - the smartest editor of all!!

urlwolf

very useful!
however, for interacting with REPL like ipython, R etc (scratch python; currently HE doesn't support scopes that do not use {}), it'd be more useful if the scope selected didn't stop in the {} but selected from beginning of line.

Say I want to select an entire function... I need the begining, not only what's inside {}. Possible?

JJK


alex

Hello urlwolf,

can you please provide an example, then for me would be more easier to udertand what you mean ;)
If the question was about selection of the indentation scope (as python uses), then expand selection should be available automatically as I would add support of such type of outlining. Hope (as JJK it owuld come with 1.50 :) )

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]