+ /* Hyperlinks supported on textbuffers and textgrids */
+ case gestalt_HyperlinkInput:
+ return val == wintype_TextBuffer || val == wintype_TextGrid;
+
+ /* Mouse support present in textgrids */
+ case gestalt_MouseInput:
+ return val == wintype_TextGrid;
+
+ case gestalt_DrawImage:
+ return val == wintype_Graphics || val == wintype_TextBuffer;
+
+ /* Which keycodes can be used as line terminators */
+ case gestalt_LineTerminatorKey:
+ return is_valid_line_terminator(val)? 1 : 0;