Closed richrace closed 10 years ago
("enableBackgroundColor" && "enableUnderline" : on ) == ("allEnable" : on)
("enableBackgroundColor" && "enableUnderline" : off ) == ("allEnable" : off)
And setting page has plugin "Enable/Disable" button.
So, my opinion is that "allEnable" is unnecessary.
We should keeping setting option clear and simple .
I don`t satisfied with underline style checkboxes too. When all of them unchecked, it is means "enableUnderline" off. I will take time to figure out how to make them in the same time, at least one should be checked. Atom provide any other UI controller can be use? Listbox or radiobox should be good choice.
By the way, method "updateSetting" actually just update underline setting, Rename to "updateUnderlineSetting" is better.
I've removed the "Enable All" option and renamed the method.
I've had a look about radio buttons/drop down option but I don't think Atom supports it.
This thread has a little bit of info on it: http://discuss.atom.io/t/package-configuration-settings/2334
Also corrected spelling for
underlineStyleInUse
@sniperbat what do you think of this?
Don't think we need the Enable All now?