8131017: jshell tool: pasting code with tabs invokes tab completion
Enabling copy-paste detection. Reviewed-by: lagergren, rfield, sundar
This commit is contained in:
parent
7bcc48f00e
commit
c4dedff7c1
@ -97,6 +97,7 @@ class ConsoleIOContext extends IOContext {
|
||||
}
|
||||
});
|
||||
in.setBellEnabled(true);
|
||||
in.setCopyPasteDetection(true);
|
||||
in.addCompleter(new Completer() {
|
||||
private String lastTest;
|
||||
private int lastCursor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user