Skip to content

[CLOSED] Add theme option addModeClass (for language-aware themes) #8913

@core-ai-bot

Description

@core-ai-bot

Issue by MarcelGerber
Saturday Nov 29, 2014 at 11:15 GMT
Originally opened as adobe/brackets#10039


Adds the theme option addModeClass, which enables the CM option addModeClass if set.
When enabled, themes can apply styles language-aware with rules like .cm-m-javascript.cm-variable.
CMs addModeClass uses innerMode for class name determination, so modes like htmlmixed, php or gfm work correctly, too.

See also #8579.
cc@MiguelCastillo


MarcelGerber included the following code: https://github.com/adobe/brackets/pull/10039/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions