Den 16.06.2011 21:13, skrev Greg Brown:
Because I don't like "type over". :-) If someone else wants to implement it,
they are more than welcome, though.
As I demonstrated, the key is used for lots of other stuff as well.
"Implement it" means adding one line to Keyboard.java, here's a patch :)
Or give me commit access and I'll add it myself :) hehe..
-- Edvin
Index: wtk/src/org/apache/pivot/wtk/Keyboard.java
===================================================================
--- wtk/src/org/apache/pivot/wtk/Keyboard.java (revision 1085206)
+++ wtk/src/org/apache/pivot/wtk/Keyboard.java (revision )
@@ -207,6 +207,7 @@
public static final int ESCAPE = KeyEvent.VK_ESCAPE;
public static final int BACKSPACE = KeyEvent.VK_BACK_SPACE;
public static final int DELETE = KeyEvent.VK_DELETE;
+ public static final int INSERT = KeyEvent.VK_INSERT;
public static final int UP = KeyEvent.VK_UP;
public static final int DOWN = KeyEvent.VK_DOWN;