Nov 23, 2012 09:54 AM
(This post was last modified: Nov 23, 2012 09:57 AM by Fiery Dreamer.)
If possible, could we have it so we can color certain areas in our code tags? That way, we can draw attention to important areas of code or have a different color for comments and such.
Examples:
Examples:
Code
public static void add_arrays(){
int array1[] = {
5,
6,
7,
8,
};
[color=#FF0000]int array2[] = {[/color]
12,
15,
17,
19,
};
int counter = 0;
int sum;
for(int x: array1){
[u]sum = array1[counter] + array2[counter];[/u]
System.out.println(array1[counter] + " + " + array2[counter] + " = " + sum);
[color=#32CD32]counter += 1;[/color]
}
[color=#6B8E23]//This should be a colored comment.[/color]


![[Image: DE93-ABEA-2-E28-4-F9-D-9-BB6-312-B3328937-E.png]](https://i.ibb.co/BcJWkqN/DE93-ABEA-2-E28-4-F9-D-9-BB6-312-B3328937-E.png)