if (offset < 1 || offset >= document.getLength()) return false;
	private static boolean areBlocksConsistent(IDocument document, int offset) {		int begin= offset;		int end= offset - 1;				while (true) {			begin= searchForOpeningPeer(document, begin - 1, '{', '}');			end= searchForClosingPeer(document, end + 1, '{', '}');			if (begin == -1 && end == -1)				return true;			if (begin == -1 || end == -1)				return false;		}			}