package org.terasology.logic.jedit;

import org.terasology.entitySystem.entity.EntityRef;
import org.terasology.entitySystem.event.ReceiveEvent;
import org.terasology.entitySystem.systems.BaseComponentSystem;
import org.terasology.entitySystem.systems.RegisterSystem;
import org.terasology.input.ButtonState;
import org.terasology.input.binds.general.JeditButton;
import org.terasology.network.ClientComponent;
import org.terasology.utilities.jedit.JeditManager;

/**
 * Open Jedit
 * @author Patricio Huepe
 */
@RegisterSystem
public class JeditSystem extends BaseComponentSystem {
	 @ReceiveEvent(components = ClientComponent.class)
	 public void onToggleChat(JeditButton event, EntityRef entity) {
		 if (event.getState() == ButtonState.DOWN) {
			 JeditManager.openJedit("test.java");
	         event.consume();
	    }
	 }
}
@@ -647,18 +647,15 @@
 id o
-nToggleCha
+penJedi
 t(Je
@@ -818,8 +818,10 @@
  %7D%0A%09 %7D%0A%7D
+%0A%0A

Change of a method name