Examples of IMultilineElement


Examples of org.epic.core.model.IMultilineElement

    {
        IDocument doc = getSourceFile().getDocument();

        while (elements.hasNext())
        {
            IMultilineElement e = (IMultilineElement) elements.next();

            if (e.getStartLine() == e.getEndLine())
            {
                continue;
            }

            int offset = doc.getLineOffset(e.getStartLine());
            int length =
                doc.getLineOffset(e.getEndLine()) - offset + doc.getLineLength(e.getEndLine());

            /*
             * store the position and annotation - the position is needed to create the fold, while
             * the annotation is needed to remove it
             */
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.