예제 #1
0
 public void SetInput(IDEInput input)
 {
     input.Process(this);
     this.input      = input;
     current_code    = input.GetCode();
     file_name       = input.GetFileName();
     scroll_position = Vector2.zero;
 }
예제 #2
0
    /*
     * The IDE's IDEInput is allowed to directly change the state of the IDE.
     * Primarily, this is to allow the EclipseInput to communicate with Eclipse
     * and make appropriate state changes to the Unidee IDE.
     */
    void inputProcessing()
    {
        while (true)
        {
            if (!paused)
            {
                writeOut();

                input.Process(this);

                Thread.Sleep(500);
            }
        }
    }
예제 #3
0
 /*
  * The IDE's IDEInput is allowed to directly change the state of the IDE.
  * Primarily, this is to allow the EclipseInput to communicate with Eclipse
  * and make appropriate state changes to the Unidee IDE.
  */
 void inputProcessing()
 {
     writeOut();
     input.Process(this);
 }
예제 #4
0
파일: IDE.cs 프로젝트: srfoster/CodeSpells
	public void SetInput(IDEInput input)
	{
		input.Process (this);
		this.input = input;
		current_code = input.GetCode();
		file_name = input.GetFileName();
		scroll_position = Vector2.zero;
	}