I am working on a basic text editor program and have the code setup to allow the user to Bold, Italic, and Underline selected text, but I can't seem to allow it to combine any of those features.
Also my toolbar doesn't update appropriately when new text is selected. If the text is already Bold and is selected, the Bold toolbar button doesn't go to a pressed state. I know how to make the button change states, but I am unclear as to for what event I should do it, and how to verify which state it should be.
Hope someone can point me in a general direction.