Select All Code button

Thread Starter

Georacer

Joined Nov 25, 2009
5,182
I have seen in other forums a "Select All" button above every Code segment. You click it and it automatically selects all of the code, ready for you to copy it.

I find it very useful. Is there the possibility to implement that in AAC?
 

jrap

Joined Jun 25, 2006
1,125
Great suggestion Georacer - and sorry about the delay.

How is this:

Rich (BB code):
foo() {
    print bar;
}

Rob
 

nerdegutta

Joined Dec 15, 2009
2,684
That works great, not a beauty for the eye, but it works. Isn't it possible to change the button to something not so boring...?
 

debjit625

Joined Apr 17, 2010
790
Here we got a problem with "Select all" button, if we have more than one code tags all of them will be having its own "Select all" buttons but on clicking any one of them selects the code of the first code tag ..... here is the example

C code
Rich (BB code):
#include "stdio.h"
int main(void)
{
puts("Problem!");
return 0;
}
C++ code
Rich (BB code):
#include <iostream>
using namespace std;
 
int main()
{
cout<<"Problem!"<<endl;
return 0;
}
On clicking above Select all button it will select the C code not the C++ one.
 
Top