pub fn format_menu() -> Vec<MenuItem>Expand description
TextEdit’s Format menu, for rich text editors
(TextEditor::rich): Font (Show Fonts, Bold,
Italic, Underline, Bigger, Smaller, Show Colors, Copy and Paste Style)
and Text (alignment, Show Ruler, Copy and Paste Ruler), with their usual
shortcuts. AppKit enables what applies to the focused editor.
use ferrokit::*;
let app = App::new("Journal").menu("Format", format_menu());