anchor.diff:      // Scan the original contents.
       //
       GatheringErrorListener originalListener = new GatheringErrorListener();
  -    Scanner originalScanner = new Scanner(source, new CharSequenceReader(originalContents), originalListener);
  +    Scanner originalScanner = new Scanner(
  +        source,
  +        new CharSequenceReader(originalContents),
  +        originalListener);
       _originalTokens = originalScanner.tokenize();
       expect(_originalTokens, isNotNull);
       //
       // Scan the modified contents.
       //
       GatheringErrorListener modifiedListener = new GatheringErrorListener();
  -    Scanner modifiedScanner = new Scanner(source, new CharSequenceReader(modifiedContents), modifiedListener);
  +    Scanner modifiedScanner = new Scanner(
  +        source,
  +        new CharSequenceReader(modifiedContents),
  +        modifiedListener);
       Token modifiedTokens = modifiedScanner.tokenize();
       expect(modifiedTokens, isNotNull);
       //
       // Incrementally scan the modified contents.
       //
       GatheringErrorListener incrementalListener = new GatheringErrorListener();
  -    _incrementalScanner = new IncrementalScanner(source, new CharSequenceReader(modifiedContents), incrementalListener);
  -    _incrementalTokens = _incrementalScanner.rescan(_originalTokens, replaceStart, removed.length, added.length);
  -    //
  -    // Validate that the results of the incremental scan are the same as the full scan of the
  -    // modified source.
  +    _incrementalScanner = new IncrementalScanner(
  +        source,
  +        new CharSequenceReader(modifiedContents),
  +        incrementalListener);
  +    _incrementalTokens = _incrementalScanner.rescan(
  +        _originalTokens,
  +        replaceStart,
  +        removed.length,
  +        added.length);
  +    //
  +    // Validate that the results of the incremental scan are the same as the
  +    // full scan of the modified source.
       //
       Token incrementalToken = _incrementalTokens;
       expect(incrementalToken, isNotNull);
  -    while (incrementalToken.type != TokenType.EOF && modifiedTokens.type != TokenType.EOF) {
  -      expect(incrementalToken.type, same(modifiedTokens.type), reason: "Wrong type for token");
  -      expect(incrementalToken.offset, modifiedTokens.offset, reason: "Wrong offset for token");
  -      expect(incrementalToken.length, modifiedTokens.length, reason: "Wrong length for token");
  -      expect(incrementalToken.lexeme, modifiedTokens.lexeme, reason: "Wrong lexeme for token");
  +    while (incrementalToken.type != TokenType.EOF
  +        && modifiedTokens.type != TokenType.EOF) {
  +      expect(
  +          incrementalToken.type,
  +          same(modifiedTokens.type),
  +          reason: "Wrong type for token");
  +      expect(
  +          incrementalToken.offset,
  +              modifiedTokens.offset,
  +              reason: "Wrong offset for token");
  +      expect(
  +          incrementalToken.length,
  +              modifiedTokens.length,
  +              reason: "Wrong length for token");
  +      expect(
  +          incrementalToken.lexeme,
  +              modifiedTokens.lexeme,
  +              reason: "Wrong lexeme for token");
         incrementalToken = incrementalToken.next;
         modifiedTokens = modifiedTokens.next;
       }
  -    expect(incrementalToken.type, same(TokenType.EOF), reason: "Too many tokens");
  -    expect(modifiedTokens.type, same(TokenType.EOF), reason: "Not enough tokens");
  +    expect(
  +        incrementalToken.type,
  +        same(TokenType.EOF),
  +        reason: "Too many tokens");
  +    expect(
  +        modifiedTokens.type,
  +        same(TokenType.EOF),
  +        reason: "Not enough tokens");
       // TODO(brianwilkerson) Verify that the errors are correct?
     }
   }
  
positive.code:     expect(_incrementalScanner.hasNonWhitespaceChange, isTrue);
    }
  
    void test_insert_period_betweenIdentifiers2() {
      // "a b;"
      // "a .b;"
      _scan("a ", "", ".", "b;");
      _assertTokens(0, 2, ["a", ".", "b", ";"]);
    }
  
    void test_insert_period_betweenIdentifiers3() {
      // "a  b;"
      // "a . b;"
      _scan("a ", "", ".", " b;");
      _assertTokens(0, 2, ["a", ".", "b", ";"]);
      expect(_incrementalScanner.hasNonWhitespaceChange, isTrue);
    }
  
    void test_insert_period_insideExistingIdentifier() {
  
negative.code:     expect(_incrementalScanner.hasNonWhitespaceChange, isTrue);
    }
  
    void test_insert_newIdentifier_noSpaceBefore() {
      // "a; c;"
      // "a;b c;"
      _scan("a;", "", "b", " c;");
      _assertTokens(1, 3, ["a", ";", "b", "c", ";"]);
      _assertReplaced(1, ";");
      expect(_incrementalScanner.hasNonWhitespaceChange, isTrue);
    }
  
    void test_insert_newIdentifier_spaceBefore() {
      // "a; c;"
      // "a; b c;"
      _scan("a; ", "", "b ", "c;");
      _assertTokens(1, 3, ["a", ";", "b", "c", ";"]);
      expect(_incrementalScanner.hasNonWhitespaceChange, isTrue);
    }
  
  