Remove showTextDocument from another code path
Remove showTextDocument from another code path

Similar to #1083.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code