hoverTooltip

Show a hover tooltip when the user points at text matching source.

Parameters

source

Function that, given a session and position, returns a tooltip or null.