Skip to content

Commit

Permalink
Fix #56.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerPark committed May 5, 2019
1 parent 4ceadf4 commit 8e7b6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/github/spencerpark/ijava/JavaKernel.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e7b6b6

Please sign in to comment.