Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 2.1.0
-
None
-
02dd995dad73059102d3444e05626bcbc7c90f67
Description
If you have something like
Text {
text: "Quit"
}
and want to modify text property to "Don't quit", writing the single quote ' produces '' instead, so you'll end up with
Text {
text: "Don''t Quit"
}
If the cursor is inside a quoted string, this should not happen.
Similarly, having 'foo' and typing " inside there produces "" instead. This still makes sense, as you usually want to match double quotes even if inside a a string.