public void SetInput(IDEInput input) { input.Process(this); this.input = input; current_code = input.GetCode(); file_name = input.GetFileName(); scroll_position = Vector2.zero; }
/* * 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); } } }
/* * 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); }
public void SetInput(IDEInput input) { input.Process (this); this.input = input; current_code = input.GetCode(); file_name = input.GetFileName(); scroll_position = Vector2.zero; }