void (@NotNull Graphics g, CharSequence data, int start, int end, int x, int y, @JdkConstants.FontStyle int fontType, Color color, boolean drawWhitespace) { FontInfo fnt = EditorUtil.fontForChar(data.charAt(start), fontType, this); if (myLastCache != null && spacesOnly(data, start, end) && fnt.charWidth(' ') == myLastCache.spaceWidth) { // we don't care about font if we only need to paint spaces and space width matches myLastCache.addContent(g, data, start, end, x, y, null, drawWhitespace); } else { drawCharsCached(g, data, start, end, x, y, fnt, color, drawWhitespace); } }