diff options
author | 2011-03-26 16:15:53 -0400 | |
---|---|---|
committer | 2011-03-26 16:15:53 -0400 | |
commit | d9e6c648a8a33d82d7564a26e411fad3eb48a1f7 (patch) | |
tree | 102222b8ad68721fcfa145927d044476b2e31a9e | |
parent | 1bf792657521dc6027bfa66e483c957914f1a661 (diff) | |
download | textadept-d9e6c648a8a33d82d7564a26e411fad3eb48a1f7.tar.gz textadept-d9e6c648a8a33d82d7564a26e411fad3eb48a1f7.zip |
Updated snippets escape sequence documentation; modules/textadept/snippets.lua
-rw-r--r-- | modules/textadept/snippets.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua index 0a69b42b..312cd5b5 100644 --- a/modules/textadept/snippets.lua +++ b/modules/textadept/snippets.lua @@ -101,11 +101,11 @@ module('_m.textadept.snippets', package.seeall) -- It is very important that any `%`, `(`, `)`, `>`, or `]` characters -- **within** placeholders be escaped with a `%` as necessary. Otherwise, -- unexpected results will occur. `%`s only need to be escaped if they are --- proceeded by a digit, `(`s and `)`s only need to be escaped inside default --- text placeholders **if and only if** there is no matching parenthesis (thus, --- nested parenthesis do not need to be escaped), `]`s only need to be escaped --- inside Shell code placeholders, and `>`s only need to be escaped inside Lua --- code placeholders. +-- proceeded by a digit, `(`s and `)`s only need to be escaped directly after a +-- %num sequence or inside default text placeholders **if and only if** there is +-- no matching parenthesis (thus, nested parentheses do not need to be escaped), +-- `]`s only need to be escaped inside Shell code placeholders, and `>`s only +-- need to be escaped inside Lua code placeholders. -- -- ## Example -- |