diff options
Diffstat (limited to 'modules/lua')
-rw-r--r-- | modules/lua/ta_api | 52 | ||||
-rw-r--r-- | modules/lua/ta_tags | 12 |
2 files changed, 32 insertions, 32 deletions
diff --git a/modules/lua/ta_api b/modules/lua/ta_api index 27ff289b..dff6ecd6 100644 --- a/modules/lua/ta_api +++ b/modules/lua/ta_api @@ -48,21 +48,21 @@ CURSORARROW view.CURSORARROW (number, Read-only)\n CURSORNORMAL view.CURSORNORMAL (number, Read-only)\n CURSORREVERSEARROW view.CURSORREVERSEARROW (number, Read-only)\n CURSORWAIT view.CURSORWAIT (number, Read-only)\n -DEBUGGER_BREAKPOINT_ADDED events.DEBUGGER_BREAKPOINT_ADDED (string)\nEmitted when a breakpoint is added.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint). Breakpoints added while the debugger is not running are queued\nup until the debugger starts.\nArguments:\n\n* _`lexer`_: The lexer name of the language to add a breakpoint for.\n* _`filename`_: The filename to add a breakpoint in.\n* _`line`_: The 1-based line number to break on. -DEBUGGER_BREAKPOINT_REMOVED events.DEBUGGER_BREAKPOINT_REMOVED (string)\nEmitted when a breakpoint is removed.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`filename`_: The filename to remove a breakpoint from.\n* _`line`_: The 1-based line number to stop breaking on. -DEBUGGER_COMMAND events.DEBUGGER_COMMAND (string)\nEmitted when a debugger command should be run.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`text`_: The text of the command to run. -DEBUGGER_CONTINUE events.DEBUGGER_CONTINUE (string)\nEmitted when a execution should be continued.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.continue()`. -DEBUGGER_INSPECT events.DEBUGGER_INSPECT (string)\nEmitted when a symbol should be inspected.\nDebuggers typically show a symbol's value in a calltip via\n`view:call_tip_show()`.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`position`_: The buffer position of the symbol to inspect. The debugger\n responsible for identifying the symbol's name, as symbol characters vary\n from language to language. -DEBUGGER_PAUSE events.DEBUGGER_PAUSE (string)\nEmitted when execution should be paused.\nThis is only emitted when the debugger is running and executing (e.g. not\nat a breakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.pause()`. -DEBUGGER_RESTART events.DEBUGGER_RESTART (string)\nEmitted when execution should restart from the beginning.\nThis is only emitted when the debugger is running.\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.restart()`. -DEBUGGER_SET_FRAME events.DEBUGGER_SET_FRAME (string)\nEmitted when a stack frame should be switched to.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`level`_: The 1-based stack level number to switch to. This value\n depends on the stack levels given to `debugger.update_state()`. -DEBUGGER_START events.DEBUGGER_START (string)\nEmitted when a debugger should be started.\nThe debugger should not start executing yet, as there will likely be\nincoming breakpoint and watch add events. Subsequent events will instruct\nthe debugger to begin executing.\nIf a listener creates a debugger, it *must* return `true`. Otherwise, it is\nassumed that no debugger was created and subsequent debugger functions will\nnot work. Listeners *must not* return `false` (they can return `nil`).\nArguments:\n\n* _`lexer`_: The lexer name of the language to start debugging.\n* _`...`_: Any arguments passed to `debugger.start()`. -DEBUGGER_STEP_INTO events.DEBUGGER_STEP_INTO (string)\nEmitted when execution should continue by one line, stepping into\nfunctions.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.step_into()`. -DEBUGGER_STEP_OUT events.DEBUGGER_STEP_OUT (string)\nEmitted when execution should continue, stepping out of the current\nfunction.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.step_out()`. -DEBUGGER_STEP_OVER events.DEBUGGER_STEP_OVER (string)\nEmitted when execution should continue by one line, stepping over\nfunctions.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.step_over()`. -DEBUGGER_STOP events.DEBUGGER_STOP (string)\nEmitted when a debugger should be stopped.\nThis is only emitted when the debugger is running.\nArguments:\n\n* _`lexer`_: The lexer name of the language to stop debugging.\n* _`...`_: Any arguments passed to `debugger.stop()`. -DEBUGGER_WATCH_ADDED events.DEBUGGER_WATCH_ADDED (string)\nEmitted when a watch is added.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint). Watches added while the debugger is not running are queued up\nuntil the debugger starts.\nArguments:\n\n* _`lexer`_: The lexer name of the language to add a watch for.\n* _`expr`_: The expression or variable to watch, depending on what the\n debugger supports.\n* _`id`_: The expression's ID number. -DEBUGGER_WATCH_REMOVED events.DEBUGGER_WATCH_REMOVED (string)\nEmitted when a breakpoint is removed.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lexer`_: The lexer name of the language being debugged.\n* _`expr`_: The expression to stop watching.\n* _`id`_: The expression's ID number. +DEBUGGER_BREAKPOINT_ADDED events.DEBUGGER_BREAKPOINT_ADDED (string)\nEmitted when a breakpoint is added.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint). Breakpoints added while the debugger is not running are queued\nup until the debugger starts.\nArguments:\n\n* _`lang`_: The lexer name of the language to add a breakpoint for.\n* _`filename`_: The filename to add a breakpoint in.\n* _`line`_: The 1-based line number to break on. +DEBUGGER_BREAKPOINT_REMOVED events.DEBUGGER_BREAKPOINT_REMOVED (string)\nEmitted when a breakpoint is removed.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`filename`_: The filename to remove a breakpoint from.\n* _`line`_: The 1-based line number to stop breaking on. +DEBUGGER_COMMAND events.DEBUGGER_COMMAND (string)\nEmitted when a debugger command should be run.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`text`_: The text of the command to run. +DEBUGGER_CONTINUE events.DEBUGGER_CONTINUE (string)\nEmitted when a execution should be continued.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.continue()`. +DEBUGGER_INSPECT events.DEBUGGER_INSPECT (string)\nEmitted when a symbol should be inspected.\nDebuggers typically show a symbol's value in a calltip via\n`view:call_tip_show()`.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`position`_: The buffer position of the symbol to inspect. The debugger\n responsible for identifying the symbol's name, as symbol characters vary\n from language to language. +DEBUGGER_PAUSE events.DEBUGGER_PAUSE (string)\nEmitted when execution should be paused.\nThis is only emitted when the debugger is running and executing (e.g. not\nat a breakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.pause()`. +DEBUGGER_RESTART events.DEBUGGER_RESTART (string)\nEmitted when execution should restart from the beginning.\nThis is only emitted when the debugger is running.\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.restart()`. +DEBUGGER_SET_FRAME events.DEBUGGER_SET_FRAME (string)\nEmitted when a stack frame should be switched to.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`level`_: The 1-based stack level number to switch to. This value\n depends on the stack levels given to `debugger.update_state()`. +DEBUGGER_START events.DEBUGGER_START (string)\nEmitted when a debugger should be started.\nThe debugger should not start executing yet, as there will likely be\nincoming breakpoint and watch add events. Subsequent events will instruct\nthe debugger to begin executing.\nIf a listener creates a debugger, it *must* return `true`. Otherwise, it is\nassumed that no debugger was created and subsequent debugger functions will\nnot work. Listeners *must not* return `false` (they can return `nil`).\nArguments:\n\n* _`lang`_: The lexer name of the language to start debugging.\n* _`...`_: Any arguments passed to `debugger.start()`. +DEBUGGER_STEP_INTO events.DEBUGGER_STEP_INTO (string)\nEmitted when execution should continue by one line, stepping into\nfunctions.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.step_into()`. +DEBUGGER_STEP_OUT events.DEBUGGER_STEP_OUT (string)\nEmitted when execution should continue, stepping out of the current\nfunction.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.step_out()`. +DEBUGGER_STEP_OVER events.DEBUGGER_STEP_OVER (string)\nEmitted when execution should continue by one line, stepping over\nfunctions.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`...`_: Any arguments passed to `debugger.step_over()`. +DEBUGGER_STOP events.DEBUGGER_STOP (string)\nEmitted when a debugger should be stopped.\nThis is only emitted when the debugger is running.\nArguments:\n\n* _`lang`_: The lexer name of the language to stop debugging.\n* _`...`_: Any arguments passed to `debugger.stop()`. +DEBUGGER_WATCH_ADDED events.DEBUGGER_WATCH_ADDED (string)\nEmitted when a watch is added.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint). Watches added while the debugger is not running are queued up\nuntil the debugger starts.\nArguments:\n\n* _`lang`_: The lexer name of the language to add a watch for.\n* _`expr`_: The expression or variable to watch, depending on what the\n debugger supports.\n* _`id`_: The expression's ID number. +DEBUGGER_WATCH_REMOVED events.DEBUGGER_WATCH_REMOVED (string)\nEmitted when a breakpoint is removed.\nThis is only emitted when the debugger is running and paused (e.g. at a\nbreakpoint).\nArguments:\n\n* _`lang`_: The lexer name of the language being debugged.\n* _`expr`_: The expression to stop watching.\n* _`id`_: The expression's ID number. DEFAULT lexer.DEFAULT (string)\nThe token name for default tokens. DOCUTILS_PATH _M.rest.DOCUTILS_PATH (string)\nThe absolute path to the directory that contains the Python Docutils\nlibrary if it is not in the environment's `PYTHONPATH`.\nThe default value is `nil`, which indicates Docutils is installed. DOUBLE_CLICK events.DOUBLE_CLICK (string)\nEmitted after double-clicking the mouse button.\nArguments:\n\n* _`position`_: The position double-clicked.\n* _`line`_: The line number of the position double-clicked.\n* _`modifiers`_: A bit-mask of any modifier keys used: `view.MOD_CTRL`,\n `view.MOD_SHIFT`, `view.MOD_ALT`, and `view.MOD_META`.\n On Mac OSX, the Command modifier key is reported as `view.MOD_CTRL` and\n Ctrl is `view.MOD_META`.\n Note: If you set `view.rectangular_selection_modifier` to\n `view.MOD_CTRL`, the "Control" modifier is reported as *both* "Control"\n and "Alt" due to a Scintilla limitation with GTK. @@ -153,10 +153,10 @@ KEYPRESS events.KEYPRESS (string)\nEmitted when pressing a key.\nIf any handler KEYSYMS keys.KEYSYMS (table)\nLookup table for string representations of key codes higher than 255.\nKey codes can be identified by temporarily uncommenting the `print()`\nstatements in *core/keys.lua*. KEYWORD lexer.KEYWORD (string)\nThe token name for keyword tokens. LABEL lexer.LABEL (string)\nThe token name for label tokens. -LEXER_LOADED events.LEXER_LOADED (string)\nEmitted after loading a language lexer.\nThis is useful for overriding a language module's key bindings or other\nproperties since the module is not loaded when Textadept starts.\nArguments:\n\n* _`lexer`_: The language lexer's name. +LEXER_LOADED events.LEXER_LOADED (string)\nEmitted after loading a language lexer.\nThis is useful for overriding a language module's key bindings or other\nproperties since the module is not loaded when Textadept starts.\nArguments:\n\n* _`name`_: The language lexer's name. LINUX _G.LINUX (bool)\nWhether or not Textadept is running on Linux. -LSP_INITIALIZED events.LSP_INITIALIZED (string)\nEmitted when an LSP connection has been initialized.\nThis is useful for sending server-specific notifications to the server upon\ninit via `Server:notify()`.\nEmitted by `lsp.start()`.\nArguments:\n\n* _`lexer`_: The lexer language of the LSP.\n* _`server`_: The LSP server. -LSP_NOTIFICATION events.LSP_NOTIFICATION (string)\nEmitted when an LSP server emits an unhandled notification.\nThis is useful for handling server-specific notifications. Responses can be\nsent via `Server:respond()`.\nAn event handler should return `true`.\nArguments:\n\n* _`lexer`_: The lexer language of the LSP.\n* _`server`_: The LSP server.\n* _`method`_: The string LSP notification method name.\n* _`params`_: The table of LSP notification params. Contents may be\n server-specific. +LSP_INITIALIZED events.LSP_INITIALIZED (string)\nEmitted when an LSP connection has been initialized.\nThis is useful for sending server-specific notifications to the server upon\ninit via `Server:notify()`.\nEmitted by `lsp.start()`.\nArguments:\n\n* _`lang`_: The lexer name of the LSP language.\n* _`server`_: The LSP server. +LSP_NOTIFICATION events.LSP_NOTIFICATION (string)\nEmitted when an LSP server emits an unhandled notification.\nThis is useful for handling server-specific notifications. Responses can be\nsent via `Server:respond()`.\nAn event handler should return `true`.\nArguments:\n\n* _`lang`_: The lexer name of the LSP language.\n* _`server`_: The LSP server.\n* _`method`_: The string LSP notification method name.\n* _`params`_: The table of LSP notification params. Contents may be\n server-specific. LUA_FLAGS ctags.LUA_FLAGS (string)\nA set of command-line options for ctags that better parses Lua code.\nCombine this with other flags in `ctags.ctags_flags` if Lua files will\nbe parsed. LUA_GENERATOR ctags.LUA_GENERATOR (string)\nPlaceholder value that indicates Textadept's built-in Lua tags and api file\ngenerator should be used instead of ctags. Requires LuaDoc to be installed. MARGINOPTION_NONE view.MARGINOPTION_NONE (number, Read-only)\n @@ -359,7 +359,7 @@ ansi_c _G.snippets.ansi_c (table)\nTable of C-specific snippets. ansi_c _M.ansi_c (module)\nThe ansi_c module.\nIt provides utilities for editing C code. ansi_c debugger.ansi_c (module)\nLanguage debugging support for C and C++. any lexer.any (pattern)\nA pattern that matches any single character. -api_commands ctags.api_commands (table)\nMap of project root paths to string commands, or functions that return such\nstrings, that generate an *api* file that Textadept can read via\n`textadept.editing.show_documentation()`.\nThe user is responsible for adding the generated api file to\n`textadept.editing.api_files[lexer]` for each lexer language the file applies\nto.\n@see textadept.editing.api_files +api_commands ctags.api_commands (table)\nMap of project root paths to string commands, or functions that return such\nstrings, that generate an *api* file that Textadept can read via\n`textadept.editing.show_documentation()`.\nThe user is responsible for adding the generated api file to\n`textadept.editing.api_files[lexer]` for each lexer name the file applies to.\n@see textadept.editing.api_files api_files textadept.editing.api_files (table)\nMap of lexer names to API documentation file tables.\nFile tables contain API file paths or functions that return such paths.\nEach line in an API file consists of a symbol name (not a fully qualified\nsymbol name), a space character, and that symbol's documentation. "\\n"\nrepresents a newline character.\n@see show_documentation append history.append(filename, line, column)\nAppends the given location to the current view's history.\n@param filename String filename, buffer type, or identifier of the buffer to\n store.\n@param line Integer line number starting from 0 to store.\n@param column Integer column number starting from 0 to store. append_text buffer.append_text(buffer, text)\nAppends string *text* to the end of the buffer without modifying any existing\nselections or scrolling the text into view.\n@param buffer A buffer.\n@param text The text to append. @@ -473,7 +473,7 @@ connect events.connect(event, f, index)\nAdds function *f* to the set of event h constants _SCINTILLA.constants (table)\nMap of Scintilla constant names to their numeric values.\n@see _G.buffer context_menu textadept.menu.context_menu (table)\nThe default right-click context menu.\nSubmenus, and menu items can be retrieved by name in addition to table index\nnumber. context_menu ui.context_menu (userdata)\nThe buffer's context menu, a `ui.menu()`.\nThis is a low-level field. You probably want to use the higher-level\n`textadept.menu.context_menu`. -continue debugger.continue(lexer, ...)\nContinue debugger execution unless the debugger is already executing (e.g.\nnot at a breakpoint).\nIf no debugger is running, starts one, then continues execution.\nEmits a `DEBUGGER_CONTINUE` event, passing along any arguments given.\n@param lexer Optional lexer name of the language to continue executing. The\n default value is the current lexer. +continue debugger.continue(lang, ...)\nContinue debugger execution unless the debugger is already executing (e.g.\nnot at a breakpoint).\nIf no debugger is running, starts one, then continues execution.\nEmits a `DEBUGGER_CONTINUE` event, passing along any arguments given.\n@param lang Optional lexer name of the language to continue executing. The\n default value is the name of the current lexer. contracted_fold_next view.contracted_fold_next(view, line)\nReturns the line number of the next contracted fold point starting from line\nnumber *line*, or `-1` if none exists.\n@param view A view.\n@param line The line number in *view* to start at.\n@return number control_structure_patterns _M.ruby.control_structure_patterns (table)\nPatterns for auto `end` completion for control structures.\n@see try_to_autocomplete_end convert_eols buffer.convert_eols(buffer, mode)\nConverts all end of line characters to those in end of line mode *mode*.\n@param buffer A buffer.\n@param mode The end of line mode to convert to. Valid values are:\n * `buffer.EOL_CRLF`\n * `buffer.EOL_CR`\n * `buffer.EOL_LF` @@ -799,7 +799,7 @@ multiple_select_add_each buffer.multiple_select_add_each(buffer)\nAdds to the se multiple_select_add_next buffer.multiple_select_add_next(buffer)\nAdds to the set of selections the next occurrence of the main selection\nwithin the target range, makes that occurrence the new main selection, and\nscrolls it into view.\nIf there is no selected text, the current word is used.\n@param buffer A buffer. multiple_selection buffer.multiple_selection (bool)\nEnable multiple selection.\nThe default value is `false`. name_of_style buffer.name_of_style(buffer, style)\nReturns the name of style number *style*, which is between `1` and `256`.\n@param buffer A buffer.\n@param style The style number between `1` and `256` to get the name of.\n@return string -new Server.new(lexer, cmd, init_options)\nStarts, initializes, and returns a new language server.\n@param lexer Lexer language of the language server.\n@param cmd String command to start the language server.\n@param init_options Optional table of options to be passed to the language\n server for initialization. +new Server.new(lang, cmd, init_options)\nStarts, initializes, and returns a new language server.\n@param lang Lexer name of the language server.\n@param cmd String command to start the language server.\n@param init_options Optional table of options to be passed to the language\n server for initialization. new buffer.new()\nCreates a new buffer, displays it in the current view, and returns it.\nEmits a `BUFFER_NEW` event.\n@return the new buffer.\n@see events.BUFFER_NEW new lexer.new(name, opts)\nCreates a returns a new lexer with the given name.\n@param name The lexer's name.\n@param opts Table of lexer options. Options currently supported:\n * `lex_by_line`: Whether or not the lexer only processes whole lines of\n text (instead of arbitrary chunks of text) at a time.\n Line lexers cannot look ahead to subsequent lines.\n The default value is `false`.\n * `fold_by_indentation`: Whether or not the lexer does not define any fold\n points and that fold points should be calculated based on changes in line\n indentation.\n The default value is `false`.\n * `case_insensitive_fold_points`: Whether or not fold points added via\n `lexer.add_fold_point()` ignore case.\n The default value is `false`.\n * `inherit`: Lexer to inherit from.\n The default value is `nil`.\n@usage lexer.new('rhtml', {inherit = lexer.load('html')}) new_line buffer.new_line(buffer)\nTypes a new line at the caret position according to `buffer.eol_mode`.\n@param buffer A buffer. @@ -908,7 +908,7 @@ ruby _G.snippets.ruby (table)\nContainer for Ruby-specific snippets. ruby _M.ruby (module)\nThe ruby module.\nIt provides utilities for editing Ruby code. run textadept.run (module)\nCompile and run source code files with Textadept.\nLanguage modules may tweak the `compile_commands`,\n`run_commands`, and `error_patterns` tables for particular languages.\nThe user may tweak `build_commands` for particular projects. run textadept.run.run(filename)\nRuns file *filename* or the current file using an appropriate shell command\nfrom the `run_commands` table.\nThe shell command is determined from the file's filename, extension, or\nlanguage in that order.\nEmits `RUN_OUTPUT` events.\n@param filename Optional path to the file to run. The default value is the\n current file's filename.\n@see run_commands\n@see _G.events -run ui.command_entry.run(f, keys, lexer, height)\nOpens the command entry, subjecting it to any key bindings defined in table\n*keys*, highlighting text with lexer name *lexer*, and displaying\n*height* number of lines at a time, and then when the `Enter` key is pressed,\ncloses the command entry and calls function *f* (if non-`nil`) with the\ncommand entry's text as an argument.\nBy default with no arguments given, opens a Lua command entry.\nThe command entry does not respond to Textadept's default key bindings, but\ninstead to the key bindings defined in *keys* and in\n`ui.command_entry.editing_keys`.\n@param f Optional function to call upon pressing `Enter` in the command\n entry, ending the mode. It should accept the command entry text as an\n argument.\n@param keys Optional table of key bindings to respond to. This is in\n addition to the basic editing and movement keys defined in\n `ui.command_entry.editing_keys`.\n `Esc` and `Enter` are automatically defined to cancel and finish the\n command entry, respectively.\n This parameter may be omitted completely.\n@param lexer Optional string lexer name to use for command entry text. The\n default value is `'text'`.\n@param height Optional number of lines to display in the command entry. The\n default value is `1`.\n@usage ui.command_entry.run(ui.print)\n@see editing_keys +run ui.command_entry.run(f, keys, lang, height)\nOpens the command entry, subjecting it to any key bindings defined in table\n*keys*, highlighting text with lexer name *lang*, and displaying\n*height* number of lines at a time, and then when the `Enter` key is pressed,\ncloses the command entry and calls function *f* (if non-`nil`) with the\ncommand entry's text as an argument.\nBy default with no arguments given, opens a Lua command entry.\nThe command entry does not respond to Textadept's default key bindings, but\ninstead to the key bindings defined in *keys* and in\n`ui.command_entry.editing_keys`.\n@param f Optional function to call upon pressing `Enter` in the command\n entry, ending the mode. It should accept the command entry text as an\n argument.\n@param keys Optional table of key bindings to respond to. This is in\n addition to the basic editing and movement keys defined in\n `ui.command_entry.editing_keys`.\n `Esc` and `Enter` are automatically defined to cancel and finish the\n command entry, respectively.\n This parameter may be omitted completely.\n@param lang Optional string lexer name to use for command entry text. The\n default value is `'text'`.\n@param height Optional number of lines to display in the command entry. The\n default value is `1`.\n@usage ui.command_entry.run(ui.print)\n@see editing_keys run_commands textadept.run.run_commands (table)\nMap of filenames, file extensions, and lexer names to their associated "run"\nshell command line strings or functions that return strings.\nCommand line strings may have the following macros:\n\n + `%f`: The file's name, including its extension.\n + `%e`: The file's name, excluding its extension.\n + `%d`: The file's directory path.\n + `%p`: The file's full path.\n\nFunctions may also return a working directory to operate in. By default, it\nis the current file's parent directory. run_in_background textadept.run.run_in_background (bool)\nRun shell commands silently in the background.\nThis only applies when the message buffer is open, though it does not have\nto be visible.\nThe default value is `false`. save buffer.save(buffer)\nSaves the buffer to its file.\nEmits `FILE_BEFORE_SAVE` and `FILE_AFTER_SAVE` events.\n@param buffer A buffer. @@ -955,7 +955,7 @@ selection_n_start buffer.selection_n_start (table)\nTable of positions at the be selection_n_start_virtual_space buffer.selection_n_start_virtual_space (number, Read-only)\nTable of positions at the beginning of virtual space selected in existing\nselections numbered from `1`, the main selection. selection_start buffer.selection_start (number)\nThe position of the beginning of the selected text.\nWhen set, becomes the anchor, but is not scrolled into view. selections buffer.selections (number, Read-only)\nThe number of active selections. There is always at least one selection. -server_commands lsp.server_commands (table)\nMap of lexer languages to LSP language server commands or configurations, or\nfunctions that return either a server command or a configuration.\nCommands are simple string shell commands. Configurations are tables with the\nfollowing keys:\n\n * `command`: String shell command used to run the LSP language server.\n * `init_options`: Table of initialization options to pass to the language\n server in the "initialize" request. +server_commands lsp.server_commands (table)\nMap of lexer names to LSP language server commands or configurations, or\nfunctions that return either a server command or a configuration.\nCommands are simple string shell commands. Configurations are tables with the\nfollowing keys:\n\n * `command`: String shell command used to run the LSP language server.\n * `init_options`: Table of initialization options to pass to the language\n server in the "initialize" request. session textadept.session (module)\nSession support for Textadept. set_chars_default buffer.set_chars_default(buffer)\nResets `buffer.word_chars`, `buffer.whitespace_chars`, and\n`buffer.punctuation_chars` to their respective defaults.\n@param buffer A buffer.\n@see word_chars\n@see whitespace_chars\n@see punctuation_chars set_default_fold_display_text view.set_default_fold_display_text(view, text)\nSets the default fold display text to string *text*.\n@param view A view.\n@param text The text to display by default next to folded lines.\n@see toggle_fold_show_text @@ -964,7 +964,7 @@ set_encoding buffer.set_encoding(buffer, encoding)\nConverts the current buffer' set_fold_margin_color view.set_fold_margin_color(view, use_setting, color)\nOverrides the fold margin's default color with color *color*, in "0xBBGGRR"\nformat,\nif *use_setting* is `true`.\n@param view A view.\n@param use_setting Whether or not to use *color*.\n@param color The color in "0xBBGGRR" format. set_fold_margin_hi_color view.set_fold_margin_hi_color(view, use_setting, color)\nOverrides the fold margin's default highlight color with color *color*, in\n"0xBBGGRR" format, if *use_setting* is `true`.\n@param view A view.\n@param use_setting Whether or not to use *color*.\n@param color The color in "0xBBGGRR" format. set_frame debugger.set_frame()\nPrompts the user to select a stack frame to switch to from the current\ndebugger call stack, unless the debugger is executing (e.g. not at a\nbreakpoint).\nEmits a `DEBUGGER_SET_FRAME` event. -set_lexer buffer.set_lexer(buffer, lexer)\nAssociates lexer name *lexer* or the auto-detected lexer name with the buffer\nand then loads the appropriate language module if that module exists.\n@param buffer A buffer.\n@param lexer Optional string lexer name to set. If `nil`, attempts to\n auto-detect the buffer's lexer.\n@usage buffer:set_lexer('lexer_name') +set_lexer buffer.set_lexer(buffer, name)\nAssociates string lexer name *name* or the auto-detected lexer name with the \nbuffer and then loads the appropriate language module if that module exists.\n@param buffer A buffer.\n@param name Optional string lexer name to set. If `nil`, attempts to\n auto-detect the buffer's lexer.\n@usage buffer:set_lexer('lexer_name') set_save_point buffer.set_save_point(buffer)\nIndicates the buffer has no unsaved changes.\n@param buffer A buffer. set_sel buffer.set_sel(buffer, start_pos, end_pos)\nSelects the range of text between positions *start_pos* and *end_pos*,\nscrolling the selected text into view.\n@param buffer A buffer.\n@param start_pos The start position of the range of text in *buffer* to\n select. If negative, it means the end of the buffer.\n@param end_pos The end position of the range of text in *buffer* to select.\n If negative, it means remove any selection (i.e. set the `anchor` to the\n same position as `current_pos`). set_sel_back view.set_sel_back(view, use_setting, color)\nOverrides the selection's default background color with color *color*, in\n"0xBBGGRR" format, if *use_setting* is `true`.\nOverwrites any existing `view.additional_sel_back` color.\n@param view A view.\n@param use_setting Whether or not to use *color*.\n@param color The color in "0xBBGGRR" format. @@ -1000,7 +1000,7 @@ spellchecker spellcheck.spellchecker (userdata)\nThe Hunspell spellchecker objec split view.split(view, vertical)\nSplits the view into top and bottom views (unless *vertical* is `true`),\nfocuses the new view, and returns both the old and new views.\nIf *vertical* is `false`, splits the view vertically into left and\nright views.\nEmits a `VIEW_NEW` event.\n@param view The view to split.\n@param vertical Optional flag indicating whether or not to split the view\n vertically. The default value is `false`, for horizontal.\n@return old view and new view.\n@see events.VIEW_NEW standard_dropdown ui.dialogs.standard_dropdown(options)\nPrompts the user with a drop-down item selection dialog defined by dialog\noptions table *options* and with localized "Ok" and "Cancel" buttons,\nreturning the selected button's index along with the selected item's index.\nIf *options*.`string_output` is `true`, returns the selected button's label\nalong with the selected item's text.\nIf the dialog closed due to *options*.`exit_onchange`, returns `4` along with\neither the selected item's index or its text. If the dialog timed out,\nreturns `0` or `"timeout"`. If the user canceled the dialog, returns `-1` or\n`"delete"`.\n@param options Table of key-value option pairs for the drop-down dialog.\n\n * `title`: The dialog's title text.\n * `text`: The dialog's main message text.\n * `items`: The list of string items to show in the drop-down.\n * `no_cancel`: Do not display the "Cancel" button. The default value is\n `false`.\n * `exit_onchange`: Close the dialog after selecting a new item. The default\n value is `false`.\n * `select`: The index of the initially selected list item. The default\n value is `1`.\n * `string_output`: Return the selected button's label (instead of its\n index) and the selected item's text (instead of its index). If no item\n was selected, returns the dialog's exit status (instead of its exit\n code). The default value is `false`.\n * `width`: The dialog's pixel width.\n * `height`: The dialog's pixel height.\n * `float`: Show the dialog on top of all desktop windows. The default value\n is `false`.\n * `timeout`: The integer number of seconds the dialog waits for the user to\n select a button before timing out. Dialogs do not time out by default.\n@return selected button or exit code, selected item standard_inputbox ui.dialogs.standard_inputbox(options)\nPrompts the user with an inputbox dialog defined by dialog options table\n*options* and with localized "Ok" and "Cancel" buttons, returning the\nselected button's index along with the user's input text (the latter as a\nstring or table, depending on the type of *options*.`informative_text`).\nIf *options*.`string_output` is `true`, returns the selected button's label\nalong with the user's input text.\nIf the dialog timed out, returns `0` or `"timeout"`. If the user canceled the\ndialog, returns `-1` or `"delete"`.\n@param options Table of key-value option pairs for the inputbox.\n\n * `title`: The dialog's title text.\n * `informative_text`: The dialog's main message text. If the value is a\n table, the first table value is the main message text and any subsequent\n values are used as the labels for multiple entry boxes. Providing a\n single label has no effect.\n * `text`: The dialog's initial input text. If the value is a table, the\n table values are used to populate the multiple entry boxes defined by\n `informative_text`.\n * `no_cancel`: Do not display the "Cancel" button. The default value is\n `false`.\n * `string_output`: Return the selected button's label (instead of its\n index) or the dialog's exit status instead of the button's index (instead\n of its exit code). The default value is `false`.\n * `width`: The dialog's pixel width.\n * `height`: The dialog's pixel height.\n * `float`: Show the dialog on top of all desktop windows. The default value\n is `false`.\n * `timeout`: The integer number of seconds the dialog waits for the user to\n select a button before timing out. Dialogs do not time out by default.\n@return selected button or exit code, input text -start debugger.start(lexer, ...)\nStarts a debugger and adds any queued breakpoints and watches.\nEmits a `DEBUGGER_START` event, passing along any arguments given. If a\ndebugger cannot be started, the event handler should throw an error.\nThis only starts a debugger. `debugger.continue()`,\n`debugger.step_into()`, or `debugger.step_over()` should be called\nnext to begin debugging.\n@param lexer Optional lexer name of the language to start debugging. The\n default value is the current lexer.\n@return whether or not a debugger was started +start debugger.start(lang, ...)\nStarts a debugger and adds any queued breakpoints and watches.\nEmits a `DEBUGGER_START` event, passing along any arguments given. If a\ndebugger cannot be started, the event handler should throw an error.\nThis only starts a debugger. `debugger.continue()`,\n`debugger.step_into()`, or `debugger.step_over()` should be called\nnext to begin debugging.\n@param lang Optional lexer name of the language to start debugging. The\n default value is the name of the current lexer.\n@return whether or not a debugger was started start file_diff.start(file1, file2, horizontal)\nHighlight differences between files *file1* and *file2*, or the user-selected\nfiles.\n@param file1 Optional name of the older file. If `-`, uses the current\n buffer. If `nil`, the user is prompted for a file.\n@param file2 Optional name of the newer file. If `-`, uses the current\n buffer. If `nil`, the user is prompted for a file.\n@param horizontal Optional flag specifying whether or not to split the view\n horizontally. The default value is `false`, comparing the two files\n side-by-side. start lsp.start()\nStarts a language server based on the current language. start_styling buffer.start_styling(buffer, position, unused)\nBegins styling at position *position* with styling bit-mask *style_mask*.\n*style_mask* specifies which style bits can be set with\n`buffer.set_styling()`.\n@param buffer A buffer.\n@param position The position in *buffer* to start styling at.\n@param unused Unused number. `0` can be safely used.\n@usage buffer:start_styling(1, 0)\n@see set_styling @@ -1010,7 +1010,7 @@ statusbar_text ui.statusbar_text (string, Write-only)\nThe text displayed in the step_into debugger.step_into(...)\nContinue debugger execution by one line, stepping into functions, unless the\ndebugger is already executing (e.g. not at a breakpoint).\nIf no debugger is running, starts one, then steps.\nEmits a `DEBUGGER_STEP_INTO` event, passing along any arguments given. step_out debugger.step_out(...)\nContinue debugger execution, stepping out of the current function, unless the\ndebugger is already executing (e.g. not at a breakpoint).\nEmits a `DEBUGGER_STEP_OUT` event, passing along any additional arguments\ngiven. step_over debugger.step_over(...)\nContinue debugger execution by one line, stepping over functions, unless the\ndebugger is already executing (e.g. not at a breakpoint).\nIf no debugger is running, starts one, then steps.\nEmits a `DEBUGGER_STEP_OVER` event, passing along any arguments given. -stop debugger.stop(lexer, ...)\nStops debugging.\nDebuggers should call this function when finished.\nEmits a `DEBUGGER_STOP` event, passing along any arguments given.\n@param lexer Optional lexer name of the language to stop debugging. The\n default value is the current lexer. +stop debugger.stop(lang, ...)\nStops debugging.\nDebuggers should call this function when finished.\nEmits a `DEBUGGER_STOP` event, passing along any arguments given.\n@param lang Optional lexer name of the language to stop debugging. The\n default value is the name of the current lexer. stop lsp.stop()\nStops a running language server based on the current language. stop textadept.run.stop()\nStops the currently running process, if any. string _G.string (module)\nExtends Lua's `string` library to provide character set conversions. diff --git a/modules/lua/ta_tags b/modules/lua/ta_tags index e6948cf7..de411830 100644 --- a/modules/lua/ta_tags +++ b/modules/lua/ta_tags @@ -481,7 +481,7 @@ connect _HOME/core/events.lua /^function M.connect(event, f, index)$/;" f class: constants _HOME/core/iface.lua /^M.constants = {ACCESSIBILITY_DISABLED=0,ACCESSIBILITY_ENABLED=1,ALPHA_NOALPHA=256,ALPHA_OPAQUE=255,ALPHA_TRANSPARENT=0,ANNOTATION_BOXED=2,ANNOTATION_HIDDEN=0,ANNOTATION_INDENTED=3,ANNOTATION_STANDARD=1,AUTOMATICFOLD_CHANGE=0x0004,AUTOMATICFOLD_CLICK=0x0002,AUTOMATICFOLD_SHOW=0x0001,CARETSTICKY_OFF=0,CARETSTICKY_ON=1,CARETSTICKY_WHITESPACE=2,CARETSTYLE_BLOCK=2,CARETSTYLE_BLOCK_AFTER=0x100,CARETSTYLE_INS_MASK=0xF,CARETSTYLE_INVISIBLE=0,CARETSTYLE_LINE=1,CARETSTYLE_OVERSTRIKE_BAR=0,CARETSTYLE_OVERSTRIKE_BLOCK=0x10,CARET_EVEN=0x08,CARET_JUMPS=0x10,CARET_SLOP=0x01,CARET_STRICT=0x04,CASEINSENSITIVEBEHAVIOR_IGNORECASE=1,CASEINSENSITIVEBEHAVIOR_RESPECTCASE=0,CASE_CAMEL=3,CASE_LOWER=2,CASE_MIXED=0,CASE_UPPER=1,CHARACTERSOURCE_DIRECT_INPUT=0,CHARACTERSOURCE_IME_RESULT=2,CHARACTERSOURCE_TENTATIVE_INPUT=1,CP_UTF8=65001,CURSORARROW=2,CURSORNORMAL=-1,CURSORREVERSEARROW=7,CURSORWAIT=4,EDGE_BACKGROUND=2,EDGE_LINE=1,EDGE_MULTILINE=3,EDGE_NONE=0,EOLANNOTATION_BOXED=2,EOLANNOTATION_HIDDEN=0,EOLANNOTATION_STANDARD=1,EOL_CR=1,EOL_CRLF=0,EOL_LF=2,FIND_CXX11REGEX=0x00800000,FIND_MATCHCASE=0x4,FIND_NONE=0x0,FIND_REGEXP=10485760,FIND_WHOLEWORD=0x2,FIND_WORDSTART=0x00100000,FOLDACTION_CONTRACT=0,FOLDACTION_EXPAND=1,FOLDACTION_TOGGLE=2,FOLDDISPLAYTEXT_BOXED=2,FOLDDISPLAYTEXT_HIDDEN=0,FOLDDISPLAYTEXT_STANDARD=1,FOLDFLAG_LEVELNUMBERS=0x0040,FOLDFLAG_LINEAFTER_CONTRACTED=0x0010,FOLDFLAG_LINEAFTER_EXPANDED=0x0008,FOLDFLAG_LINEBEFORE_CONTRACTED=0x0004,FOLDFLAG_LINEBEFORE_EXPANDED=0x0002,FOLDFLAG_LINESTATE=0x0080,FOLDLEVELBASE=0x400,FOLDLEVELHEADERFLAG=0x2000,FOLDLEVELNUMBERMASK=0x0FFF,FOLDLEVELWHITEFLAG=0x1000,IDLESTYLING_AFTERVISIBLE=2,IDLESTYLING_ALL=3,IDLESTYLING_NONE=0,IDLESTYLING_TOVISIBLE=1,IME_INLINE=1,IME_WINDOWED=0,INDICATOR_CONTAINER=9,INDICATOR_IME=33,INDICATOR_IME_MAX=36,INDICATOR_MAX=36,INDIC_BOX=6,INDIC_COMPOSITIONTHICK=14,INDIC_COMPOSITIONTHIN=15,INDIC_CONTAINER=8,INDIC_DASH=9,INDIC_DIAGONAL=3,INDIC_DOTBOX=12,INDIC_DOTS=10,INDIC_FULLBOX=16,INDIC_GRADIENT=20,INDIC_GRADIENTCENTER=21,INDIC_HIDDEN=5,INDIC_IME=32,INDIC_IME_MAX=35,INDIC_MAX=35,INDIC_PLAIN=0,INDIC_POINT=18,INDIC_POINTCHARACTER=19,INDIC_ROUNDBOX=7,INDIC_SQUIGGLE=1,INDIC_SQUIGGLELOW=11,INDIC_SQUIGGLEPIXMAP=13,INDIC_STRAIGHTBOX=8,INDIC_STRIKE=4,INDIC_TEXTFORE=17,INDIC_TT=2,IV_LOOKBOTH=3,IV_LOOKFORWARD=2,IV_NONE=0,IV_REAL=1,LASTSTEPINUNDOREDO=0x100,MARGINOPTION_NONE=0,MARGINOPTION_SUBLINESELECT=1,MARGIN_BACK=2,MARGIN_COLOR=6,MARGIN_FORE=3,MARGIN_NUMBER=1,MARGIN_RTEXT=5,MARGIN_SYMBOL=0,MARGIN_TEXT=4,MARKER_MAX=32,MARKNUM_FOLDER=31,MARKNUM_FOLDEREND=26,MARKNUM_FOLDERMIDTAIL=28,MARKNUM_FOLDEROPEN=32,MARKNUM_FOLDEROPENMID=27,MARKNUM_FOLDERSUB=30,MARKNUM_FOLDERTAIL=29,MARK_ARROW=2,MARK_ARROWDOWN=6,MARK_ARROWS=24,MARK_AVAILABLE=28,MARK_BACKGROUND=22,MARK_BOOKMARK=31,MARK_BOXMINUS=14,MARK_BOXMINUSCONNECTED=15,MARK_BOXPLUS=12,MARK_BOXPLUSCONNECTED=13,MARK_CHARACTER=10000,MARK_CIRCLE=0,MARK_CIRCLEMINUS=20,MARK_CIRCLEMINUSCONNECTED=21,MARK_CIRCLEPLUS=18,MARK_CIRCLEPLUSCONNECTED=19,MARK_DOTDOTDOT=23,MARK_EMPTY=5,MARK_FULLRECT=26,MARK_LCORNER=10,MARK_LCORNERCURVE=16,MARK_LEFTRECT=27,MARK_MINUS=7,MARK_PIXMAP=25,MARK_PLUS=8,MARK_RGBAIMAGE=30,MARK_ROUNDRECT=1,MARK_SHORTARROW=4,MARK_SMALLRECT=3,MARK_TCORNER=11,MARK_TCORNERCURVE=17,MARK_UNDERLINE=29,MARK_VERTICALBOOKMARK=32,MARK_VLINE=9,MASK_FOLDERS=0xFE000000,MAX_MARGIN=5,MODEVENTMASKALL=0x7FFFFF,MOD_ALT=4,MOD_BEFOREDELETE=0x800,MOD_BEFOREINSERT=0x400,MOD_CHANGEANNOTATION=0x20000,MOD_CHANGEEOLANNOTATION=0x400000,MOD_CHANGEFOLD=0x8,MOD_CHANGEINDICATOR=0x4000,MOD_CHANGELINESTATE=0x8000,MOD_CHANGEMARGIN=0x10000,MOD_CHANGEMARKER=0x200,MOD_CHANGESTYLE=0x4,MOD_CHANGETABSTOPS=0x200000,MOD_CONTAINER=0x40000,MOD_CTRL=2,MOD_DELETETEXT=0x2,MOD_INSERTCHECK=0x100000,MOD_INSERTTEXT=0x1,MOD_LEXERSTATE=0x80000,MOD_META=16,MOD_NONE=0x0,MOD_NORM=0,MOD_SHIFT=1,MOD_SUPER=8,MOUSE_DRAG=2,MOUSE_PRESS=1,MOUSE_RELEASE=3,MULTIAUTOC_EACH=1,MULTIAUTOC_ONCE=0,MULTILINEUNDOREDO=0x1000,MULTIPASTE_EACH=1,MULTIPASTE_ONCE=0,MULTISTEPUNDOREDO=0x80,ORDER_CUSTOM=2,ORDER_PERFORMSORT=1,ORDER_PRESORTED=0,PERFORMED_REDO=0x40,PERFORMED_UNDO=0x20,PERFORMED_USER=0x10,SEL_LINES=2,SEL_RECTANGLE=1,SEL_STREAM=0,SEL_THIN=3,STARTACTION=0x2000,STYLE_BRACEBAD=36,STYLE_BRACELIGHT=35,STYLE_CALLTIP=39,STYLE_CONTROLCHAR=37,STYLE_DEFAULT=33,STYLE_FOLDDISPLAYTEXT=40,STYLE_INDENTGUIDE=38,STYLE_LASTPREDEFINED=40,STYLE_LINENUMBER=34,STYLE_MAX=256,TD_LONGARROW=0,TD_STRIKEOUT=1,TIME_FOREVER=10000000,UNDO_NONE=0,UPDATE_CONTENT=0x1,UPDATE_H_SCROLL=0x8,UPDATE_SELECTION=0x2,UPDATE_V_SCROLL=0x4,VISIBLE_SLOP=0x01,VISIBLE_STRICT=0x04,VS_NONE=0,VS_NOWRAPLINESTART=4,VS_RECTANGULARSELECTION=1,VS_USERACCESSIBLE=2,WRAPINDENT_DEEPINDENT=3,WRAPINDENT_FIXED=0,WRAPINDENT_INDENT=2,WRAPINDENT_SAME=1,WRAPVISUALFLAGLOC_DEFAULT=0x0000,WRAPVISUALFLAGLOC_END_BY_TEXT=0x0001,WRAPVISUALFLAGLOC_START_BY_TEXT=0x0002,WRAPVISUALFLAG_END=0x0001,WRAPVISUALFLAG_MARGIN=0x0004,WRAPVISUALFLAG_NONE=0x0000,WRAPVISUALFLAG_START=0x0002,WRAP_CHAR=2,WRAP_NONE=0,WRAP_WHITESPACE=3,WRAP_WORD=1,WS_INVISIBLE=0,WS_VISIBLEAFTERINDENT=2,WS_VISIBLEALWAYS=1,WS_VISIBLEONLYININDENT=3}$/;" t class:_SCINTILLA context_menu _HOME/core/ui.lua /^module('ui')]]$/;" F class:ui context_menu _HOME/modules/textadept/menu.lua /^local default_context_menu = {$/;" t class:textadept.menu -continue _HOME/modules/debugger/init.lua /^function M.continue(lexer, ...)$/;" f class:debugger +continue _HOME/modules/debugger/init.lua /^function M.continue(lang, ...)$/;" f class:debugger contracted_fold_next _HOME/core/.view.luadoc /^function contracted_fold_next(view, line) end$/;" f class:view control_structure_patterns _HOME/modules/ruby/init.lua /^local control_structure_patterns = {$/;" t class:_M.ruby convert_eols _HOME/core/.buffer.luadoc /^function convert_eols(buffer, mode) end$/;" f class:buffer @@ -811,7 +811,7 @@ multiple_selection _HOME/core/.buffer.luadoc /^module('buffer')$/;" F class:buff name_of_style _HOME/core/.buffer.luadoc /^function name_of_style(buffer, style) end$/;" f class:buffer new _HOME/core/.buffer.luadoc /^function new() end$/;" f class:buffer new _HOME/lexers/lexer.lua /^function M.new(name, opts)$/;" f class:lexer -new _HOME/modules/lsp/init.lua /^function Server.new(lexer, cmd, init_options)$/;" f class:Server +new _HOME/modules/lsp/init.lua /^function Server.new(lang, cmd, init_options)$/;" f class:Server new_line _HOME/core/.buffer.luadoc /^function new_line(buffer) end$/;" f class:buffer newline _HOME/lexers/lexer.lua /^module('lexer')]=]$/;" F class:lexer next_image_type _HOME/core/iface.lua /^function M.next_image_type()$/;" f class:_SCINTILLA @@ -916,7 +916,7 @@ rotate_selection _HOME/core/.buffer.luadoc /^function rotate_selection(buffer) e ruby _HOME/modules/ruby/init.lua /^keys.ruby = {$/;" t class:keys ruby _HOME/modules/ruby/init.lua /^module('_M.ruby')]]$/;" m class:_M ruby _HOME/modules/ruby/init.lua /^snippets.ruby = {$/;" t class:snippets -run _HOME/modules/textadept/command_entry.lua /^function M.run(f, keys, lexer, height)$/;" f class:ui.command_entry +run _HOME/modules/textadept/command_entry.lua /^function M.run(f, keys, lang, height)$/;" f class:ui.command_entry run _HOME/modules/textadept/run.lua /^function M.run(filename)$/;" f class:textadept.run run _HOME/modules/textadept/run.lua /^module('textadept.run')]]$/;" m class:textadept run_commands _HOME/modules/textadept/run.lua /^M.run_commands = {actionscript=WIN32 and 'start "" "%e.swf"' or OSX and 'open "file://%e.swf"' or 'xdg-open "%e.swf"',ada=WIN32 and '"%e"' or './"%e"',ansi_c=WIN32 and '"%e"' or './"%e"',applescript='osascript "%f"',asm='./"%e"',awk='awk -f "%f"',batch='"%f"',boo='booi "%f"',caml='ocamlrun "%e"',csharp=WIN32 and '"%e"' or 'mono "%e.exe"',chuck='chuck "%f"',cmake='cmake -P "%f"',coffeescript='coffee "%f"',context=WIN32 and 'start "" "%e.pdf"' or OSX and 'open "%e.pdf"' or 'xdg-open "%e.pdf"',cpp=WIN32 and '"%e"' or './"%e"',crystal='crystal "%f"',cuda=WIN32 and '"%e"' or './"%e"',dart='dart "%f"',dmd=WIN32 and '"%e"' or './"%e"',eiffel="./a.out",elixir='elixir "%f"',fsharp=WIN32 and '"%e"' or 'mono "%e.exe"',fennel='fennel "%f"',forth='gforth "%f" -e bye',fortran=WIN32 and '"%e"' or './"%e"',gnuplot='gnuplot "%f"',go='go run "%f"',groovy='groovy "%f"',haskell=WIN32 and '"%e"' or './"%e"',html=WIN32 and 'start "" "%f"' or OSX and 'open "file://%f"' or 'xdg-open "%f"',icon='icont "%e" -x',idl='idl -batch "%f"',Io='io "%f"',java='java "%e"',javascript='node "%f"',ltx=WIN32 and 'start "" "%e.pdf"' or OSX and 'open "%e.pdf"' or 'xdg-open "%e.pdf"',less='lessc --no-color "%f"',lilypond=WIN32 and 'start "" "%e.pdf"' or OSX and 'open "%e.pdf"' or 'xdg-open "%e.pdf"',lisp='clisp "%f"',litcoffee='coffee "%f"',lua='lua -e "io.stdout:setvbuf(\'no\')" "%f"',makefile=WIN32 and 'nmake -f "%f"' or 'make -f "%f"',markdown='markdown "%f"',moon='moon "%f"',myr=WIN32 and '"%e"' or './"%e"',nemerle=WIN32 and '"%e"' or 'mono "%e.exe"',nim='nim c -r "%f"',objective_c=WIN32 and '"%e"' or './"%e"',pascal=WIN32 and '"%e"' or './"%e"',perl='perl "%f"',php='php "%f"',pike='pike "%f"',pkgbuild='makepkg -p "%f"',prolog=WIN32 and '"%e"' or './"%e"',pure='pure "%f"',python=function() return buffer:get_line(0):find('^#!.-python3') and 'python3 -u "%f"' or 'python -u "%f"' end,rstats=WIN32 and 'Rterm -f "%f"' or 'R -f "%f"',rebol='REBOL "%f"',rexx=WIN32 and 'rexx "%f"' or 'regina "%f"',ruby='ruby "%f"',rust=WIN32 and '"%e"' or './"%e"',sass='sass "%f"',scala='scala "%e"',bash='bash "%f"',csh='tcsh "%f"',ksh='ksh "%f"',mksh='mksh "%f"',sh='sh "%f"',zsh='zsh "%f"',rc='rc "%f"',smalltalk='gst "%f"',sml=WIN32 and '"%e"' or './"%e"',snobol4='snobol4 -b "%f"',tcl='tclsh "%f"',tex=WIN32 and 'start "" "%e.pdf"' or OSX and 'open "%e.pdf"' or 'xdg-open "%e.pdf"',vala=WIN32 and '"%e"' or './"%e"',vb=WIN32 and '"%e"' or 'mono "%e.exe"',}$/;" t class:textadept.run @@ -974,7 +974,7 @@ set_encoding _HOME/core/.buffer.luadoc /^function set_encoding(buffer, encoding) set_fold_margin_color _HOME/core/.view.luadoc /^function set_fold_margin_color(view, use_setting, color) end$/;" f class:view set_fold_margin_hi_color _HOME/core/.view.luadoc /^function set_fold_margin_hi_color(view, use_setting, color) end$/;" f class:view set_frame _HOME/modules/debugger/init.lua /^function M.set_frame()$/;" f class:debugger -set_lexer _HOME/core/.buffer.luadoc /^function set_lexer(buffer, lexer) end$/;" f class:buffer +set_lexer _HOME/core/.buffer.luadoc /^function set_lexer(buffer, name) end$/;" f class:buffer set_save_point _HOME/core/.buffer.luadoc /^function set_save_point(buffer) end$/;" f class:buffer set_sel _HOME/core/.buffer.luadoc /^function set_sel(buffer, start_pos, end_pos) end$/;" f class:buffer set_sel_back _HOME/core/.view.luadoc /^function set_sel_back(view, use_setting, color) end$/;" f class:view @@ -1010,7 +1010,7 @@ spellchecker _HOME/modules/spellcheck/init.lua /^module('spellcheck')]]$/;" F cl split _HOME/core/.view.luadoc /^function split(view, vertical) end$/;" f class:view standard_dropdown _HOME/core/.ui.dialogs.luadoc /^function standard_dropdown(options) end$/;" f class:ui.dialogs standard_inputbox _HOME/core/.ui.dialogs.luadoc /^function standard_inputbox(options) end$/;" f class:ui.dialogs -start _HOME/modules/debugger/init.lua /^function M.start(lexer, ...)$/;" f class:debugger +start _HOME/modules/debugger/init.lua /^function M.start(lang, ...)$/;" f class:debugger start _HOME/modules/file_diff/init.lua /^function M.start(file1, file2, horizontal)$/;" f class:file_diff start _HOME/modules/lsp/init.lua /^function M.start()$/;" f class:lsp start_styling _HOME/core/.buffer.luadoc /^function start_styling(buffer, position, unused) end$/;" f class:buffer @@ -1020,7 +1020,7 @@ statusbar_text _HOME/core/ui.lua /^module('ui')]]$/;" F class:ui step_into _HOME/modules/debugger/init.lua /^function M.step_into(...)$/;" f class:debugger step_out _HOME/modules/debugger/init.lua /^function M.step_out(...)$/;" f class:debugger step_over _HOME/modules/debugger/init.lua /^function M.step_over(...)$/;" f class:debugger -stop _HOME/modules/debugger/init.lua /^function M.stop(lexer, ...)$/;" f class:debugger +stop _HOME/modules/debugger/init.lua /^function M.stop(lang, ...)$/;" f class:debugger stop _HOME/modules/lsp/init.lua /^function M.stop()$/;" f class:lsp stop _HOME/modules/textadept/run.lua /^function M.stop() if proc then proc:kill() end end$/;" f class:textadept.run string _HOME/core/.iconv.luadoc /^module('string')$/;" m |