Package org.erlide.ui.internal

Examples of org.erlide.ui.internal.DocumentCharacterIterator


         * computeFoldingRegions(org.eclipse.jface.text.IDocument)
         */
        @Override
        public IRegion[] computeProjectionRegions(final IDocument document)
                throws BadLocationException {
            final DocumentCharacterIterator sequence = new DocumentCharacterIterator(
                    document, offset, offset + length);
            final int prefixEnd = 0;
            final int contentStart = findFirstContent(sequence, prefixEnd);

            final int firstLine = document.getLineOfOffset(offset + prefixEnd);
View Full Code Here


         * computeCaptionOffset(org.eclipse.jface.text.IDocument)
         */
        @Override
        public int computeCaptionOffset(final IDocument document) {
            // return 0;
            final DocumentCharacterIterator sequence = new DocumentCharacterIterator(
                    document, offset, offset + length);
            return findFirstContent(sequence, 0);
        }
View Full Code Here

TOP

Related Classes of org.erlide.ui.internal.DocumentCharacterIterator

Copyright © 2018 www.massapicom. 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.