Relevant settings:
- long line marker = 72, enabled
- indent type = tabs
- tab width = 8

I noticed `C-j` sometimes does nothing even though a line is well over the long 
line marker but adding some more chars to the line occasionally makes it work.

Reproduce (with the setting from above):
- open new doc
- insert 8 tabs
- insert "a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a"
- notice the cursor position is 127, but if you select everything it shows 
"sel: 71" in the status area
- press `C-j` and notice nothing changes
- insert a space
- press `C-j` and notice it got reflowed nicely taking indentation into account.

To me the culprit is the following piece since it doesn't take tab width into 
account

https://github.com/geany/geany/blob/41624c411702d29834da0ff926f3c9f7c895bb47/src/keybindings.c#L2297-L2302


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2810

Reply via email to