8000 Wrong highlighting of inactive code · Issue #32 · kolinkrewinkel/Polychromatic · GitHub
[go: up one dir, main page]

Skip to content

Wrong highlighting of inactive code #32

Open

Description

@itmm

If code is masked with #ifdefs, all classes in the nonactive parts will be colored. See the attached screenshot taken by creating an empty project, copying one method and disabling the code block.

bildschirmfoto

UIApplication, NSDictionary, UIScreen, and UIColor are colored.

I have no idea, if it is possible, but it would be great, if the unused code is greyed out.

Activity

  1. kolinkrewinkel commented on Mar 21, 2015

    @kolinkrewinkel
    Owner

    I tried to come up with a clever solution around this by looking at the parents of it, but this seems to be an issue with Xcode's parser marking all sub-items in a preprocessor conditional as an identifier. Not sure what the answer is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0