scottclowe / matlab-schemer

Apply and save color schemes in MATLAB with ease.
BSD 2-Clause "Simplified" License
1.21k stars 276 forks source link

Matlab r2017a Programming Tools Preferences #20

Closed planetrocky closed 6 years ago

planetrocky commented 6 years ago

At least these variables don't seem to exist in r2017a anymore: ColorsUseMLintAutoFixBackground Editor.VariableHighlighting.Automatic Editor.NonlocalVariableHighlighting EditorCodepadHighVisible EditorCodeBlockDividers Editorhighlight-caret-row-boolean

scottclowe commented 6 years ago

Hi @planetrocky, why do you say this? Why do you think these settings no longer exist?

planetrocky commented 6 years ago

Ok, I've done more testing.

I can only get these variables to appear when toggling on/off within the Matlab GUI preferences. Prior to that they never existed and would not be import/export their state with the scripts here.

scottclowe commented 6 years ago

Ah yes, that's right. The variables don't appear in matlab.prf until after you have visited the preference pane where the variable is set and clicked Okay (not Cancel) to leave the preferences menu.

This is why you have to visit each pane and click okay before you export, otherwise you will get out black for all the unset colours. This is mentioned in the Export section of the README, and in the help documentation for schemer_export with a note at the first line of the documentation.

I realise its not intuitive that you have to visit the panes to initialise the output, but unfortunately its not something I can do anything about. If you think I can change the documentation in someway so this is more apparent please let me know.