Added whenComplete to TextEditor and propagated the Future to down to NavigationManager's use of _selectFile() so that navigation happens after file is finished loading.
Cleaned up & fixed an incorrect return
removed print statement
Review fixes
Merge pull request #1920 from dart-lang/umop-linking-link_to_unopened

Added whenComplete to TextEditor and fixed gotoDeclaration when files are unopened.