aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-08-21 01:12:47 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-08-21 01:12:47 -0400
commit0c1718a568f4db2661ab3fc960beba22ce5ff00c (patch)
tree22e7c2e68f3fea3e957c63776784f341437f801e
parent70ff68564a83cacf3bf72b058b7280efc159ebb4 (diff)
downloadtextadept-0c1718a568f4db2661ab3fc960beba22ce5ff00c.tar.gz
textadept-0c1718a568f4db2661ab3fc960beba22ce5ff00c.zip
Added LuaDoc for modules/cpp/commands.lua.
-rw-r--r--modules/cpp/commands.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/cpp/commands.lua b/modules/cpp/commands.lua
index 2348ad41..3aa65a5a 100644
--- a/modules/cpp/commands.lua
+++ b/modules/cpp/commands.lua
@@ -4,6 +4,12 @@
-- Commands for the cpp module.
module('_m.cpp.commands', package.seeall)
+-- Markdown:
+-- ## Key Commands
+--
+-- + `Alt+l, m`: Open this module for editing.
+-- + `Shift+Return`: Add ';' to line end and insert newline.
+
local m_editing, m_run = _m.textadept.editing, _m.textadept.run
-- Comment string tables use lexer names.
m_editing.comment_string.cpp = '//'
@@ -34,3 +40,7 @@ if type(keys) == 'table' then
end },
}
end
+
+---
+-- This module contains no functions.
+function no_functions() end no_functions = nil