Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
IDE
Structure Pane
Error Insight
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/IDE/Structure Pane/Error Insight
[ Add a report in this area ]
Report #:
57859
Status:
Closed
Yet another ErrorInsight inconsistency with SIZE record
Project:
Delphi
Build #:
11.0.2902.1047
Version:
11.2
Submitted By:
Alexey Rytov
Report Type:
Minor failure / Design problem
Date Reported:
2/5/2008 2:04:54 AM
Severity:
Commonly encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
257588
Resolution:
Cannot Reproduce
(Resolution Comments)
Resolved in Build:
:
14.0.3607.26099
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
See the snapshots. On the snapshots:
A) General situation:
- The project's successfully compiled just a moment ago.
- EI fails to resolve most of the standard units;
- The problem remains when I touch the source or re-type referenced unit names.
- All library/browsing paths, both on project-level and on global level seem to be valid;
- Ctrl-Enter on those of the red-lined units that belong to VCL correctly opens the unit;
- Ctrl-Enter on any of the 3rd-party component units (TB2xxx and VirtualTrees) fails to locate the unit (although the sources are present in the paths and the compiler has no difficulties finding them).
- Closing and re-opening the unit didn't help;
- After closing and re-opening the entire project, EI managed to resolve all the units in 'USES', but again displayed a whole lot of false error messages. In particular, the situation with 'Size.cx', described below, is still there.
B) Size.cx problem:
- 'Size' is a local var of type TSize;
- neither the 'Self' (a form) nor the TVirtualTree in the 'with' block contain any property named Size;
- as usually, CodeCompletion pulldown menu correctly recognizes 'cx' and 'cy' members of Size;
- whereas EI believes 'Size' to be an integer property and reports an error on 'cx';
- the type info tooltip is inconsistent: on 'Size' it shows 'integer property' (incorrectly), but on 'cx' it shows the correct info.
- Ctrl-Click on 'Size' correctly navigates to the local var;
- Ctrl-Click on 'cx' correctly navigates to the field's definition in Types.pas;
-
Steps to Reproduce:
See the attached snapshots and the description.
I've tried to prepare a separate test project for that, but couldn't reproduce the problem.
Workarounds
None
Attachment
EI_Size_cx.zip
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us