ParameterizedCompletionChoicesWindow pcw =
new ParameterizedCompletionChoicesWindow(tooltip.getOwner(), ac);
pcw.initialize(pc);
return pcw;
}
<BUG>private int getCurrentParameterStartOffset() {
JTextComponent tc = ac.getTextComponent();</BUG>
int dot = tc.getCaretPosition();
if (dot>0) {
dot--; // Workaround for Java Highlight issues

ParameterizedCompletionChoicesWindow pcw =
new ParameterizedCompletionChoicesWindow(tooltip.getOwner(), ac);
pcw.initialize(pc);
return pcw;
}
private Highlight getCurrentParameterHighlight() {
JTextComponent tc = ac.getTextComponent();
int dot = tc.getCaretPosition();
if (dot>0) {
dot--; // Workaround for Java Highlight issues
