Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Code Editor/Syntax Highlighting    [ Add a report in this area ]  
Report #:  25738   Status: Open
Matching Syntax Element highlights wrong partner
Project:  Delphi Build #:  28377
Version:    10.0 Submitted By:   Loren Szendre
Report Type:  Minor failure / Design problem Date Reported:  3/4/2006 9:43:25 PM
Severity:    Commonly encountered problem Last Updated: 5/2/2011 10:15:59 AM
Platform:    All platforms Internal Tracking #:  
Resolution: Duplicate (Resolution Comments) Resolved in Build: : None
Duplicate of:  10478
Voting and Rating
Overall Rating: (2 Total Ratings)
4.50 out of 5
Total Votes: None
Description
For strings, when the light blue highlight shows the matching items from a paired syntax element -- for a string -- it finds the wrong match.
Steps to Reproduce:
Write an Ini file routine like the following:

Something := ReadString('Local','MySetting','');

if you put your cursor next to the single quote next to the "M" in MySetting, it will highlight the single quote at the end of Local instead of the one at the end of MySetting. I checked to make sure I wasn't missing any single quotes. It should never match the two that it does.
Workarounds
None
Attachment
None
Comments

Kristofer Skaug at 3/15/2006 5:25:14 AM -
Slightly different testcase, but otherwise clearly related to QC reports 11849, 21955, 23568, 25738
To keep overhead down I mark it as duplicate of 23568 (most similar).

Loren Szendre at 4/19/2006 8:58:17 PM -
Still happening in Update #2

Server Response from: ETNACODE01