Smart home/end no longer work in GTK4 port
Steps to reproduce
- Enable Smart home/end in the preferences (they are enabled by default IIRC)
- Open a source view and place the cursor at the end of an indented code line
- Use the Home key. Then use it again.
Current behavior
On first home key press, the cursor moves right to the beginning of the line. Pressing Home a second time does nothing.
Expected behavior
On first home key press, the cursor should move to the beginning of the line, but after the indentation. Pressing home again should move it to "real" start of the line. Repeating home key presses should alternate between those two positions like it did in the GTK3 Builder.
Note I'm not sure how "smart end" was supposed to work in GTK3, since it's very unusual to have extra spaces at the end of lines, but it does not work in the same way as the smart home one should work.
w/ nightly Flatpak