ryanmaxwell / UncrustifyX

Uncrustify utility and documentation browser for Mac OS X
Other
586 stars 44 forks source link

Disabling and reenabling languages in Documentation Browser #5

Closed JanX2 closed 11 years ago

JanX2 commented 11 years ago

When I disable languages in the Documentation Browser and later reenable them, they are not always added to the available entries. In my example, C++ was added back in but C wasn’t.

ryanmaxwell commented 11 years ago

Thanks for the bug report. I'm guessing that the problem is due to the fact that many (most) of the options do not have a language assigned to them. If you don't have all the languages ticked, then the only options visible will be ones that belong to the union of all the ticked languages. I think I will change this to be the union of all the ticked languages, plus all options with no assigned language. This will make it easier to exclude languages you don't care about while not losing possibly useful options.

JanX2 commented 11 years ago

Great! That makes sense. :)