Skip to content

Updated _cocoa_builtins.py with types from iOS 14.4 SDK#1703

Merged
Anteru merged 2 commits intopygments:masterfrom
nemecek-filip:cocoa-lexer-improvements
Feb 12, 2021
Merged

Updated _cocoa_builtins.py with types from iOS 14.4 SDK#1703
Anteru merged 2 commits intopygments:masterfrom
nemecek-filip:cocoa-lexer-improvements

Conversation

@nemecek-filip
Copy link
Copy Markdown
Contributor

The current types appear to be from iOS 8.1 SDK which means a lot of new types are missing and therefore are not properly highlighted.

I also added sorting of these types, so next update will have better changelist for the COCOA_INTERFACES, COCOA_PROTOCOLS and COCOA_PRIMITIVES.

I had issues with file PDFAnnotation.h which currently has some enconding error, so I added the try block to catch this. This file does not contain any types needed to be included in the sets.

@Anteru Anteru self-assigned this Feb 8, 2021
@Anteru Anteru added this to the 2.8 milestone Feb 8, 2021
@Anteru Anteru merged commit 35fc0e0 into pygments:master Feb 12, 2021
@Anteru Anteru added the changelog-update Items which need to get mentioned in the changelog label Feb 12, 2021
@Anteru
Copy link
Copy Markdown
Collaborator

Anteru commented Feb 12, 2021

Merged, thanks!

@Anteru Anteru removed the changelog-update Items which need to get mentioned in the changelog label Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants