Community
Participate
Working Groups
When I attempt to copy or cut a section of text from a file using Apple-C/Apple-V, a dialog appears saying: Error Executing Command The command for the key you pressed failed Reason: The command for the key you pressed failed If I choose Edit->Copy or Edit->Cut, it just fails silently. This only happens with Java source files that make use of the assert keyword. This can easily by reproduced with the following steps: 1. Create a new dummy project for testing. Make sure that the assert keyword is allowed. 2. Create a new class, "Main". 3. Make Main.java read as follows: /** * Main line for tests. */ public final class Main { public void main (final String[] argv) { assert (false):("foobar"); } } 4. Save Main.java. 5. Open another file in another editor. Switch to that tab, and switch back to Main.java. 6. Select some text and use Apple-C to try to copy it. 7. See the error message I mentioned above.
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-text-home/development/bug-incomplete.htm
Get rid of deprecated state.
.