<table><tr><td style="">hmitonneau updated this revision to Diff 71708.<br />hmitonneau added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25587">View Revision</a></tr></table><br /><div><div><p>This new patch re-implement <tt style="background: #ebebeb; font-size: 13px;">KDevelop::BasicRefactoring::applyChangesToDeclarations</tt> and <tt style="background: #ebebeb; font-size: 13px;">KDevelop::BasicRefactoring::applyChanges</tt> in <tt style="background: #ebebeb; font-size: 13px;">Php::Refactoring</tt>.</p>
<p>The code is a copy/paste of the virtual function, and just modify the range if we detect that it is a var with a "$". This detection is just a comparison between <tt style="background: #ebebeb; font-size: 13px;">range.length()</tt> and <tt style="background: #ebebeb; font-size: 13px;">name.length()+1</tt></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R52 KDevelop: PHP Support</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D25587?vs=70486&id=71708">https://phabricator.kde.org/D25587?vs=70486&id=71708</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25587">https://phabricator.kde.org/D25587</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>codegen/refactoring.cpp<br />
codegen/refactoring.h</div></div></div><br /><div><strong>To: </strong>hmitonneau<br /><strong>Cc: </strong>pprkut, kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>