I'm creating this by request from Geany https://github.com/geany/geany/issues/712.
This has been driving me nuts for a while but I finally figured it out. If you have:
Then hitting end on the wrapped part of a long line does a line-down and not an end. If you set show_line_endings=true then end works as expected and desired.
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.
Steps to reproduce (Geany):
elextr commented:
The behaviour is the same in Scite so this is a problem in the Scintilla widget we use which is a separate project (www.scintilla.org), please report it there and post the issue number here for tracking.
Indeed, line end movement on display lines is broken when
viewEOL=true. This applies to all uses ofStartEndDisplayLine(), either with key movements likeSCI_LINEENDDISPLAYor with magrin click selection whenSC_MARGINOPTION_SUBLINESELECTis set.Attached patch fixes it (and should be correct, but I'm not 200% certain it doesn't have side effects I didn't expect/find, so you probably should verify this carefully too).
Committed fix as [2ce775].
Related
Commit: [2ce775]