Author: koen.aers(a)jboss.com
Date: 2011-07-28 03:54:53 -0400 (Thu, 28 Jul 2011)
New Revision: 33298
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/Console.java
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ConsoleViewer.java
Log:
provisional programmatic binding of F1 to send a meta command to the Forge runtime
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/Console.java
===================================================================
---
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/Console.java 2011-07-28
07:53:13 UTC (rev 33297)
+++
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/Console.java 2011-07-28
07:54:53 UTC (rev 33298)
@@ -58,7 +58,6 @@
ForgeOutputListener target = new ForgeOutputListener() {
@Override
public void outputAvailable(String output) {
- System.out.println("ForgeOutputListener->outputAvailable : " + output);
appendString(output);
}
};
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ConsoleViewer.java
===================================================================
---
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ConsoleViewer.java 2011-07-28
07:53:13 UTC (rev 33297)
+++
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ConsoleViewer.java 2011-07-28
07:54:53 UTC (rev 33298)
@@ -44,7 +44,7 @@
}
private void handleF1Down() {
- runtime.sendInput((char)27 + "[%hidden blahblahblah" +(char)27 +
"[%");
+ runtime.sendInput(new Character((char)31).toString() + "hidden
command!\n"); // + (char)27 + "[%\n");
}
protected StyledText createTextWidget(Composite parent, int styles) {
Show replies by date