Accepted Code helper lines are misaligned.

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Gamebuster

Addon Developer
Jan 25, 2017
26
3
3
124
Ur-Anus
Code:
  public static String addCommas(String s){
    String ret = "";
    for(int i = s.length() - 1, j = 1; i > -1; i--, j++){//reverse iteration
      ret = s.charAt(i) + ret;
      if (j % 3 == 0){ //if evenly divisble by 3
          ret = "," + ret;
      }
    }
    return ret;
}

You can see that the above text does not align with the shaded boxes for each line. It makes it difficult to tell what line i'm on.
 
Code:
test
[doublepost=1486946542,1486946263][/doublepost]
It's still a bit wonky, the code tags are taking up the first and last lines

[code ]
code
[/code ]

creates a line before and a line after the word 'code'

Code:
code
That's because you are adding a return. Don't do that and it'll look correct.