Lines 482-488
Link Here
|
482 |
int selectionStart, |
482 |
int selectionStart, |
483 |
int selectionEnd) { |
483 |
int selectionEnd) { |
484 |
|
484 |
|
485 |
Scanner scanner = new Scanner(); |
485 |
long complianceLevel = ClassFileConstants.JDK1_3; |
|
|
486 |
long sourceLevel = ClassFileConstants.JDK1_3; |
487 |
if (this.compilerOptions != null) { |
488 |
sourceLevel = this.compilerOptions.sourceLevel; |
489 |
complianceLevel = this.compilerOptions.complianceLevel; |
490 |
} |
491 |
|
492 |
Scanner scanner = |
493 |
new Scanner( |
494 |
false /*comment*/, |
495 |
false /*whitespace*/, |
496 |
false /*nls*/, |
497 |
sourceLevel, |
498 |
complianceLevel, |
499 |
null/*taskTag*/, |
500 |
null/*taskPriorities*/, |
501 |
true /*taskCaseSensitive*/); |
486 |
scanner.setSource(source); |
502 |
scanner.setSource(source); |
487 |
|
503 |
|
488 |
int lastIdentifierStart = -1; |
504 |
int lastIdentifierStart = -1; |