if (fBoundaries != null)
fBoundaries.setText(fText.createCharacterIterator());
anchorStart.assign(current);
advanceToPreviousBoundary(anchorStart);
anchorEnd.assign(current);
advanceToNextBoundary(anchorEnd);
}
// if we _are_ extending the selection, determine our anchor range as follows:
// fAnchor is the start of the anchor range;