fix bug where syntax highlighter could bail out early if a syntax node was zero characters long