history code highlighting