Please sign in to comment.
• if a parent view to the one from which “Edit in TM” is invoked is a…
… WebFrameView then grab the URL from that view and use the ‘url map’ to find an extension for the temporary file given to TextMate — this allows e.g. edits initiated from gmail to use mail syntax, from macromates.com/blog/ to use Markdown, from the Quicksilver forum to use BBCode etc. Currently the url map is only read from the bundle containing the Edit in TM input manager — it should probably also be read from somewhere under ~/Library This hack works for both OmniWeb and Safari. Should work for all WebKit-based browsers. git-svn-id: http://svn.textmate.org/trunk/Tools/Edit%20in%20TextMate@3962 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
- Loading branch information...
Showing with 33 additions and 3 deletions.