Sets several attributes at once as one history entry; range is an explicit character range (otherwise as above: the selected text or the whole box); fontStyle sets bold and italic together.
Optional
Sets several attributes at once as one history entry; range is an explicit character range (otherwise as above: the selected text or the whole box); fontStyle sets bold and italic together.