Hey, simple question...is there a way in Visual Studio 2005 to select text between brackets? Like theseI searched the web some time ago but only found some wierd keycombination that I could not reproduce.:PCode:{}
Hey, simple question...is there a way in Visual Studio 2005 to select text between brackets? Like theseI searched the web some time ago but only found some wierd keycombination that I could not reproduce.:PCode:{}
Actually those are braces.
Anyways, what exactly are you trying to do?Code:() = parentheses, [] = brackets, {} = braces
How do you want to select the text? You mean in the editor or programatically...?
I don't know of any.
Ctrl-} allows you to move the cursor between them, but I don't know any way to select that text.
Hey sorry for the delay, thanks for the replies!
I am using a swedish keyboard and the } sign is at Alt Gr-0 on that. Is it not like that on an english keyboard? I can't get Ctrl-} or Shift-Ctrl-} working in any way...
AFAIK, those are only the default key mappings. You should be able to remap to whatever you like.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
> English keyboards are horrible. Keys and things being everywhere they shouldn't be.
When I worked in Finland, I bought a UK keyboard with me because the native keyboards are just too weird
Spanish keyboards are nearly as bad, but I wasn't there for very long.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
>> It's probably shift-Ctrl-} then.
I can't believe I never tried that. Thanks.