Skip to content

Commit b950165

Browse files
hansonrhansonr
authored andcommitted
allow ctrl-V
1 parent fa043ec commit b950165

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sources/net.sf.j2s.java.core/src/swingjs/plaf/JSTextUI.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,9 @@ protected Boolean checkAllowEvent(Object jQueryEvent) {
12851285
if (!isCTRL)
12861286
return null;
12871287
//TODO -- JEditorPane needs this -- right now we cannot do this correctly with multiple new lines
1288-
//allowKeyEvent(jQueryEvent);
1288+
1289+
if (!isEditorPane)
1290+
allowKeyEvent(jQueryEvent);
12891291
if (type == "keydown")
12901292
handleFutureInsert(false);
12911293
else if (type == "keyup")

0 commit comments

Comments
 (0)