You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The present syntax highlighting rules for C++ are also being used for Objective-C. This has introduced keywords that are not part of the C++ standard keyword-list, therefore, the current implementation is incorrect and also outdated.
Expected Behavior
Please refer to cppreference.com for a detailed description of all legal keywords that are allowed in C++ and restrict the implementation to that.
Current Behavior
Please refer to c_cppHighlightRules which is exporting cFunctions, this part is being shared between C++ and Objective-C, and is the problem
Reproduction Steps
Any valid c++ code that includes keywords stated in the cFunctions
Possible Solution
Separate syntax highlighting rules for C++ and Objective-C
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
v1.35.0/Chrome/WinOS/US Layout
The text was updated successfully, but these errors were encountered:
Describe the bug
The present syntax highlighting rules for C++ are also being used for Objective-C. This has introduced keywords that are not part of the C++ standard keyword-list, therefore, the current implementation is incorrect and also outdated.
Expected Behavior
Please refer to cppreference.com for a detailed description of all legal keywords that are allowed in C++ and restrict the implementation to that.
Current Behavior
Please refer to c_cppHighlightRules which is exporting cFunctions, this part is being shared between C++ and Objective-C, and is the problem
Reproduction Steps
Any valid c++ code that includes keywords stated in the cFunctions
Possible Solution
Separate syntax highlighting rules for C++ and Objective-C
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
v1.35.0/Chrome/WinOS/US Layout
The text was updated successfully, but these errors were encountered: