[textadept] Snippets with Tabs

From: Robert <ro....at.web.de>
Date: Wed, 27 Apr 2011 10:52:02 +0200

Hi,

for these three ways to define a snippet with indentation, the second
example fails
(I prefer to use the second one for readability).

snippets.s1 = "test\n\t123\n"
-- two spaces
snippets.s2 = [[
test
  123
]]
-- actual tab
snippets.s3 = [[
test
        123
]]

The attached patch should allow for all three ways to define a snippet.

Robert

Received on Wed 27 Apr 2011 - 04:52:02 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:05:23 EST