Highlighting of groups of text now programatically working. The next step is to listen for mouseover events on the canvas and highlight the appropriate line.