Skip to content

Add option to keep spaces to the left of cursor when saving

Jan Paul Batrina requested to merge work/noremove-spaces-cursor-left into master

BUG: 433455 GUI:

For the option text, Except To The Left of Cursor Position is the shortest I can think of. Just like the other options, it is in titlecase and makes the whole option read like a sentence (Remove trailing spaces Except To The Left of Cursor Position). That said, feel free to suggest better option texts!

For the modeline, I think "cursor" and "cur" are the shortest, but can be misinterpreted as "Only remove spaces on current cursor position".

On an unrelated note, I had to re-open the document everytime I changed the modeline settings (both in the document itself and in the modes & filetypes config) for testing. Is this the intended behavior?

Edited by Jan Paul Batrina

Merge request reports