diff options
author | 2011-02-16 21:34:36 -0500 | |
---|---|---|
committer | 2011-02-16 21:34:36 -0500 | |
commit | 3313d67e8663acac92be9d2526dad1553ad892de (patch) | |
tree | 5b5d1ace5e14c5a5a1bd836958ebc2ac8face2b2 | |
parent | 283770beb51385270e60d75d11d63759dac6854f (diff) | |
download | textadept-3313d67e8663acac92be9d2526dad1553ad892de.tar.gz textadept-3313d67e8663acac92be9d2526dad1553ad892de.zip |
Reverted 755; modules/textadept/adeptsense.lua
-rw-r--r-- | modules/textadept/adeptsense.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua index 2269925c..5612725f 100644 --- a/modules/textadept/adeptsense.lua +++ b/modules/textadept/adeptsense.lua @@ -223,7 +223,7 @@ function show_apidoc(sense) local apidocs = sense:get_apidoc(symbol) if not apidocs then return false end for i, doc in ipairs(apidocs) do - doc = doc:gsub('([^\\])\\n', '%1\n'):gsub('\\\\n', '\\n') + doc = doc:gsub('\\\\', '%%esc%%'):gsub('\\n', '\n'):gsub('%%esc%%', '\\') if #apidocs > 1 then if not doc:find('\n') then doc = doc..'\n' end doc = '\001'..doc:gsub('\n', '\n\002', 1) |