Edit Screen: Simplify creation of links from DiffInfo

There is no need to retain the entire DiffInfo just for
the links collection. Instead extract the links in the
callback and use them if available.

Simplify initEditor by setting up the links after the
editor is created. There is no specific ordering here
that requires the link setup to be done by initEditor.

Change-Id: I1112ebd953ab3d8b00f7ecc310e7e28a57eeff09
1 file changed