carb::simplegui::kTabItemFlagUnsavedDocument

Defined in carb/simplegui/SimpleGuiTypes.h

const TabItemFlags carb::simplegui::kTabItemFlagUnsavedDocument = 1 << 0

Append ‘*’ to title without affecting the ID; as a convenience to avoid using the ### operator. Also: tab is selected on closure and closure is deferred by one frame to allow code to undo it without flicker.