implement PrologPad semantic highlighting in QtWebKit