/*******************************************************************************
 * Copyright (c) 2014 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 com.codenvy.ide.editor.codemirror.client.jso;

import com.google.gwt.core.client.JavaScriptObject;

public class CMPositionOverlay extends JavaScriptObject {
    protected CMPositionOverlay() {
    }

    public final native int getLine()/*-{
        return this.line;
    }-*/;

    public final native int getCharacter()/*-{
        return this.ch;
    }-*/;

    public static final native CMPositionOverlay create(int line, int character) /*-{
        var result = {};
        result.line = line;
        result.ch = character;
        return result;
    }-*/;
}

@@ -618,16 +618,66 @@
 bject;%0A%0A
+/**%0A * A line+character position in the text.%0A */%0A
 public c
@@ -769,16 +769,86 @@
 %0A    %7D%0A%0A
+    /**%0A     * Returns the line part.%0A     * @return the line%0A     */%0A
     publ
@@ -876,16 +876,17 @@
 etLine()
+ 
 /*-%7B%0A   
@@ -911,32 +911,112 @@
 ine;%0A    %7D-*/;%0A%0A
+    /**%0A     * Returns the character part.%0A     * @return the character%0A     */%0A
     public final
@@ -1041,16 +1041,17 @@
 racter()
+ 
 /*-%7B%0A   
@@ -1078,24 +1078,228 @@
 %0A    %7D-*/;%0A%0A
+    /**%0A     * Creates a new instance of position.%0A     * @param line the line part of the position%0A     * @param character the character part of the position%0A     * @return the position instance%0A     */%0A
     public s

Add missing javadoc