Rename(F2) did not work with last version
After update with last stable version( 22.214.171.1243 Build 2015.12.12) the functionality "Rename and Replace Identifier under Cursor with F2" stop working. I'm using Delphi XE8
[[i] Last edited by ukrainian at 2015-12-28 15:53 [/i]]
Can't reproduce this problem. Could you provide more information using our Bug Report Wizard in Menu?
If you have time, could you help to download our debug version to test it?
CnDebugViewer will record the logs and please save and send it to us?
Hi,<br /><br /><br />
After review I found that "Rename(F2)" did not work on my two units that are declare with Namespace something like this: MyNameSpace.MyUnitName. In this two units I use and a lot of XML Documentary comments, but in other units where F2 works I used also XML Document comments so it cannot be a problem. I install a debug version and found this error "Access violation at address 00000000 in module 'bds.exe'. Read of address 0000000...." :)
Here is and my log file. I hope it can help You
[[i] Last edited by ukrainian at 2015-12-29 04:07 [/i]]
OK. Maybe parsing error. I'll check this problem. Thanks for your log.
I was send you a PM, but forum did not work correct and I did not know you received it. I found the problem. In this two problem units there was Identifiers that contains Cyrillic letter "e". When change it to Latin "e" the Rename functionality work again. But in New(Unicode) RAD Studio it is possible to declare Identifiers in ASCII and UNICODE char([url=http://docwiki.embarcadero.com/RADStudio/Seattle/en/Identifiers]RAD Studio Identifiers[/url]).
You can test and fix it on some future release.
[[i] Last edited by ukrainian at 2016-1-11 15:10 [/i]]
These days we're migrating the whole website to a new server, so your data maybe lost. :L
And could you send me the file contains the chars which will cause F2 broken? I'll check it.
I made some simple unit and define a class TMyClass.
I make a privet field FValueE where last "E" is Cyrillic letter. In name of getter method GetValueE() again last letter "E" is Cyrillic. When the "E" letters are Latin everything is OK. I try to rename and from Latin to Cyrillic "E" and take a error "Invalid Identifier. Abord Replacing." With build-in Delphi Refactor replace I can do i on both sides Cyrillic<->Latin.
I hope this can help you.
See. I'll check it.
Now we add some Unicode Identifier support to F2 rename feature in 812 nightly-build version of CnWizards, Could you download and try it ?
Everythin is work fine. I test it with rename already exist Unicode identifier and then rename Latin identifier with Cyrillic identifier and two test work.
Thanks for fast reaction and fixing
Powered by Discuz! Archiver 5.0.0
© 2001-2006 Comsenz Inc.
OK. I think there're some minor problems about IDE Open Tools API support for unicode identifiers, so if meet problem about it, please tell us. We'll fix again.