Fixed: couldn't launch linked files nor launch files under a linked folder when local...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / formatter / OptimizedReplaceEdit.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 International Business Machines Corp. and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0 
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  ******************************************************************************/
11 package net.sourceforge.phpdt.internal.formatter;
12
13 class OptimizedReplaceEdit {
14
15         int offset;
16
17         int length;
18
19         String replacement;
20
21         OptimizedReplaceEdit(int offset, int length, String replacement) {
22                 this.offset = offset;
23                 this.length = length;
24                 this.replacement = replacement;
25         }
26
27         public String toString() {
28                 return "(" + this.offset + ", length " + this.length + " :>" + this.replacement + "<"; //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$//$NON-NLS-4$
29         }
30 }