mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04: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.