tracker issue : CFB-3800302

select a category, or use search below
(searches all categories and all time range)
Title:

Coloring Issue - Function declarations inconsistency depending on how the return data type is written (character case).

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Phill Nacelli / Phill Nacelli (Phill Nacelli)

Created: 08/05/2014

Components: Experience and Design

Versions: 3.0

Failure Type: Usability Issue

Found In Build/Fixed In Build: 3.0 Final / 302537

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Core

Vote Count: 0

Verification notes: verified_fixed on October 01, 2017 using build 3.1.4.302777
Problem Description:  I usually define argument types, property types and return data types with upper case for known class types (Array, Boolean, Date, Struct, Xml, Query, etc..) and lower case for any and void.  Notice the inconsistencies on some of them and especially for Query and Xml return types (see returnDataType.png included in attached zip file)

Steps to Reproduce:  (see DiscoBall.cfc included in attached zip file)

Actual Result:  Code coloring not consistent based on how the return data type is written (lower case, upper case, all upper case, camel case)

Expected Result:  Code coloring should be consistent regardless of coding convention regarding use of upper or lower case letters.

Any Workarounds:  N/A

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3800302

Reason:	NewBug

External Customer Info:
External Company:  
External Customer Name: Phill Nacelli
External Customer Email:  
External Test Config: My Hardware and Environment details: N/A

Attachments:

Comments:

I've verified this is fixed in CFB2016 Update 4 (build 3.1.4.302777). In the following, "Query" and "Numeric" are correctly colored, the same color as when they're each/both lowercased: ----------- component { public Query function myFunction(Numeric myArg){} } ----------- Thanks!, -Aaron
Comment by Aaron N.
26880 | October 01, 2017 10:09:26 PM GMT
Correct coloring also seen when the function is in a .cfm, in build 3.1.4.302777.
Comment by Aaron N.
26881 | October 01, 2017 10:11:29 PM GMT