Lines 1504-1509
Link Here
|
1504 |
StringLiteral stringLiteral= (StringLiteral) node; |
1504 |
StringLiteral stringLiteral= (StringLiteral) node; |
1505 |
String stringValue= stringLiteral.getEscapedValue(); |
1505 |
String stringValue= stringLiteral.getEscapedValue(); |
1506 |
|
1506 |
|
|
|
1507 |
// check that string consists of only one part, because "a" + "b" is _single_ StringLiteral |
1508 |
if (stringValue.length() != 1 + (valueEnd - valueStart) + 1) { |
1509 |
return false; |
1510 |
} |
1511 |
|
1507 |
int firstPos= selectionPos - node.getStartPosition(); |
1512 |
int firstPos= selectionPos - node.getStartPosition(); |
1508 |
int secondPos= firstPos + selectionLen; |
1513 |
int secondPos= firstPos + selectionLen; |
1509 |
|
1514 |
|