JFaceTextUtil.isEmpty(
ITextViewer viewer,
ITextSelection selection)
Returns true if the text covered by selection does not contain any
characters in the given viewer.
TextViewerDeleteLineTarget.deleteLine(
IDocument document,
ITextSelection selection,
int type,
boolean copyToClipboard)
Deletes the lines that intersect with the given selection.