The Underline package is a subset of the Editor package, and contains API's for creating, mainting, and applying underlines to regions of text in the editor pane.