Correct.
And you can also open the selection by clicking on the fullscreen pointer next to copy on the top right of the code box.
Personally, I think Hide Details only really makes sense for large blocks of non-code text (e.g. an explanation about something or perhaps multiple items like here).