boolean (Editor editor, final int charCountToWrapAt, boolean useCustomSoftWrapIndent) { int charWidthInPixels = 10; // we're adding 1 to charCountToWrapAt, to account for wrap character width, and 1 to overall width to overcome wrapping logic subtleties return configureSoftWraps(editor, (charCountToWrapAt + 1) * charWidthInPixels + 1, 1000, charWidthInPixels, useCustomSoftWrapIndent); }