That is one model of the buffer contents, but I doubt its the primary model 
Geany users have.

Geany is fundamentally a programmers editor, and so a "line" is a section of 
the buffer up to the next line-end sequence, since that is the definition of 
"line" used in most programming languages.  And most programming languages do 
not have a concept of "paragraph".  At times a line may be displayed on more 
than one display line for convenience (ie wrapped), but going to "end of line" 
is still going to the next line-end sequence in the buffer, and this is 
convenient since it is a common point to insert a new programming language 
statement (on a new line).  With this model of the contents "end" is both 
consistent and convenient in going to the next line end in the buffer, wrapping 
or not.

The use-case you are describing is more suitable for textual content, where the 
concept of "paragraph" exists, although most textual markup languages assume a 
blank line as paragraph termination, not a single line end.  But this is not 
the primary use-case for Geany.  And since the wrap point is variable depending 
on content and display width, the likelyhood of a wrap point being exactly 
where you want to go is fairly low, so it should not usurp the single key "end" 
command from the primary use-case.


---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/949#issuecomment-194136436

Reply via email to