[SVN] r10546 (Scratch)

Alexander John Ross alex.j.ross at gmail.com
Wed Sep 10 10:33:19 UTC 2008


Initial Commit of Scratch.tmbundle to Review.

This bundle provides three commands for working with “scratch” files.
  1. Scratch from Current Selection / Line: creates a temporary file with the contents of the current selection or line and opens that file in TextMate.
  2. Show Recent Scratches.  Show's as HTML a list of recent scratch files, click to open the scratch file.
  3. Erase All Scratches.  Does what it says.

You can set TM_SCRATCH_DIRECTORY if you know where you want your scratches to be saved.  Otherwise TMDIR is used.  Notice that TMPDIR is volatile so scratches are lost after reboots.

Changed:
A   trunk/Review/Bundles/Scratch.tmbundle/
A   trunk/Review/Bundles/Scratch.tmbundle/Commands/
A   trunk/Review/Bundles/Scratch.tmbundle/Commands/Erase All Scratches.tmCommand
A   trunk/Review/Bundles/Scratch.tmbundle/Commands/Scratch from Current Selection : Line.tmCommand
A   trunk/Review/Bundles/Scratch.tmbundle/Commands/Show Recent Scratches.tmCommand
A   trunk/Review/Bundles/Scratch.tmbundle/Support/
A   trunk/Review/Bundles/Scratch.tmbundle/Support/css/
A   trunk/Review/Bundles/Scratch.tmbundle/Support/css/default/
A   trunk/Review/Bundles/Scratch.tmbundle/Support/css/default/style.css
A   trunk/Review/Bundles/Scratch.tmbundle/info.plist




More information about the textmate-dev mailing list