<p>Currently on reload the cursor moves to the start on reload, causing a scroll to the start.</p>

<p>The cursor position should be saved and restored if possible (ie if the file is still longer than the position).</p>

<p>Even better would be for the screen position to remain the same, but I'm not sure Scintilla supports that.</p>

<p>My personal use-case is reloading test logs where I want the cursor to go to the previously failing test output so I can check I fixed it, but there are others as well.</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 or <a href="https://github.com/geany/geany/issues/969">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJxoIIiOmtHdxU6qrpSHwXL60dHxRks5pu2uSgaJpZM4H0Woc.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/969"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>