Package org.eclipse.ui.internal.texteditor.quickdiff.compare.rangedifferencer

Examples of org.eclipse.ui.internal.texteditor.quickdiff.compare.rangedifferencer.RangeDifference.shiftLeft()



    // shift the partial diffs to the absolute document positions
    for (Iterator it= diffs.iterator(); it.hasNext();) {
      RangeDifference d= (RangeDifference) it.next();
      d.shiftLeft(leftStartLine);
      d.shiftRight(rightStartLine);
    }

    // undo optimization shifting
    if (shiftBefore > 0) {
View Full Code Here


            changed= true;
          else
            break;
        }
//        fChanged.add(current); // not needed since positional shifting is not handled by an annotation model
        current.shiftLeft(leftShift);
        current.shiftRight(rightShift);
      }
     
      fUpdateNeeded= changed;
    }
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.