modularize underlines and hands for text decorations
create a fresh instance of layout state every time and pass it to handlers
display informations about text decorations on mouseover