Added macro that fixes the code block intent, for the cases when copying and pasting has messed it up. (The begin-end lines (<< and @) for Sweave code blocks have to start at the beginning of a line). Changed the behavior of the Insert Section macro, so that it defaults to <<>>=, and then successive presses of the same keypress produce the other forms. Changed both macros so that they insert a snippet with $0 instead of $1.
Changed: U trunk/Bundles/SWeave.tmbundle/Commands/Toggle Code Output.tmCommand A trunk/Bundles/SWeave.tmbundle/Macros/Fix Code Block Indent.tmMacro U trunk/Bundles/SWeave.tmbundle/Macros/Insert Sweave Figure.tmMacro U trunk/Bundles/SWeave.tmbundle/Macros/Insert Sweave Section.tmMacro U trunk/Bundles/SWeave.tmbundle/info.plist _______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/mailman/listinfo/textmate-dev
