Subject: Rename(F2) did not work with last version [Print This Page] Author:
ukrainian Time: 2015-12-28 15:05 Subject: Rename(F2) did not work with last version
Hi,
After update with last stable version( 1.0.9.803 Build 2015.12.12) the functionality "Rename and Replace Identifier under Cursor with F2" stop working. I'm using Delphi XE8
[ Last edited by ukrainian at 2015-12-28 15:53 ]Author:
Passion Time: 2015-12-28 20:13
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?Author:
ukrainian Time: 2015-12-29 04:02
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
OK. Maybe parsing error. I'll check this problem. Thanks for your log.Author:
ukrainian Time: 2016-1-11 15:07
Hi,
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(RAD Studio Identifiers).
You can test and fix it on some future release.
Best regards!
[ Last edited by ukrainian at 2016-1-11 15:10 ]Author:
Passion Time: 2016-1-11 17:25
These days we're migrating the whole website to a new server, so your data maybe lost.
And could you send me the file contains the chars which will cause F2 broken? I'll check it.Author:
ukrainian Time: 2016-1-11 20:53
Hi,
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.
Hi,
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 fixingAuthor:
Passion Time: 2016-1-17 10:39
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.