Added support for section headers for popup menus. Sample usage:

require ENV['TM_SUPPORT_PATH'] + '/lib/ui'
TextMate::UI.menu([
  {'title' => 'foo', 'header' => 1},
  {'title' => 'bar'},
  {'title' => 'bar'},
  {'title' => 'foo', 'header' => 1},
  {'title' => 'bar'},
  {'title' => 'bar'},
])

Items with a non-zero 'header' value will be treated as a section header (which 
is not selectable).
Once a section header is encountered, all regular items under it will be 
indented.

Changed:
U   branches/WIP/Tools/Dialog PlugIn/Dialog.mm

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/mailman/listinfo/textmate-dev

Reply via email to