[TxMt] Re: Code folding questions

Fabian Zeindl fabian.zeindl at gmail.com
Mon Aug 22 14:47:43 UTC 2016


> On 22.08.2016, at 15:05 , Allan Odgaard <mailinglist at textmate.org> wrote:
> require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes"
>> TextMate.exit_discard
> It is possible to disable the indent of snippet output, but in the normal case, I assume you do want the indent, as I don’t think it is possible for you to figure out what the current indent is (since your command gets a selection that doesn’t start at first column).
> 
> We could introduce a new exit_insert_as_snippet_without_indent so that a command would be able to just temporarily disable the indent.
> 
Why not just run the normal indentation on the commands output?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20160822/a2dbc0e6/attachment.html>


More information about the textmate mailing list