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.
Summary: | dot, ternary and assignment operator (. ?: =) are not recoginised as operator by syntax highlighter | ||
---|---|---|---|
Product: | php | Reporter: | leipie |
Component: | Editor | Assignee: | Tomas Mysik <tmysik> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | clutterskull, vriha |
Priority: | P4 | ||
Version: | 7.1.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
leipie
2012-07-19 09:06:32 UTC
*** Bug 184308 has been marked as a duplicate of this bug. *** Revidion of all operators has to be done. See issue #184308 for more info. This should be fixed now I hope, operators are now recognized according to [1]. Please verify, thanks. http://hg.netbeans.org/web-main/rev/eedf469f2b60 [1] http://php.net/manual/en/language.operators.php Adding Láďa to CC, please test it once you have a minute. Thanks. Integrated into 'main-silver', will be available in build *201510060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/eedf469f2b60 User: Tomas Mysik <tmysik@netbeans.org> Log: #215718 - dot, ternary and assignment operator (. ?: =) are not recoginised as operator by syntax highlighter I verified all operators I could found in docs, and concatenation operator is not colored when used like $a . $b but following does work $a .= $b Product Version: NetBeans IDE Dev (Build 201510140002) Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Linux version 3.16.0-30-generic running on amd64; UTF-8; en_US (nb) Unfortunately, not all operators are now marked properly, especially if they can have more "meanings" like e.g. ":". It can be an operator (as part of ternary operator) as well as a separator (for(): & endfor etc.). This is currently a limitation of our infrastructure but I will review whether "." can be marked as operator. Thanks. P4 now, IMHO. |