diff --git a/src/main/java/io/github/spencerpark/ijava/JavaKernel.java b/src/main/java/io/github/spencerpark/ijava/JavaKernel.java index aef9a41..63adc6a 100644 --- a/src/main/java/io/github/spencerpark/ijava/JavaKernel.java +++ b/src/main/java/io/github/spencerpark/ijava/JavaKernel.java @@ -354,7 +354,7 @@ public ReplacementOptions complete(String code, int at) { .distinct() .collect(Collectors.toList()); - return new ReplacementOptions(options, replaceStart[0], at + 1); + return new ReplacementOptions(options, replaceStart[0], at); } @Override