summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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 = {}