# Select source code

#### nerdegutta

Joined Dec 15, 2009
2,676
Hi.

Some years ago, we had a Select - button. It allowed us to select the source code, when the CODE - tag was used.

What happened to it?

#### ericgibbs

Joined Jan 29, 2010
10,189
hi,
Do you have this option, ref image.

#### Attachments

• 16.1 KB Views: 6

#### nerdegutta

Joined Dec 15, 2009
2,676
Yes, but there was a button below the source frame.
C:
void main(){
while (1) {
// do nothing, just wait
}
}
There was a button that said select, and we could select all the source code, and hit CTRL+C, and paste in in wherever we'd like.

#### nsaspook

Joined Aug 27, 2009
7,354
How do you get rid of the line numbers in a Code section?

#### tjohnson

Joined Dec 23, 2014
611
How do you get rid of the line numbers in a Code section?
That question has been asked before in the thread Small improvement to [CODE] tag.
It is possible to turn line numbering off? That makes it easier to copy code from a post to try and run it. Not a biggie since you can copy it from a Reply box if needed.
The line numbers don't get selected when I select code in a post, so I don't see a need to be able to turn them off.

#### nerdegutta

Joined Dec 15, 2009
2,676
How do you get rid of the line numbers in a Code section?
I do not know, but as @tjohnson says, quote or hit reply, then the source code shows up in the textbox. Mark and copy from there. No line numbers.

I wonder what happened to the Select-button, thou...

#### tjohnson

Joined Dec 23, 2014
611
I do not know, but as @tjohnson says, quote or hit reply, then the source code shows up in the textbox. Mark and copy from there. No line numbers.
@nerdegutta: You don't even need to do that. Just try to mark and copy code within a post. The line numbers shouldn't get selected or copied.

#### nerdegutta

Joined Dec 15, 2009
2,676
@nerdegutta: You don't even need to do that. Just try to mark and copy code within a post. The line numbers shouldn't get selected or copied.
You are quite right. Thanks.

But what happened to the button?

#### tjohnson

Joined Dec 23, 2014
611
You are quite right. Thanks.

But what happened to the button?
I haven't been a member of the forum long enough to know for sure, but I suspect that the Select button was part of the old vBulletin forum software. I don't know if XenForo supports this feature or not.