Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

One string color in PHP and different string color in JS. #10153

@holdav

Description

@holdav

Hello,

I'm doing my own syntax highlighter (theme) for Brackets and I'm solving one problem now. I want to highlight JS strings for example in blue color and PHP string for example in red color, but how can I do that? Every string in Brackets has got the same CSS class (.cm-string) independent on programming language context.

Any ideas?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions