if (text != null) { int top= text.getTopIndex(); if ((text.getTopPixel() % text.getLineHeight()) != 0)
if (fTextWidget != null && !fTextWidget.isDisposed()) { int top= fSourceViewer.getTopIndex(); if ((fTextWidget.getTopPixel() % fTextWidget.getLineHeight()) != 0)
	private static int getInclusiveTopIndexStartOffset(StyledText text, IDocument document, int visibleRegionOffset) {				if (text != null) {				int top= text.getTopIndex();			if ((text.getTopPixel() % text.getLineHeight()) != 0)				top--;			try {				top= document.getLineOffset(top -  visibleRegionOffset);				return top + visibleRegionOffset;			} catch (BadLocationException ex) {			}		}				return -1;	}