private void javaStringIndentAfterNewLine(IDocument document, DocumentCommand command) throws BadLocationException {
- ITypedRegion partition= TextUtilities.getPartition(document, fPartitioning, command.offset);
+ ITypedRegion partition= TextUtilities.getPartition(document, fPartitioning, command.offset, false);
int offset= partition.getOffset();
int length= partition.getLength();