public void foldSetStartOffset(Fold fold, Document doc, int startOffset) throws BadLocationException { fold.setStartOffset(doc, startOffset); }