In Command menu click Invert Capitalization menu item. The case of first letter in selection when the text is selected or the current character will be inverted. When there is no selected text or current word to inverting Invert Capitalization menu item will be disabled.