Auto-completion fails for indexed properties
Original Reporter info from Mantis: Ask
-
Reporter name: Alexander S. Klenin
Original Reporter info from Mantis: Ask
- Reporter name: Alexander S. Klenin
Description:
If the property has an 'index' specifier, auto-completion fails
in two separate ways detailed below.
Attached patch fixes the problems.
Steps to reproduce:
First bug:
- Enter the following code:
type<br/>
TCheck = class
public
property P: Integer index 1;
end;
- Press Ctrl+Shift+C
=>
'read' and 'write' specifiers are inserted in front of '1',
instead of behind it
Second bug:
- Enter code:
type<br/>
TCheck = class
public
property P: Integer index 1 read GetP;
end;
- Press Ctrl+Shift+C twice
=>
GetP function is inserted twice, not once
Mantis conversion info:
- Mantis ID: 18416
- Fixed in version: 0.9.29 (SVN)
- Target version: 0.9.30