diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index fbee90fac..c3ff52828 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -2914,8 +2914,8 @@ public class PGraphics extends PImage implements PConstants { * Emit a sentence of text, defined as a chunk of text without any newlines. * @param stop non-inclusive, the end of the text in question */ - private boolean textSentence(char[] buffer, int start, int stop, - float boxWidth, float spaceWidth) { + protected boolean textSentence(char[] buffer, int start, int stop, + float boxWidth, float spaceWidth) { float runningX = 0; // Keep track of this separately from index, since we'll need to back up @@ -2980,7 +2980,7 @@ public class PGraphics extends PImage implements PConstants { } - private void textSentenceBreak(int start, int stop) { + protected void textSentenceBreak(int start, int stop) { if (textBreakCount == textBreakStart.length) { textBreakStart = PApplet.expand(textBreakStart); textBreakStop = PApplet.expand(textBreakStop);