jameshball / osci-render-juce

γ€°πŸ“ΊπŸ”Š Synthesizer for making music by drawing objects on an oscilloscope using audio. Now as an audio plugin!
GNU General Public License v3.0
8 stars 0 forks source link

Update syntax highlighting colours for code editor #54

Closed jameshball closed 1 year ago

jameshball commented 1 year ago

Currently, they are hideous and light-theme-oriented! Just change it to use similar colours to the darcula theme https://github.com/dracula/dracula-theme by creating a ColourScheme and setting it on each CodeEditorComponent here https://docs.juce.com/master/classCodeEditorComponent.html#a4faca1aad5f908a0e35a71ca25e784b1

All the CodeEditorComponents are initialised here: https://github.com/jameshball/osci-render-juce/blob/069633a086bf5ac07b94c50b58ef227a9780ef85/Source/PluginEditor.cpp#L146 This is where you should set the colour scheme.