* @see org.eclipse.jface.text.source.projection.IProjectionPosition#computeCaptionOffset(org.eclipse.jface.text.IDocument)
*/
public int computeCaptionOffset(IDocument document) {
// return offset;
try {
DocumentCharacterIterator sequence = new DocumentCharacterIterator(document,
offset, offset + length);
return findFirstContent(sequence, 0);
} catch (BadLocationException e) {
return offset;