Code Mirror Hover Tooltips

Is there any way to use the hover tool tip… And make it active when it hover on lines rather than just words or text.

Yes, it should be possible to use hoverTooltip and write a callback that assigns tooltips to lines.