Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2009 itemis AG ( 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.hyperlinking;
import  org.eclipse.jface.text.hyperlink.IHyperlink;
The hyperlink helper should be implemented to detect hyperlinks at a given offset in a resource.

Sebastian Zarnekow - Initial contribution and API
public interface IHyperlinkHelper {

Create hyperlinks at the given offset. Return null if no hyperlinks are available.
	IHyperlink[] createHyperlinksByOffset(XtextResource resourceint offsetboolean createMultipleHyperlinks);
New to GrepCode? Check out our FAQ X