Add handleMouseEvents option to markText and addLineWidget