• Added [TextMate insertText:asSnippet:], which uses TextMate’s public AppleScript API (“tell app "TextMate" to insert "«text»" as snippet «yes/no»”) to insert the text. Communication is done by building the Apple Events manually, as direct usage of AppleScript can be slow. • Removed -[TMDIncrementalPopUpMenu writeToTM:asSnippet:] and replaced usage with the new API
Changed: U branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/TMDIncrementalPopUpMenu.h U branches/WIP/Tools/Dialog2/Commands/ExtendedPopUp/TMDIncrementalPopUpMenu.mm U branches/WIP/Tools/Dialog2/Commands/Utilities/TextMate.h A branches/WIP/Tools/Dialog2/Commands/Utilities/TextMate.mm U branches/WIP/Tools/Dialog2/Dialog2.xcodeproj/project.pbxproj _______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/mailman/listinfo/textmate-dev
