package com.codenvy.ide.jseditor.client.text;


/**
 * Oriented range of text.<br>
 */
public class TextRange {
    /** The start position of the range. */
    private final TextPosition from;

    /** The end position of the range. */
    private final TextPosition to;

    public TextRange(final TextPosition from, final TextPosition to) {
        this.from = from;
        this.to = to;
    }

    public TextPosition getFrom() {
        return this.from;
    }

    public TextPosition getTo() {
        return this.to;
    }
}

@@ -1,8 +1,525 @@
+/*******************************************************************************%0A * Copyright (c) 2014 Codenvy, S.A.%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A *%0A * Contributors:%0A *   Codenvy, S.A. - initial API and implementation%0A *******************************************************************************/%0A
 package 

Add missing header