- Improve readability, const correctness
- const QChar as value, not reference
BUG:405089
BUG:382960
FIXED-IN: 5.57
cullmann | |
mwolff |
KTextEditor |
BUG:405089
BUG:382960
FIXED-IN: 5.57
Try to type this in a C++ file: ('\'') => ended up in something like: ('\''') Try to add afterwarnds double quotes to some word in a text, without to select the word: foo "bar" haz => ended up in something like: foo "bar"" haz
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Just a note to the current RegEx solution:
It's done as you see in a slightly redundant dumb way. Perhaps is a special function without regex faster?
Given we have some test that ensures the new behavior is not broken again, I have no issues with merging this.
Did you get your account yet or shall I push?