Lex Trotman - 2014-12-13

Works for me with current Git head.

On 14 December 2014 at 06:37, JP Vossen vossenjp@users.sf.net wrote:


[bugs:#1073] edit_gotolineendvisual=End behavior wrong on short lines

Status: open
Found in: v1.23.1
Fixed in: None
Created: Sat Dec 13, 2014 08:37 PM UTC by JP Vossen
Last Updated: Sat Dec 13, 2014 08:37 PM UTC
Owner: nobody

geany 1.23.1 (built on May 19 2013 with GTK 2.24.18, GLib 2.37.0) from Stock
Linux Mint 17
geany 1.24.1 (built on 2014-05-20 with GTK 2.24.23, GLib 2.40.0) from
ppa:geany-dev/ppa on Mint 17

Per [#537], the default Home/End behavior on wrapped lines drives me totally
nuts (the only "flaw" in Geany). With reasonably recent versions, using
"Edit > Prefs > Keybindings > Go to" and swapping "Go to * of line" and "Go
to * of DISPLAY line" should fix this right up, and it does for Home, but
not for me for End.

Steps to Reproduce:

Open a new tab
Create some lines that wrap and some lines that do not
Edit > Prefs > Keybindings > Go to

edit_gotolinestart=<Alt>Home
edit_gotolineend=<Alt>End
edit_gotolineendvisual=End
edit_gotolinestartvisual=Home

Test

Home will go to the start of the visual line as expected regardless of line
length. End will go to the end of the visual line if the line is wrapped,
but will go to the start of the NEXT line if current line is not wrapped. I
see the same behavior on 2 different Mint 17 machines as at top.

Expected: End should go to the end of the current (visual) line whether the
line is short or long (wrapped).


Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/geany/bugs/1073/

To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/

 

Related

Bugs: #1073
Bugs: #537