Package org.eclipse.php.internal.core.format

Examples of org.eclipse.php.internal.core.format.IndentationObject


   */
  protected void smartPaste(IDocument document, DocumentCommand command) {
    if (command.offset == -1 || document.getLength() == 0)
      return;
    StringBuffer helpBuffer = new StringBuffer();
    IndentationObject indentationObject = null;
    try {
      if (document instanceof IStructuredDocument) {
        indentationObject = new IndentationObject(
            (IStructuredDocument) document);
        defaultStrategy.placeMatchingBlanksForStructuredDocument(
            (IStructuredDocument) document, helpBuffer,
            document.getLineOfOffset(command.offset),
            command.offset);
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.format.IndentationObject

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.