PHP: when generating setters/getters, keep the caret position after the code generation