This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 183555 - Syntax highlighting if endif constructs
Summary: Syntax highlighting if endif constructs
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 11:52 UTC by seanja
Modified: 2011-05-12 04:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description seanja 2010-04-06 11:52:47 UTC
While the syntax highlighting does a good job with ifs and curly brackets: {}, it does not seem to recognize the other style of:
 
if(): endif;, 
while(): endwhile; 
foreach(): endforeach; 
and 
for(): endfor;

It would be nice if it did understand these constructs and highlighted them appropriately as many people use them in html as they find them easier to read there.
Comment 1 Filip Zamboj 2010-09-15 12:31:13 UTC
batch reassigning
Comment 2 Petr Pisl 2011-05-11 12:58:05 UTC
Committed into web-main today. Should be available in the next daily build.
Comment 3 Quality Engineering 2011-05-12 04:38:59 UTC
Integrated into 'main-golden', will be available in build *201105120000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b93edc02b812
User: Petr Pisl <ppisl@netbeans.org>
Log: #164347 - Highlight pairs for colon alternate syntax (if, foreach, while)
#183555 - Syntax highlighting if endif constructs
#187188 - Something similar to "match brackets" for "alternative syntax for control structures"