I've noticed that you can check whether the selected font in the richtextbox is bold or italic, but not whether it is both bold and italic. Checking for bold or italic can be done likeso:
StyleDefinition = SelectedEditor.CurrentEditingStyle
btnFontBold.Checked = fontWeight = TextStyle.Bold
fontWeight = TextStyle.Bold
fontWeight = TextStyle.Italic
However, I cannot seem to find a way to check for both bold and italic text, as the only members of TextStyle are Bold, Italic, and Regular. Is there a way to do this?