aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-02-10 22:35:41 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2011-02-10 22:35:41 -0500
commitc7a72194a3088a4c9701628338c3608dadddd40b (patch)
treec5e306df785524fb85ae9372184a466b0a15b111 /modules
parent8d9902db02fb0218d2a6165b26348d19a5e95bc3 (diff)
downloadtextadept-c7a72194a3088a4c9701628338c3608dadddd40b.tar.gz
textadept-c7a72194a3088a4c9701628338c3608dadddd40b.zip
Updated documentation.
Diffstat (limited to 'modules')
-rw-r--r--modules/cpp/commands.lua4
-rw-r--r--modules/lua/commands.lua1
-rw-r--r--modules/lua/lua.luadoc4
-rw-r--r--modules/lua/tags8
4 files changed, 15 insertions, 2 deletions
diff --git a/modules/cpp/commands.lua b/modules/cpp/commands.lua
index 4385e001..fa876ef7 100644
--- a/modules/cpp/commands.lua
+++ b/modules/cpp/commands.lua
@@ -8,6 +8,10 @@ module('_m.cpp.commands', package.seeall)
-- ## Key Commands
--
-- + `Alt+L, M`: Open this module for editing.
+-- + `.`: When to the right of a known symbol, show an autocompletion list of
+-- fields and functions.
+-- + `->`: When to the right of a known symbol, show an autocompletion list of
+-- fields and functions.
-- + `Ctrl+I`: (Windows and Linux) Autocomplete symbol.
-- + `~`: (Mac OSX) Autocomplete symbol.
-- + `Tab`: When the caret is to the right of a `(` in a known function call,
diff --git a/modules/lua/commands.lua b/modules/lua/commands.lua
index b2423a51..da7bd6aa 100644
--- a/modules/lua/commands.lua
+++ b/modules/lua/commands.lua
@@ -69,7 +69,6 @@ end
-- Determines the Lua file being 'require'd, searches through package.path for
-- that file, and opens it in Textadept.
function goto_required()
- local buffer = buffer
local line = buffer:get_cur_line()
local patterns = { 'require%s*(%b())', 'require%s*(([\'"])[^%2]+%2)' }
local file
diff --git a/modules/lua/lua.luadoc b/modules/lua/lua.luadoc
index 3d5b5d1e..715d4a3f 100644
--- a/modules/lua/lua.luadoc
+++ b/modules/lua/lua.luadoc
@@ -801,6 +801,10 @@ function io.popen(prog [, mode]) end
-- Equivalent to `io.input():read`.
function io.read(ยทยทยท) end
+-- * `io.stderr`: Standard error.
+-- * `io.stdin`: Standard in.
+-- * `io.stdout`: Standard out.
+
---
-- Returns a handle for a temporary file. This file is opened in update
-- mode and it is automatically removed when the program ends.
diff --git a/modules/lua/tags b/modules/lua/tags
index 20b80e59..087822ad 100644
--- a/modules/lua/tags
+++ b/modules/lua/tags
@@ -160,6 +160,8 @@ completions _ 0;" t class:_m.textadept.adeptsense
ctags_kinds _ 0;" t class:_m.textadept.adeptsense
locations _ 0;" t class:_m.textadept.adeptsense
syntax _ 0;" t class:_m.textadept.adeptsense
+FUNCTIONS _ 0;" F class:_m.textadept.adeptsense
+FIELDS _ 0;" F class:_m.textadept.adeptsense
_m.textadept.bookmarks _ 0;" m
bookmarks _ 0;" t class:_m.textadept
add _ 0;" f class:_m.textadept.bookmarks
@@ -621,6 +623,7 @@ line_state _ 0;" F class:buffer
line_visible _ 0;" F class:buffer
lines_on_screen _ 0;" F class:buffer
main_selection _ 0;" F class:buffer
+margin_cursor_n _ 0;" F class:buffer
margin_left _ 0;" F class:buffer
margin_mask_n _ 0;" F class:buffer
margin_right _ 0;" F class:buffer
@@ -773,6 +776,9 @@ write _ 0;" f class:io
boms _ 0;" t class:io
recent_files _ 0;" t class:io
try_encodings _ 0;" t class:io
+stderr _ 0;" F class:io
+stdin _ 0;" F class:io
+stdout _ 0;" F class:io
keys _ 0;" m
keys _ 0;" t class:_G
keys _ 0;" t
@@ -1029,4 +1035,4 @@ concat _ 0;" f class:table
insert _ 0;" f class:table
maxn _ 0;" f class:table
remove _ 0;" f class:table
-sort _ 0;" f class:table \ No newline at end of file
+sort _ 0;" f class:table