edit (@examples.styleTest)
» true
Select any line that is not italics. Now type and execute:
editMenu.setItalic (true)
» true
Notice that the text is now italicized. Type and execute:
editMenu.undo ()
» true
Text returns to its original style.
edit (@examples.styleTest)
» true
Select the second line in the document. Now type and execute:
editMenu.setItalic (true)
» false
This text was already italic, so no style change took place. Verb returns false to let you know that.