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
Saturday Nov 29, 2014 at 11:15 GMT
Originally opened as adobe/brackets#10039
Adds the theme option
addModeClass, which enables the CM optionaddModeClassif set.When enabled, themes can apply styles language-aware with rules like
.cm-m-javascript.cm-variable.CMs
addModeClassuses innerMode for class name determination, so modes like htmlmixed, php or gfm work correctly, too.See also #8579.
cc
@MiguelCastilloMarcelGerber included the following code: https://github.com/adobe/brackets/pull/10039/commits