poedit icon indicating copy to clipboard operation
poedit copied to clipboard

Pressing Delete before \n only deletes the backslash

Open rillig opened this issue 5 years ago • 1 comments

When I have a translated string that contains a \n linebreak and I place the cursor before the \n and press Delete, only the \ is deleted; the n and the following linebreak are still there.

The whole sequence \n<linebreak> should be treated as a single character and deleted together.

rillig avatar Sep 15 '19 19:09 rillig

Ideally, the \n wouldn't be part of user-editable content at all, and a ¶ typographical mark would be used instead as non-editable "decoration". I think that should be the focus rather than trying to further patch editing behavior to deal with the patched weird stuff like \n added by Poedit.

vslavik avatar Sep 16 '19 11:09 vslavik