fixed flickering while caret is active
added default color for cpx-directive
added 'java' file extension