try {
expression = domNode.getFirstStructuredDocumentRegion()
.getParentDocument().get(textSelection.getOffset(),
textSelection.getLength());
// create the new watch expression
IWatchExpression watchExpression = expressionManager
.newWatchExpression(expression.trim());
expressionManager.addExpression(watchExpression);
// refresh and re-evaluate
watchExpression.setExpressionContext(getContext());
} catch (Exception e) {