Highlight part of a line

Hi,

I was looking at CodeMirror Zebra stripe example and I am wondering if it is possible to modify the code to just highlight just part of the line like the word line? If so, what would you need change.

To style a range of text, you want Decoration.mark instead of Decoration.line.