aboutsummaryrefslogtreecommitdiff
path: root/doc/07_Modules.md
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-09-27 21:12:05 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-09-27 21:12:05 -0400
commitef23e13ac57cf6a8bcb04ccce10d2e5b34feec06 (patch)
tree558d22791c4461fc5b765ce9ef57dd2273df73e0 /doc/07_Modules.md
parent235a3a04d8cf7f80823d59a8ff6ec77fbf8e61d5 (diff)
downloadtextadept-ef23e13ac57cf6a8bcb04ccce10d2e5b34feec06.tar.gz
textadept-ef23e13ac57cf6a8bcb04ccce10d2e5b34feec06.zip
Integrated compile and run commands for most languages.
Compile and run should work out of the box for most languages. Also added a warning marker, renamed `compile_command` and `run_command` tables to `compile_commands` and `run_commands`, respectively, and renamed `error_details` to `error_patterns`, changing its structure to just hold patterns.
Diffstat (limited to 'doc/07_Modules.md')
-rw-r--r--doc/07_Modules.md26
1 files changed, 3 insertions, 23 deletions
diff --git a/doc/07_Modules.md b/doc/07_Modules.md
index 9af18ab5..3f929ec9 100644
--- a/doc/07_Modules.md
+++ b/doc/07_Modules.md
@@ -19,29 +19,9 @@ Language modules have a scope limited to a single programming language. The
module's name matches the language's lexer in the *lexers/* directory. Textadept
automatically loads the module when editing source code in that particular
language. In addition to the source code editing features discussed previously,
-these kinds of modules typically also define shell commands for running and
-compiling code, indentation settings, custom key bindings, and perhaps a custom
-context menu. The manual discusses these features below.
-
-### Compile and Run
-
-Most language modules specify commands that compile and/or run the code in the
-current file. Pressing `Ctrl+Shift+R` (`⌘⇧R` on Mac OSX | `M-^R` in curses)
-executes the command for compiling code and `Ctrl+R` (`⌘R` | `^R`) executes the
-command for running code. A new buffer shows the output from the command and
-marks any recognized errors. Pressing `Ctrl+Alt+E` (`^⌘E` | `M-X`) attempts to
-jump to the source of the next recognized error and `Ctrl+Alt+Shift+E` (`^⌘⇧E` |
-`M-S-X`) attempts to jump to the previous one. Double-clicking on errors also
-jumps to their sources. Note: In order for these features to work, the language
-you are working with must have its compile and run commands and error format
-defined. If the language module does not exist or does not [define][] commands
-or an error format, you can do so [manually][] in your [user-init file][].
-
-![Runtime Error](images/runerror.png)
-
-[define]: api/_M.html#Compile.and.Run
-[manually]: http://foicica.com/wiki/run-supplemental
-[user-init file]: 08_Preferences.html#User.Init
+these kinds of modules typically also define indentation settings, custom key
+bindings, and perhaps a custom context menu. The manual discusses these features
+below.
### Buffer Properties