Reader textReader = new StringReader(text);
GC gc = new GC(display);
try {
StringBuffer buf = new StringBuffer();
StructuredTextLineBreakingReader reader = new StructuredTextLineBreakingReader(
textReader, gc, getHoverWidth(display));
String line = reader.readLine();
while (line != null) {
if (buf.length() != 0) {
buf.append(lineDelim);
}
buf.append(line);
line = reader.readLine();
}
result = buf.toString();
} catch (IOException exception) {
Logger.logException(exception);
} finally {