summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2005-12-19 00:00:00 +0100
committerHans Hagen <pragma@wxs.nl>2005-12-19 00:00:00 +0100
commit28b6768726b1fc30e1bae370cfa04632b52542c3 (patch)
tree445dfd14254cb6caedad514e4e55da8bf2475b5d /scripts
parent64393514fca3f8f070dcc0f95955d846780d82e0 (diff)
downloadcontext-28b6768726b1fc30e1bae370cfa04632b52542c3.tar.gz
stable 2005.12.19
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/scite-ctx.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/context/lua/scite-ctx.lua b/scripts/context/lua/scite-ctx.lua
index 3a19fb4d8..1f58b123d 100644
--- a/scripts/context/lua/scite-ctx.lua
+++ b/scripts/context/lua/scite-ctx.lua
@@ -475,7 +475,6 @@ function compound_text()
editor:ReplaceSel(string.gsub(editor:GetSelText(),"([^\|])([-\/]+)([^\|])","%1|%2|%3"))
end
-
end
-- written while listening to Alanis Morissette's acoustic
@@ -640,6 +639,17 @@ function reset_text()
editor:SetStyling(editor.TextLength,INDIC_PLAIN)
end
+-- templates
+
+--~ function insert_text()
+
+--~ local templatelist = props["ctx.template.list"]
+
+--~ editor:insert(editor.CurrentPos,templatelist)
+--~ show_menu(templatelist)
+--~ end
+
+
-- menu
local menuactions = {}