fix highlighting context range parsing
pass empty array instead of undefined
compact formating
remove extra return