diff options
author | 2012-01-05 05:20:39 -0500 | |
---|---|---|
committer | 2012-01-05 05:20:39 -0500 | |
commit | 2ab6deaecb4576c932dd63186927e9481bf5dedc (patch) | |
tree | 2574adf1f9c7a789456c1e467c0d98a17a4609b6 /core | |
parent | 6143b96a6d71a0d8d04ed7d4ddc3696a141112c7 (diff) | |
download | textadept-2ab6deaecb4576c932dd63186927e9481bf5dedc.tar.gz textadept-2ab6deaecb4576c932dd63186927e9481bf5dedc.zip |
Rename '_m' to '_M'.
Diffstat (limited to 'core')
-rw-r--r-- | core/._M.luadoc (renamed from core/._m.luadoc) | 22 | ||||
-rw-r--r-- | core/init.lua | 2 | ||||
-rw-r--r-- | core/keys.lua | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/core/._m.luadoc b/core/._M.luadoc index 0a6839d3..de13e3f1 100644 --- a/core/._m.luadoc +++ b/core/._M.luadoc @@ -1,10 +1,10 @@ -- Copyright 2007-2011 Mitchell mitchell<att>caladbolg.net. See LICENSE. -- This is a DUMMY FILE used for making LuaDoc for built-in functions in the --- global _m table. +-- global _M table. --- -- A table of loaded modules. -module('_m') +module('_M') -- Markdown: -- ## Overview @@ -23,39 +23,39 @@ module('_m') -- -- #### Snippets -- --- [Snippets](../modules/_m.textadept.snippets.html) for common code constructs. +-- [Snippets](../modules/_M.textadept.snippets.html) for common code constructs. -- -- #### Commands -- -- ##### Run -- -- If the code can be run by an interpreter or other executable, create a [run --- command](../modules/_m.textadept.run.html#run_command) for it as well as an --- [error format](../modules/_m.textadept.run.html#error_detail) for the ability +-- command](../modules/_M.textadept.run.html#run_command) for it as well as an +-- [error format](../modules/_M.textadept.run.html#error_detail) for the ability -- to jump to the position in a file where the error occured. -- -- For example: -- --- _m.textadept.run.run_command.lua = 'lua %(filename)' +-- _M.textadept.run.run_command.lua = 'lua %(filename)' -- -- ##### Compile -- -- If the code can be compiled by an executable, create a [compile --- command](../modules/_m.textadept.run.html#compile_command) for it. +-- command](../modules/_M.textadept.run.html#compile_command) for it. -- -- For example: -- --- _m.textadept.run.compile_command.lua = 'luac %(filename)' +-- _M.textadept.run.compile_command.lua = 'luac %(filename)' -- -- ##### Block Comment -- -- Create a [comment --- prefix](../modules/_m.textadept.editing.html#comment_string) for it so code +-- prefix](../modules/_M.textadept.editing.html#comment_string) for it so code -- can be easily commented and uncommented. -- -- For example: -- --- _m.textadept.editing.comment_string.lua = '--' +-- _M.textadept.editing.comment_string.lua = '--' -- -- #### Buffer Properties -- @@ -86,7 +86,7 @@ module('_m') -- -- ## Modules and Key Commands -- --- When assigning [key commands](../modules/_m.textadept.keys.html) to module +-- When assigning [key commands](../modules/_M.textadept.keys.html) to module -- functions, do not forget to do so AFTER the function has been defined. -- Typically key commands are placed at the end of files, like `init.lua` in -- the `textadept` module. diff --git a/core/init.lua b/core/init.lua index 93746589..05af0b89 100644 --- a/core/init.lua +++ b/core/init.lua @@ -18,7 +18,7 @@ _LEXERPATH = _USERHOME..'/lexers/?.lua;'.._HOME..'/lexers' gui.set_theme() -_m = {} -- modules table +_M = {} -- modules table --[[ This comment is for LuaDoc. --- Extends Lua's _G table to provide extra functions and fields. diff --git a/core/keys.lua b/core/keys.lua index e02b0454..f4f1849a 100644 --- a/core/keys.lua +++ b/core/keys.lua @@ -36,7 +36,7 @@ module('keys')]] -- -- For key values less than 255, Lua's [`string.char()`][string_char] is used to -- determine the key's string representation. Otherwise, the --- [`KEYSYMS`](../modules/_m.textadept.keys.html#KEYSYMS) lookup table is used. +-- [`KEYSYMS`](../modules/_M.textadept.keys.html#KEYSYMS) lookup table is used. -- -- [string_char]: http://www.lua.org/manual/5.1/manual.html#pdf-string.char -- |