Limit double-click selection scop for code line element

On double-click on a code line force selection of all content of this element only instead all line.
Alternatively, add a copy button on hover for each code line element.