IG Syntax Hiliter

Today I talked to arjan about the wordpress setup used for the company blog. I welcome the addition of the blog for sharing knowlegde with the community. One thing I noticed was the well looking syntax…

Arjan told me this was done by using the IG Syntax Hiliter using some custom modifications by Erik.

I installed the lot, so you can join me in cursing the examples which I’m studying for my programmers exam:

[java]
public class Eggs{
int doX(Long x, Long y) { return 1; }
int doX(long … x) { return 2; }
int doX(Integer x, Integer y) { return 3; }
int doX(Number x, Number y) { return 4; }
int doX(short … x) { return 5; }

public static void main(String … args){
new Eggs().go();
}

void go(){
short s = 7;
System.out.print(doX(s,s) + ” “);
System.out.println(doX(7,7));
}
}
[/java]

Brrr… I just hate this type of code… but hey, need to pass the upcoming exam!

This entry was posted in java. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>