Package jetbrains.communicator.util

Examples of jetbrains.communicator.util.PositionCorrector


  private PositionCorrector createPositionCorrector() {
    updateFacade();
    VFile localFile = (VFile) myRemoteFile.clone();
    myFacade.fillFileContents(localFile);
    return new PositionCorrector(myFacade, myRemoteFile.getContents(), localFile.getContents());
  }
View Full Code Here


        myFacade.showMessage(StringUtil.getMsg("unable.to.open"),
            StringUtil.getMsg("idea.link.noeditor", virtualFile.getPresentableUrl()));
        return;
      }

      PositionCorrector positionCorrector = createPositionCorrector();
      int startOffset = editor.logicalPositionToOffset(getStartLogicalPosition(positionCorrector));
      int endOffset = editor.logicalPositionToOffset(getEndLogicalPosition(positionCorrector));

      startOffset = moveToTextBounds(startOffset, editor.getDocument().getTextLength());
      endOffset = moveToTextBounds(endOffset, editor.getDocument().getTextLength());
View Full Code Here

TOP

Related Classes of jetbrains.communicator.util.PositionCorrector

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.