};
}
		private int getLineEndOffset(TextBuffer buffer, int offset){			int line= buffer.getLineOfOffset(offset);			if (line != -1){				TextRegion info= buffer.getLineInformation(line);				return info.getOffset() + info.getLength();			} 			return -1;		};