GNOME Bugzilla – Bug 788277
Inserting é adds spaces afterwards
Last modified: 2017-09-28 21:15:20 UTC
I’m typing compose + ', then e to have é in my code. As a result, "é " is inserted in my code.
This works for me. Do you have any other input methods that could be mucking things up?
Also, what language are you in (I tested in C).
My desktop is in fr_FR and my keyboard layout is "English (Dvorak)".
More tests: * It happens in .py files but not in .html ones. * If I go at the beginning of a blank line surrounded by blank lines (like for a new function definition) the first é works as expected but the second one adds **many** spaces resulting in a "éé " line.
(In reply to Alexandre Franke from comment #4) > * If I go at the beginning of a blank line surrounded by blank lines (like > for a new function definition) the first é works as expected but the second > one adds **many** spaces resulting in a "éé " > line. With a bit more tests, it turns out the number of spaces added is equal to the number of leading spaces for that line (expect for the above case where it’s adding many spaces with zero leading spaces for the line).
Looks like some confusion in the python indenter trying to un-indent when e or f is pressed to potentially match else or elif and unindent.
Fixed in commit 93ba86d3bde7d4bd01541c24ef2ec889abf95add