1
/*******************************************************************************
2
* Copyright (c) 2000, 2011, 2013 IBM Corporation and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* IBM Corporation - initial API and implementation
10
* Sergey Prigogin (Google)
11
* Red Hat Inc. - modified for use in SystemTap
12
*******************************************************************************/
13
package org.eclipse.linuxtools.internal.systemtap.ui.ide.editors.stp;
15
public class OptimizedReplaceEdit {
20
public OptimizedReplaceEdit(int offset, int length, CharSequence replacement) {
23
this.replacement = replacement.toString();
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$