int width = wHint != SWT.DEFAULT ? wHint : 0;
FontMetrics fm = gc.getFontMetrics();
int lineHeight = fm.getHeight();
boolean selectableInTheLastRow = false;
for (int i = 0; i < paragraphs.length; i++) {
Paragraph p = paragraphs[i];
if (i > 0 && getParagraphsSeparated()
&& p.getAddVerticalSpace())
loc.y += getParagraphSpacing(lineHeight);
loc.rowHeight = 0;
loc.indent = p.getIndent();
loc.x = p.getIndent();
ParagraphSegment[] segments = p.getSegments();
if (segments.length > 0) {
selectableInTheLastRow = false;
int pwidth = 0;
for (int j = 0; j < segments.length; j++) {
ParagraphSegment segment = segments[j];