Lines 2311-2317
Link Here
|
2311 |
if(this.noProposal && this.problem != null) { |
2311 |
if(this.noProposal && this.problem != null) { |
2312 |
if(!contextAccepted) { |
2312 |
if(!contextAccepted) { |
2313 |
contextAccepted = true; |
2313 |
contextAccepted = true; |
2314 |
this.requestor.acceptContext(new CompletionContext()); |
2314 |
CompletionContext context = new CompletionContext(); |
|
|
2315 |
context.setExtended(this.requestor.isExtendedContextRequired()); |
2316 |
this.requestor.acceptContext(context); |
2315 |
} |
2317 |
} |
2316 |
this.requestor.completionFailure(this.problem); |
2318 |
this.requestor.completionFailure(this.problem); |
2317 |
if(DEBUG) { |
2319 |
if(DEBUG) { |
Lines 2344-2350
Link Here
|
2344 |
} |
2346 |
} |
2345 |
if(!contextAccepted) { |
2347 |
if(!contextAccepted) { |
2346 |
contextAccepted = true; |
2348 |
contextAccepted = true; |
2347 |
this.requestor.acceptContext(new CompletionContext()); |
2349 |
CompletionContext context = new CompletionContext(); |
|
|
2350 |
context.setExtended(this.requestor.isExtendedContextRequired()); |
2351 |
this.requestor.acceptContext(context); |
2348 |
} |
2352 |
} |
2349 |
if(this.requestor != null){ |
2353 |
if(this.requestor != null){ |
2350 |
this.requestor.endReporting(); |
2354 |
this.requestor.endReporting(); |
Lines 2565-2570
Link Here
|
2565 |
CompletionContext context = new CompletionContext(); |
2569 |
CompletionContext context = new CompletionContext(); |
2566 |
context.setOffset(completionPosition - this.offset); |
2570 |
context.setOffset(completionPosition - this.offset); |
2567 |
context.setTokenKind(CompletionContext.TOKEN_KIND_UNKNOWN); |
2571 |
context.setTokenKind(CompletionContext.TOKEN_KIND_UNKNOWN); |
|
|
2572 |
context.setExtended(this.requestor.isExtendedContextRequired()); |
2568 |
this.requestor.acceptContext(context); |
2573 |
this.requestor.acceptContext(context); |
2569 |
} |
2574 |
} |
2570 |
this.requestor.completionFailure(this.problem); |
2575 |
this.requestor.completionFailure(this.problem); |
Lines 2610-2615
Link Here
|
2610 |
CompletionContext context = new CompletionContext(); |
2615 |
CompletionContext context = new CompletionContext(); |
2611 |
context.setTokenKind(CompletionContext.TOKEN_KIND_UNKNOWN); |
2616 |
context.setTokenKind(CompletionContext.TOKEN_KIND_UNKNOWN); |
2612 |
context.setOffset(completionPosition - this.offset); |
2617 |
context.setOffset(completionPosition - this.offset); |
|
|
2618 |
context.setExtended(this.requestor.isExtendedContextRequired()); |
2613 |
this.requestor.acceptContext(context); |
2619 |
this.requestor.acceptContext(context); |
2614 |
} |
2620 |
} |
2615 |
this.requestor.endReporting(); |
2621 |
this.requestor.endReporting(); |