title: How to open .pas file from another app in already open Delphi IDE and position to line#
body: <p>Assuming I have the Delphi IDE open, how can I open a <code>.pas</code> file selected in another app and open it in the Delphi IDE, as well as positioning it to a specific line number?</p>
  
  <p>I've seen some editing tools do this. </p>
  
  <p>I'm not sure if it's just an option to a normal file open (eg., using default file association), or a command-line option, or you need DDE or COM or something entirely different.</p>
  
  <p>Note that I don't want to close the project and reopen a new or fake project. </p>
  
  <p>Also, I don't want the file added to the project. I just want to open it. </p>
  
  <p>For example, When you <code>&lt;ctrl&gt;-click</code> on a varible or type, the IDE will open the file containing that symbol and go to the line where that symbol is declared. That's all I want to do -- but from an external app. (I'm not looking for a symbol, just a line.) </p>
  
  <p>I'm using Delphi XE5 at the moment, so I'm interested in newer Delphi versions, not pre-XE2 or so.</p>
  
  <p>(Part of the question is, how do I ensure that if the IDE is already open, the the file is opened in anew tab inside of the current IDE rather than in another instance of the IDE?)</p>