<p>Let me show you by example in geany. In the image below, you can see I have a file opened called Page.pm. In the titlebar you can see the directory the file is in. Now, if I were to start a new document, the last directory would be the directory Page.pm is in /home/me/Documents/fantasy/files/lib/Base.<br>
<a href="https://cloud.githubusercontent.com/assets/123256/25886548/11da847c-352c-11e7-81ef-04ccd1066706.png" target="_blank"><img src="https://cloud.githubusercontent.com/assets/123256/25886548/11da847c-352c-11e7-81ef-04ccd1066706.png" alt="geany_image" style="max-width:100%;"></a><br>
Now to get complicated. In the following image, I have two files opened with a new file between them. Page.pm hasn't moved, but main.css is in /home/me/Documents/fantasy/files/css. If I go to the new file from main.css, the directory will be the css directory. If I go to the new file from Page.pm, the directory will be the lib/Base directory.<br>
<a href="https://cloud.githubusercontent.com/assets/123256/25886763/1adcf6c6-352d-11e7-9c21-80c4419262fb.png" target="_blank"><img src="https://cloud.githubusercontent.com/assets/123256/25886763/1adcf6c6-352d-11e7-9c21-80c4419262fb.png" alt="geany_image2" style="max-width:100%;"></a><br>
Now if I were to close all of these files, the last file closed will set the directory. So if I close the css file first then the pm file, the last directory will be the lib/Base directory. When I go to open a file or start a new file, the directory will be lib/Base until I go to another directory for another file.</p>
<p>Does that make sense?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1492#issuecomment-300394232">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ9eqil9nVnu-veeoybDrcwX_qbQlks5r4WFJgaJpZM4NSnpA">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ4gRCyGG2cV7IsA5FHLPVyALIronks5r4WFJgaJpZM4NSnpA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1492#issuecomment-300394232"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@LadyAleena in #1492: Let me show you by example in geany. In the image below, you can see I have a file opened called Page.pm. In the titlebar you can see the directory the file is in. Now, if I were to start a new document, the last directory would be the directory Page.pm is in /home/me/Documents/fantasy/files/lib/Base.\r\n![geany_image](https://cloud.githubusercontent.com/assets/123256/25886548/11da847c-352c-11e7-81ef-04ccd1066706.png)\r\nNow to get complicated. In the following image, I have two files opened with a new file between them. Page.pm hasn't moved, but main.css is in /home/me/Documents/fantasy/files/css. If I go to the new file from main.css, the directory will be the css directory. If I go to the new file from Page.pm, the directory will be the lib/Base directory.\r\n![geany_image2](https://cloud.githubusercontent.com/assets/123256/25886763/1adcf6c6-352d-11e7-9c21-80c4419262fb.png)\r\nNow if I were to close all of these files, the last file closed will set the directory. So if I close the css file first then the pm file, the last directory will be the lib/Base directory. When I go to open a file or start a new file, the directory will be lib/Base until I go to another directory for another file.\r\n\r\nDoes that make sense?"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1492#issuecomment-300394232"}}}</script>