Gedit / External tools - IDLE
<p>I am trying to edit a file using GEDIT and have it open with IDLE.  It works with these two lines in the external tools option -</p>

<pre><code>#!/bin/sh
idle -r $GEDIT_CURRENT_DOCUMENT_NAME
</code></pre>

<p>The problem is that a new instance of IDLE opens up every time I run it.  Is there a way to just update the IDLE session?  </p>

<p>Thanks in advance,</p>
