mirror of
https://github.com/textmate/textmate.git
synced 2026-01-23 05:37:55 -05:00
This fixes a crash bug when menu validation is invoked before the controller has set up a document. Hardening the other methods is just a precaution (as we generally shouldn’t make assumptions about the state of public properties.