コード例 #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;
	}