private boolean isStringContinuation(int offset){
  int nextNonWSCharPosition=fScanner.findNonWhitespaceBackwardInAnyPartition(offset - 1,JavaHeuristicScanner.UNBOUND);
  try {
    if (nextNonWSCharPosition != JavaHeuristicScanner.NOT_FOUND && fDocument.getChar(nextNonWSCharPosition) == '"')     return true;
 else     return false;
  }
 catch (  BadLocationException e) {
    JavaPlugin.log(e);
    return false;
  }
}

private boolean isStringContinuation ( int offset ) { int nextNonWSCharPosition = fScanner . findNonWhitespaceBackwardInAnyPartition ( offset - 1 , JavaHeuristicScanner . UNBOUND ) ; try { if ( nextNonWSCharPosition != JavaHeuristicScanner . NOT_FOUND && fDocument . getChar ( nextNonWSCharPosition ) == '"' ) return true ; else return false ; } catch ( BadLocationException e ) { JavaPlugin . log ( e ) ; return false ; } }
tells whether the given string is a continuation expression .
