record (String text, boolean useRename, int offset, TextRange rangeToCheck) { SpellcheckRange(String text) { this(text, false); } SpellcheckRange(String text, boolean useRename) { this(text, useRename, 0, TextRange.allOf(text)); } }