ScriptEditor: better CSS styling
-
It'd be nice to have the CSS styled a wee bit instead of this all orange/pink colour block style
Also, the collapse button isn't collapsing everything sometimes...
here it should collapse up to line 255 instead of stopping at line 207... (this is from the Modulation Matrix Tutorial snippet)
-
@ustk that‘s only if you use an inline stylesheet where it parses it as whole string. If you use a CSS file you get proper syntax highlighting.
-
@Christoph-Hart Can you explain a bit further? How do you you "use" a CSS file within the HISE scripting framework?
-
@Christoph-Hart You mean like this as included file? I guess not... Or maybe when opening the css in an external editor, but the whole point of this is to use it in Hise...
-
-
@Christoph-Hart Ok I see! It's only when using this function that it shows up with proper syntax highlighting, not with standard include...
-
@Christoph-Hart said in ScriptEditor: better CSS styling:
HISE | Scripting |
Thanks for clarifying!!
-
@ustk of course if you‘re including a script file that contains a CSS string it will still use the JS syntax highlighting.