4

When you use Ctrl + A on a Stack Overflow page, regardless of content, the default browser behavior is used -- which is to highlight everything on the page.

Other sites (like Gmail, etc.) have a neat JavaScript feature that converts Ctrl + A to a local selection for useful reasons.

I would suggest the excellent developers at Stack Exchange make such a feature. (i.e. trigger a JavaScript function when a user clicks in a code block that prepares Ctrl + A to select all the local code).

I can see reasons to avoid changing the default behavior -- in such a case, maybe it's time for a [copy] button next to all code blocks :-)

Alas, if not, I will continue my laborious click-and-drag (and scroll if needed) method.

EDIT:

This is apparently a feature-request that has been ignored for a long time.

2

0

You must log in to answer this question.

Browse other questions tagged .