[SVN] r9208

Ciarán Walsh ciawal at gmail.com
Tue Mar 25 19:28:04 UTC 2008


• 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



More information about the textmate-dev mailing list