&& !EditModelQuery.isTransparentText(Target.resolveNode(_part))) {
FlowBox flowBox = getBox();
if (flowBox instanceof TextFragmentBox) {
TextFragmentBox box = (TextFragmentBox) flowBox;
if (((TextEditPart) _part).getFigure() instanceof CSSTextFigure) {
CSSTextFigure figure = (CSSTextFigure) ((TextEditPart) _part)
.getFigure();
Rectangle boxRect = getAbsoluteBounds(box);
int index = FlowUtilities.getTextInWidth(box.getTextData(),
figure.getCSSStyle().getCSSFont().getSwtFont(),
_point.x - boxRect.x, TextLayoutSupport
.getAverageCharWidth(box));
result = new DesignPosition(_part, box._offset + index);
}
}