return null;
}
IDOMPosition startPos = _resultRange.getStartPosition();
DesignPosition start = DOMPositionHelper.toDesignPosition(startPos);
if (_resultRange.isEmpty()) {
return new DesignRange(start, start);
}
IDOMPosition endPos = _resultRange.getEndPosition();
return new DesignRange(start, DOMPositionHelper
.toDesignPosition(endPos));
// TODO: don't know what this exception catch is for
// } catch (Exception e) {
// // "Selection error"
// _log.error("Error.RangeModeCommand.SetSelection"); //$NON-NLS-1$