aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2007-08-09 14:26:34 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2007-08-09 14:26:34 -0400
commit5da76d004a633de15830ca3ca1e694a91110cc73 (patch)
tree6a36d0f4b886ab4870807aa11b33801f34a19ec9 /modules/textadept
parent91407194760539859d5f3a88d142c4f893c111d3 (diff)
downloadtextadept-5da76d004a633de15830ca3ca1e694a91110cc73.tar.gz
textadept-5da76d004a633de15830ca3ca1e694a91110cc73.zip
Renamed modules global to _m.
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/editing.lua2
-rw-r--r--modules/textadept/init.lua2
-rw-r--r--modules/textadept/key_commands.lua8
-rw-r--r--modules/textadept/keys.lua2
-rw-r--r--modules/textadept/mlines.lua2
-rw-r--r--modules/textadept/snippets.lua2
6 files changed, 9 insertions, 9 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index 241385cc..4af699ce 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -2,7 +2,7 @@
---
-- Editing commands for the textadept module.
-module('modules.textadept.editing', package.seeall)
+module('_m.textadept.editing', package.seeall)
---
-- [Local table] The kill-ring.
diff --git a/modules/textadept/init.lua b/modules/textadept/init.lua
index 1f882d41..ee985df3 100644
--- a/modules/textadept/init.lua
+++ b/modules/textadept/init.lua
@@ -3,7 +3,7 @@
---
-- The textadept module.
-- It provides utilities for editing text in Textadept.
-module('modules.textadept', package.seeall)
+module('_m.textadept', package.seeall)
require 'textadept.editing'
require 'textadept.keys'
diff --git a/modules/textadept/key_commands.lua b/modules/textadept/key_commands.lua
index 82672e78..55f038e4 100644
--- a/modules/textadept/key_commands.lua
+++ b/modules/textadept/key_commands.lua
@@ -2,7 +2,7 @@
---
-- Defines the key commands used by the Textadept key command manager.
-module('modules.textadept.key_commands', package.seeall)
+module('_m.textadept.key_commands', package.seeall)
--[[
C: G Q
@@ -63,13 +63,13 @@ keys.csae = { 'line_end_rect_extend', b }
keys.csav = { 'page_down_rect_extend', b }
keys.csay = { 'page_up_rect_extend', b }
-local m_snippets = modules.textadept.snippets
+local m_snippets = _m.textadept.snippets
keys.ci = { m_snippets.insert }
keys.csi = { m_snippets.cancel_current }
keys.cai = { m_snippets.list }
keys.ai = { m_snippets.show_scope }
-local m_editing = modules.textadept.editing
+local m_editing = _m.textadept.editing
keys.cm = { m_editing.match_brace }
keys.csm = { m_editing.match_brace, 'select' }
keys['c '] = { m_editing.autocomplete_word, '%w_' }
@@ -116,7 +116,7 @@ keys.as = { -- select in...
g = { m_editing.grow_selection, 1 },
}
-local m_mlines = modules.textadept.mlines
+local m_mlines = _m.textadept.mlines
keys.am = {
a = { m_mlines.add },
sa = { m_mlines.add_multiple },
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 0fea59c4..77a5cef7 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -12,7 +12,7 @@
-- ALT: The string representing the Alt key.
-- ADD: The string representing used to join together a sequence of Control,
-- Shift, or Alt modifier keys.
-module('modules.textadept.keys', package.seeall)
+module('_m.textadept.keys', package.seeall)
-- options
local SCOPES_ENABLED = true
diff --git a/modules/textadept/mlines.lua b/modules/textadept/mlines.lua
index fe1f57ce..512834de 100644
--- a/modules/textadept/mlines.lua
+++ b/modules/textadept/mlines.lua
@@ -5,7 +5,7 @@
-- There are several option variables used:
-- MARK_MLINE: The integer mark used to identify an MLine marked line.
-- MARK_MLINE_COLOR: The Scintilla color used for an MLine marked line.
-module('modules.textadept.mlines', package.seeall)
+module('_m.textadept.mlines', package.seeall)
-- options
local MARK_MLINE = 2
diff --git a/modules/textadept/snippets.lua b/modules/textadept/snippets.lua
index 5b7e3c09..3579df0a 100644
--- a/modules/textadept/snippets.lua
+++ b/modules/textadept/snippets.lua
@@ -14,7 +14,7 @@
-- RUBY_CMD: The command that executes the Ruby interpreter.
-- MARK_SNIPPET_COLOR: The Scintilla color used for the line that marks the
-- end of the snippet.
-module('modules.textadept.snippets', package.seeall)
+module('_m.textadept.snippets', package.seeall)
-- options
local MARK_SNIPPET = 4