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 http://www.eclipse.org/legal/epl-v10.html /
 
 package org.eclipse.xtext.ui.editor.folding;

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

Parameters:
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