steps to reproduce 1. copy to the clipboard an identifier at the beginning of an indented line. select the indentation as well. 2. select another identifier and right-click and `Rename`. 3. paste into the `New name` field. notice that leading white space is not shown. 4. click `Rename` Observe that white space is added to renamed identifiers.
Git commit 9e440fc3f5acd36846ce01abbd65a577aad31e91 by Milian Wolff. Committed on 20/02/2017 at 20:45. Pushed by mwolff into branch '5.1'. Trim identifiers before triggering rename action M +1 -1 language/assistant/renameaction.cpp M +1 -1 language/assistant/renameassistant.cpp M +3 -2 language/codegen/basicrefactoring.cpp https://commits.kde.org/kdevplatform/9e440fc3f5acd36846ce01abbd65a577aad31e91