/*******************************************************************************
* Copyright (c) 2014-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.ide.editor.orion.client.jso;
/**
* This is the event sent when the text in the model has changed.
* @author Evgen Vidolob
*/
public class ModelChangedEventOverlay extends OrionEventOverlay {
protected ModelChangedEventOverlay() {
}
/**
* @return the number of characters added to the model.
*/
public final native int addedCharCount() /*-{
return this.addedCharCount;
}-*/;
/**
* @return The number of lines added to the model.
*/
public final native int addedLineCount() /*-{
return this.addedLineCount;
}-*/;
/**
* @return The number of characters removed from the model.
*/
public final native int removedCharCount() /*-{
return this.removedCharCount;
}-*/;
/**
* @return The number of lines removed from the model.
*/
public final native int removedLineCount() /*-{
return this.removedLineCount;
}-*/;
/**
* @return The character offset in the model where the change has occurred.
*/
public final native int start() /*-{
return this.start;
}-*/;
}