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