Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsHow to obtain starting offset in textual representation of a model element?
https://www.eclipse.org/forums/index.php/mv/msg/452609/1007330/#msg_1007330
I would like to know how it is possible to get the starting offset in the textual representation in my DSL editor for a given element of the EMF model, in other words, for a node of the AST.
Thanks in advance,
Marco ]]>Marco Naddeo2013-02-05T14:45:41-00:00Re: How to obtain starting offset in textual representation of a model element?
https://www.eclipse.org/forums/index.php/mv/msg/452609/1007412/#msg_1007412
org.eclipse.xtext.nodemodel.util.NodeModelUtils.findActualNodeFor(EObject)