diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/06_AdeptEditing.md | 22 | ||||
-rw-r--r-- | doc/08_Preferences.md | 9 | ||||
-rw-r--r-- | doc/11_Scripting.md | 4 | ||||
-rw-r--r-- | doc/14_Appendix.md | 6 |
4 files changed, 20 insertions, 21 deletions
diff --git a/doc/06_AdeptEditing.md b/doc/06_AdeptEditing.md index 65cb750d..51c3115b 100644 --- a/doc/06_AdeptEditing.md +++ b/doc/06_AdeptEditing.md @@ -246,25 +246,27 @@ curses). This feature also works for plain text.  -### Adeptsense +### Autocompletion and Documentation Textadept has the capability to autocomplete symbols for programming languages and display API documentation. Pressing `Ctrl+Space` (`⌥⎋` on Mac OSX | `^Space` in curses) completes the current symbol and `Ctrl+H` (`^H` | `M-H` or `M-S-H`) -shows any known documentation on the current symbol. Note: In order for this -feature to work, the language you are working with must have an [Adeptsense][] -defined. [Language modules][] usually [define Adeptsenses][]. All of the -[official][] Textadept language modules have Adeptsenses. +shows any known documentation on the current symbol. Note: In order for these +features to work, the language you are working with must have an +[autocompleter][] and [API file(s)][], respectively. [Language modules][] +usually [define these][]. Most of the [official][] Textadept language modules +support autocompletion and documentation. - + - + - + [Language modules]: 07_Modules.html#Language.Modules -[Adeptsense]: api/textadept.adeptsense.html -[define Adeptsenses]: api/_M.html#Adeptsense +[autocompleter]: api/textadept.editing.html#autocompleters +[API file(s)]: api/textadept.editing.html#api_files +[define these]: api/_M.html#Autocompletion.and.Documentation [official]: http://foicica.com/hg ### Snippets diff --git a/doc/08_Preferences.md b/doc/08_Preferences.md index efcd1fb5..80fe37ed 100644 --- a/doc/08_Preferences.md +++ b/doc/08_Preferences.md @@ -80,19 +80,18 @@ tabs, simply put the event handler in *~/.textadept/modules/lua/post_init.lua*: end) Similarly, use *post_init.lua* to change the module's [compile and run][] -commands, load more [Adeptsense tags][], and add additional +commands, load more Autocompletion tags, and add additional [key bindings](#Key.Bindings) and [snippets](#Snippets) (instead of in *~/.textadept/init.lua*). For example: textadept.run.run_commands.lua = 'lua5.2' - _M.lua.sense:load_ctags('/path/to/my/projects/tags') + _M.lua.tags[#_M.lua.tags + 1] = '/path/to/my/projects/tags' keys.lua['c\n'] = function() buffer:line_end() buffer:add_text('end') buffer:new_line() end snippets.lua['ver'] = '%<_VERSION>' [compile and run]: 07_Modules.html#Compile.and.Run -[Adeptsense tags]: api/textadept.adeptsense.html#load_ctags ### Loading Modules @@ -174,10 +173,10 @@ spaces by default, your *~/.textadept/properties.lua* would contain: Textadept's *properties.lua* is a good "quick reference" for configurable properties. It also has many commented out properties that you can copy to your *~/.textadept/properties.lua* and uncomment to turn on or change the value of. -Use [Adeptsense][] to view a property's documentation or read the [LuaDoc][]. +You can view a property's documentation by pressing `Ctrl+H` (`^H` on Mac OSX | +`M-H` or `M-S-H` in curses) or by reading the [LuaDoc][]. [language module]: 07_Modules.html#Buffer.Properties -[Adeptsense]: 06_AdeptEditing.html#Adeptsense [LuaDoc]: api/buffer.html ## Locale diff --git a/doc/11_Scripting.md b/doc/11_Scripting.md index c0c68b59..5e8579f6 100644 --- a/doc/11_Scripting.md +++ b/doc/11_Scripting.md @@ -5,9 +5,9 @@ for editing Lua code. Textadept provides syntax autocompletion and documentation for the Lua and Textadept APIs. The [`lua` module][] also has more tools for working with Lua code. - + - + [`lua` module]: api/_M.lua.html diff --git a/doc/14_Appendix.md b/doc/14_Appendix.md index 182569cf..2abec6b7 100644 --- a/doc/14_Appendix.md +++ b/doc/14_Appendix.md @@ -413,8 +413,8 @@ lua.goto\_required() |Removed |N/A php.goto\_required() |Removed |N/A ruby.goto\_required() |Removed |N/A **_M.textadept.adeptsense** | | -complete\_symbol() |Replaced|[complete()][] -show\_documentation() |Replaced|[show\_apidoc()][] +complete\_symbol() |Replaced|complete() +show\_documentation() |Replaced|show\_apidoc() **_M.textadept.bookmarks** | | N/A |New |[toggle()][] add() |Renamed |toggle(true) @@ -430,8 +430,6 @@ prompt\_load() |Replaced|[load()][] prompt\_save() |Replaced|[save()][] [menu()]: api/ui.html#menu -[complete()]: api/textadept.adeptsense.html#complete -[show\_apidoc()]: api/textadept.adeptsense.html#show_apidoc [toggle()]: api/textadept.bookmarks.html#toggle [set\_menubar()]: api/textadept.menu.html#set_menubar [run()]: api/textadept.run.html#run |