editMenu.setItalic
| Syntax |
editMenu.setItalic (setting)
|
| Params |
setting is a boolean determining if selected text should be italicized (true) or have the italics removed (false) if it is presently italicized.
|
| Action |
Turn italic style on or off for the current text selection, depending on value of setting.
|
| Returns |
True if a change was made, false otherwise.
|
| Examples |
edit (@examples.styleTest) » true
Select any line that is not italics. Now type and execute:
Notice that the text is now italicized. Type and execute:
Text returns to its original style.
Select the second line in the document. Now type and execute:
This text was already italic, so no style change took place. Verb returns false to let you know that. |
| Notes |
Performs the same action as selecting the Italic command from the Style sub-menu of the Frontier Edit menu. This verb, like all of the others related to styled text, only works in word processing text windows, not in outlines or tables.
|
| See Also |
editMenu.plainText
|