From e6feddc952ecb232ac0304ffa698ae707ac39cdb Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Fri, 4 Sep 2020 22:50:04 -0400 Subject: Renamed doc/ to docs/ and removed bombay dependency. Added some documentation infrastructure for eventual migration to a new build service. Use a simple Lua script for generating documentation offline. --- modules/lua/ta_api | 2 +- modules/textadept/menu.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/lua/ta_api b/modules/lua/ta_api index 93576dfc..1f31cc2e 100644 --- a/modules/lua/ta_api +++ b/modules/lua/ta_api @@ -632,7 +632,7 @@ handle_stdout Server:handle_stdout(output)\nProcesses unsolicited, incoming stdo height ui.command_entry.height (number)\nThe height in pixels of the command entry. hex_num lexer.hex_num (pattern)\nA pattern that matches a hexadecimal number. hide_lines view.hide_lines(view, start_line, end_line)\nHides the range of lines between line numbers *start_line* to *end_line*.\nThis has no effect on fold levels or fold flags and the first line cannot be\nhidden.\n@param view A view.\n@param start_line The start line of the range of lines in *view* to hide.\n@param end_line The end line of the range of lines in *view* to hide. -highlight_all_matches ui.find.highlight_all_matches (boolean)\nWhether or not to highlight all occurrences of found text in the current\nbuffer.\nThe default value is `true`. +highlight_all_matches ui.find.highlight_all_matches (boolean)\nWhether or not to highlight all occurrences of found text in the current\nbuffer.\nThe default value is `false`. highlight_guide view.highlight_guide (number)\nThe indentation guide column number to also highlight when highlighting\nmatching braces, or `0` to stop indentation guide highlighting. highlight_words textadept.editing.highlight_words (number)\nThe word highlight mode.\n\n* `textadept.editing.HIGHLIGHT_CURRENT`\n Automatically highlight all instances of the current word.\n* `textadept.editing.HIGHLIGHT_SELECTED`\n Automatically highlight all instances of the selected word.\n* `textadept.editing.HIGHLIGHT_NONE`\n Do not automatically highlight words.\n\nThe default value is `textadept.editing.HIGHLIGHT_NONE`. history _G.history (module)\n[Experimental]\nRecords buffer positions within Textadept views over time and allows for\nnavigating through that history.\n\nThis module is not loaded by default. `require('history')` must be called\nfrom *~/.textadept/init.lua*.\n\nBy default, this module listens for text edit events, and each time an\ninsertion or deletion occurs, its location is appended to the current view's\nlocation history. If the edit is close enough to the previous record, the\nprevious record is amended. diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index 198dda73..6812b062 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -334,8 +334,8 @@ local default_menubar = { }, { title = _L['Help'], - {_L['Show Manual'], function() open_page(_HOME .. '/doc/manual.html') end}, - {_L['Show LuaDoc'], function() open_page(_HOME .. '/doc/api.html') end}, + {_L['Show Manual'], function() open_page(_HOME .. '/docs/manual.html') end}, + {_L['Show LuaDoc'], function() open_page(_HOME .. '/docs/api.html') end}, SEPARATOR, {_L['About'], function() ui.dialogs.msgbox{ -- cgit v1.2.3