Is there an easy way to select all code in a code block?

What I've been doing is to click and drag to select code. Is there a hotkey that will select only the code? CTRL-A selects all text on the page.