<p>This has been driving me nuts for a while but I finally figured it out.  If you have:</p>

<ul>
<li>keybindings.conf

<ul>
<li>edit_gotolinestart=Home</li>
<li>edit_gotolineend=End</li>
<li>edit_gotolinestartvisual=Home</li>
<li><strong>edit_gotolineendvisual=End</strong></li>
</ul>
</li>
<li>geany.conf

<ul>
<li>show_line_endings=true</li>
</ul>
</li>
</ul>

<p>Then hitting <code>end</code> on the wrapped part of a long line does a <em>line-down</em> and not an <em>end</em>.  If you <strong>set show_line_endings=true</strong> then <code>end</code> works as expected and desired.</p>

<p>I'm running Geany 1.25 from the "geany-dev" PPA on Linut Mint 17 but I'm pretty sure this bug has been present thing the whole "gotoline*visual" thing was fixed.</p>

<p>Steps to reproduce:<br>
1. Set config as above<br>
2. Create a file with long lines<br>
3. Go to the first line of a wrapped line, hit <code>home</code> and <code>end</code> and they should stay on that line as expected<br>
4. Go to the second (last?) line of a wrapped line, <code>home</code> should work but <code>end</code> should go to the next line instead of the end of this line<br>
5. Set <strong>show_line_endings=false</strong><br>
6. <code>end</code> should not work as expected per the keymap.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/712">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ1QklfZuZdGrDIbCQxRBP6uHQhjJks5o-wPTgaJpZM4GU8zc.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/712"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>