< prev index next >
src/java.desktop/share/classes/javax/swing/text/WrappedPlainView.java
Print this page
*** 226,235 ****
--- 226,238 ----
* views to determine the break location. This can
* be reimplemented to alter the breaking behavior.
* It will either break at word or character boundaries
* depending upon the break argument given at
* construction.
+ * @return the break position
+ * @param p0 the starting document location
+ * @param p1 the ending document location to use
*/
protected int calculateBreakPosition(int p0, int p1) {
int p;
Segment segment = SegmentCache.getSharedSegment();
loadText(segment, p0, p1);
< prev index next >