Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2010 Michael Clay and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at /
 package org.eclipse.xtext.ui.editor.folding;

Michael Clay - Initial contribution and API
Sebastian Zarnekow - Distinguish between total and identifying region
public interface IFoldingRegionAcceptor<AdditionalParam> {
	void accept(int offsetint length);

offset of the significant content
length of the significant content
param used to compute the significant region.
	void accept(int offsetint length, AdditionalParam param);
New to GrepCode? Check out our FAQ X