GetCursorPosition() public méthode

public GetCursorPosition ( ) : int
Résultat int
Exemple #1
0
    public override void Process(IDE ide)
    {
        //Right now we just print out the build errors and the completions
        //  Ulitimately, we'll need to parse this (on the Euclid side) and display the information to the user somehow.
        //  But I'm not really sure where to put the build errors in our IDE.
        //  And I'm not sure how I want to implement the drop-down menu for the code completion.
        //In any event, we are fetching the info we need.  We just need to massage it and display.

        string messages = eclipse.JavaSrcUpdateString(short_file_name,project_name);
        Debug.Log(messages);

        int cursor = ide.GetCursorPosition();

        string completions=eclipse.JavaCompleteString(short_file_name,project_name,cursor);
        Debug.Log(completions);
    }
Exemple #2
0
    override public void Process(IDE ide)
    {
        //Right now we just print out the build errors and the completions
        //  Ulitimately, we'll need to parse this (on the Euclid side) and display the information to the user somehow.
        //  But I'm not really sure where to put the build errors in our IDE.
        //  And I'm not sure how I want to implement the drop-down menu for the code completion.
        //In any event, we are fetching the info we need.  We just need to massage it and display.



        string messages = eclipse.JavaSrcUpdateString(short_file_name, project_name);

        Debug.Log(messages);

        int cursor = ide.GetCursorPosition();

        string completions = eclipse.JavaCompleteString(short_file_name, project_name, cursor);

        Debug.Log(completions);
    }