aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-01-05 05:20:39 -0500
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2012-01-05 05:20:39 -0500
commit2ab6deaecb4576c932dd63186927e9481bf5dedc (patch)
tree2574adf1f9c7a789456c1e467c0d98a17a4609b6 /doc
parent6143b96a6d71a0d8d04ed7d4ddc3696a141112c7 (diff)
Rename '_m' to '_M'.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/11_Scripting.md2
-rw-r--r--doc/manual/4_WorkingWithFiles.md2
-rw-r--r--doc/manual/6_AdeptEditing.md2
-rw-r--r--doc/manual/7_Modules.md14
-rw-r--r--doc/manual/9_Preferences.md10
5 files changed, 15 insertions, 15 deletions
diff --git a/doc/manual/11_Scripting.md b/doc/manual/11_Scripting.md
index ff7bd6d8..6fbf2cba 100644
--- a/doc/manual/11_Scripting.md
+++ b/doc/manual/11_Scripting.md
@@ -2,7 +2,7 @@
Textadept has superb support for editing Lua code. Syntax autocomplete and
LuaDoc is available for many Textadept objects as well as Lua's standard
-libraries. See the [lua module documentation](../modules/_m.lua.commands.html)
+libraries. See the [lua module documentation](../modules/_M.lua.commands.html)
for more information.
![Adeptsense ta](images/adeptsense_ta.png)
diff --git a/doc/manual/4_WorkingWithFiles.md b/doc/manual/4_WorkingWithFiles.md
index 4e47165f..0b7820ea 100644
--- a/doc/manual/4_WorkingWithFiles.md
+++ b/doc/manual/4_WorkingWithFiles.md
@@ -62,7 +62,7 @@ displays a list of files to open, including files in subdirectories. You can
snapopen the current file's directory with `Ctrl+Alt+Shift+O` (`^⌘⇧O` on Mac
OSX) or from the `Tools -> Snapopen -> Current Directory` menu. Snapopen is
pretty limited from the menu, but more versatile in scripts. See its
-[LuaDoc](../modules/_m.textadept.snapopen.html). `Ctrl+U` (`⌘U`) snaps open
+[LuaDoc](../modules/_M.textadept.snapopen.html). `Ctrl+U` (`⌘U`) snaps open
`~/.textadept/`.
![Snapopen](images/snapopen.png)
diff --git a/doc/manual/6_AdeptEditing.md b/doc/manual/6_AdeptEditing.md
index 2752eb2c..61faf93e 100644
--- a/doc/manual/6_AdeptEditing.md
+++ b/doc/manual/6_AdeptEditing.md
@@ -40,7 +40,7 @@ other languages have basic support with the help of
![Adeptsense Doc](images/adeptsense_doc.png)
For more information on adding adeptsense support for another language, see
-the [LuaDoc](../modules/_m.textadept.adeptsense.html).
+the [LuaDoc](../modules/_M.textadept.adeptsense.html).
## Find and Replace
diff --git a/doc/manual/7_Modules.md b/doc/manual/7_Modules.md
index 4885b9cd..50461062 100644
--- a/doc/manual/7_Modules.md
+++ b/doc/manual/7_Modules.md
@@ -9,7 +9,7 @@ module: generic and language-specific.
This class of modules is usually available globally for programming in all
languages or writing plain-text. An example is the
-[textadept](../modules/_m.textadept.html) module which implements most of
+[textadept](../modules/_M.textadept.html) module which implements most of
Textadept's functionality (find/replace, key commands, menus, snippets, etc.).
These kinds of modules are generally loaded on startup. See the
[preferences](9_Preferences.html#user_init) page for instructions on how to load
@@ -20,7 +20,7 @@ generic modules when Textadept starts.
Each module of this class of modules is named after a language lexer in the
`lexers/` directory and is only available only for editing code in that
particular programming language unless you specify otherwise. Examples are the
-[cpp](../modules/_m.cpp.html) and [lua](../modules/_m.lua.html) modules which
+[cpp](../modules/_M.cpp.html) and [lua](../modules/_M.lua.html) modules which
provide special editing features for the C/C++ and Lua languages respectively.
#### Lexer
@@ -37,7 +37,7 @@ is loaded or a buffer's lexer is set to that language.
#### Snippets
Most language-specific modules have a set of
-[snippets](../modules/_m.textadept.snippets.html). Press `Ctrl+K` (`⌥⇥` on Mac
+[snippets](../modules/_M.textadept.snippets.html). Press `Ctrl+K` (`⌥⇥` on Mac
OSX) for a list of available snippets or see the module's Lua code. To insert a
snippet, type its trigger followed by the `Tab` (`⇥`) key. Subsequent presses of
`Tab` (`⇥`) causes the caret to enter tab stops in sequential order, `Shift+Tab`
@@ -52,7 +52,7 @@ another snippet).
#### Commands
Most language-specific modules have a set of [key
-commands](../modules/_m.textadept.keys.html). See the module's Lua code for
+commands](../modules/_M.textadept.keys.html). See the module's Lua code for
which key commands are available. They are typically stored in the `Ctrl+L`
(`⌘L` on Mac OSX) key prefix.
@@ -107,7 +107,7 @@ module, it will be loaded instead of the one that comes with Textadept.
## Developing Modules
-See the [LuaDoc](../modules/_m.html) for modules.
+See the [LuaDoc](../modules/_M.html) for modules.
## Customizing Modules
@@ -135,10 +135,10 @@ a `post_init.lua` file. For example, instead of copying the `lua` module and
changing its `set_buffer_properties()` function to use tabs, you can do this
from `post_init.lua`:
- function _m.lua.set_buffer_properties()
+ function _M.lua.set_buffer_properties()
buffer.use_tabs = true
end
Similarly, you can use `post_init.lua` to change the compile/run commands, load
-more [Adeptsense tags](../modules/_m.textadept.adeptsense.html#load_ctags), and
+more [Adeptsense tags](../modules/_M.textadept.adeptsense.html#load_ctags), and
add additional key commands and snippets.
diff --git a/doc/manual/9_Preferences.md b/doc/manual/9_Preferences.md
index 6e24daee..bd7fedbd 100644
--- a/doc/manual/9_Preferences.md
+++ b/doc/manual/9_Preferences.md
@@ -14,11 +14,11 @@ to load alongside the default modules, your `~/.textadept/init.lua` would
contain
require 'textadept'
- _m.foo = require 'foo'
+ _M.foo = require 'foo'
-Please note that the `textadept` module populates the `_m.textadept` table
+Please note that the `textadept` module populates the `_M.textadept` table
itself because of internal dependencies. Normally, modules do not do this, hence
-why `_m.foo = require 'foo'` is used.
+why `_M.foo = require 'foo'` is used.
If instead you wanted to load all of Textadept's default modules except for the
menu, copy the `textadept` module's `init.lua` (located in the
@@ -46,8 +46,8 @@ whitespace stripping on save, your `~/.textadept/init.lua` might look like:
require 'textadept'
- _m.textadept.editing.AUTOPAIR = false
- _m.textadept.editing.STRIP_WHITESPACE_ON_SAVE = false
+ _M.textadept.editing.AUTOPAIR = false
+ _M.textadept.editing.STRIP_WHITESPACE_ON_SAVE = false
#### Other