Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 8.0.1
-
None
Description
When removing WRITE property concurrently with the variable/function name from the prefilled Q_PROPERTY the autoformatting starts to append the string with every backspace press.
Steps to reproduce:
- write Q_PROPERTY on .h file and pres tab/enter to prefill the line
- Change the type and name
Q_PROPERTY(int number READ number WRITE setnumber NOTIFY numberChanged)
- Select text with mouse "WRITE setnumber" and press backspace to remove extra space between number and NOTFIFY
Q_PROPERTY(int numbernumbe READ numbernumbernumbe NOTIFY numbernumbeChanged)
- With every press of the backspace the variable name gets appended to the original
This behavior happens also when user removes READ or NOTIFY with the function name before leaving the autoformatting state.