diff options
-rw-r--r-- | modules/lua/api | 27 | ||||
-rw-r--r-- | modules/lua/tags | 11 |
2 files changed, 10 insertions, 28 deletions
diff --git a/modules/lua/api b/modules/lua/api index 796b61fb..a8672b9a 100644 --- a/modules/lua/api +++ b/modules/lua/api @@ -747,13 +747,13 @@ WIN32 _G.WIN32 (bool)\nIf Textadept is running on Windows, this flag is `true`. _BUFFERS _G._BUFFERS (table)\nTable of all open buffers in Textadept.\nNumeric keys have buffer values and buffer keys have their associated numeric\nkeys. _CHARSET _G._CHARSET (string)\nThe character set encoding of the filesystem.\nThis is used in File I/O. _EMBEDDEDRULES lexer._EMBEDDEDRULES (table)\nSet of rules for an embedded lexer.\nFor a parent lexer name, contains child's `start_rule`, `token_rule`, and\n`end_rule` patterns. +_EXISTS M._EXISTS(message)\nReturns whether or not a localized message exists for the given message.\n@param message The message to localize.\n@return `true` if a localization exists, `false` otherwise. _G _G._G (module)\nLua _G module. _G _G._G (table)\nA global variable (not a function) that holds the global environment\n(see §2.2). Lua itself does not use this variable; changing its value does\nnot affect any environment, nor vice-versa. _HOME _G._HOME (string)\nPath to the directory containing Textadept. _L _G._L (module)\nTable of all messages used by Textadept for localization. _LEXERPATH _G._LEXERPATH (string)\nPaths to lexers, formatted like\n`package.path`. _M _G._M (module)\nA table of loaded modules. -_NIL _L._NIL (string)\nString returned when no localization for a given message exists. _RELEASE _G._RELEASE (string)\nThe Textadept release version. _RULES lexer._RULES (table)\nList of rule names with associated LPeg patterns for a specific lexer.\nIt is accessible to other lexers for embedded lexer applications. _SCINTILLA _G._SCINTILLA (module)\nScintilla constants, functions, and properties.\nDo not modify anything in this module. Doing so will result in instability. @@ -908,8 +908,7 @@ command_entry gui.command_entry (module)\nTextadept's Command entry. comment_string _M.textadept.editing.comment_string (table)\nComment strings for various lexer languages.\nUsed by the `block_comment()` function. Keys are lexer language names and\nvalues are the line comment delimiters for the language. This table is\ntypically populated by language-specific modules.\n@see block_comment compile _M.textadept.run.compile()\nCompiles the file as specified by its extension in the `compile_command`\ntable.\n@see compile_command compile_command _M.textadept.run.compile_command (table)\nFile extensions and their associated 'compile' actions.\nEach key is a file extension whose value is a either a command line string to\nexecute or a function returning one.\nThis table is typically populated by language-specific modules. -complete _M.textadept.adeptsense.complete(sense, only_fields, only_functions)\nShows an autocompletion list for the symbol behind the caret.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param only_fields If `true`, returns list of only fields. The default value\n is `false`.\n@param only_functions If `true`, returns list of only functions. The default\n value is `false`.\n@return `true` on success or `false`.\n@see get_symbol\n@see get_completions -complete_symbol _M.textadept.adeptsense.complete_symbol()\nCompletes the symbol at the current position based on the current lexer's\nAdeptsense.\nThis should be called by key commands and menus instead of `complete()`. +complete _M.textadept.adeptsense.complete(sense, only_fields, only_functions)\nShows an autocompletion list for the symbol behind the caret.\n@param sense The Adeptsense returned by `adeptsense.new()`. If `nil`, uses\n the current language's Adeptsense (if it exists).\n@param only_fields If `true`, returns list of only fields. The default value\n is `false`.\n@param only_functions If `true`, returns list of only functions. The default\n value is `false`.\n@return `true` on success or `false`.\n@see get_symbol\n@see get_completions completions _M.textadept.adeptsense.completions (table)\nContains lists of possible completions for known symbols.\nEach symbol key has a table value that contains a list of field completions\nwith a `fields` key and a list of functions completions with a `functions`\nkey. This table is normally populated by `load_ctags()`, but can also be set\nby the user. concat table.concat(list [, sep [, i [, j]]])\nGiven a list where all elements are strings or numbers, returns\n`list[i]..sep..list[i+1] ··· sep..list[j]`. The default value for `sep` is\nthe empty string, the default for `i` is 1, and the default for `j` is\n`#list`. If `i` is greater than `j`, returns the empty string. config package.config (string)\nA string describing some compile-time configurations for packages. This\nstring is a sequence of lines:\n The first line is the directory separator string. Default is '`\`' for\n Windows and '`/`' for all other systems.\n The second line is the character that separates templates in a path.\n Default is '`;`'.\n The third line is the string that marks the substitution points in a\n template. Default is '`?`'.\n The fourth line is a string that, in a path in Windows, is replaced by\n the executable's directory. Default is '`!`'.\n The fifth line is a mark to ignore all text before it when building the\n `luaopen_` function name. Default is '`-`'. @@ -959,7 +958,7 @@ delete_back buffer.delete_back(buffer)\nDelete the selection or if no selection, delete_back_not_line buffer.delete_back_not_line(buffer)\nDelete the selection or if no selection, the character before the caret.\nWill not delete the character before at the start of a line. delete_range buffer.delete_range(buffer, pos, length)\nDelete a range of text in the document.\n@param pos The start position of the range to delete.\n@param length The length of the range to delete. delimited_range lexer.delimited_range(chars, escape, end_optional, balanced, forbidden)\nCreates an LPeg pattern that matches a range of characters delimitted by a\nspecific character(s).\nThis can be used to match a string, parenthesis, etc.\n@param chars The character(s) that bound the matched range.\n@param escape Optional escape character. This parameter may be omitted, nil,\n or the empty string.\n@param end_optional Optional flag indicating whether or not an ending\n delimiter is optional or not. If true, the range begun by the start\n delimiter matches until an end delimiter or the end of the input is\n reached.\n@param balanced Optional flag indicating whether or not a balanced range is\n matched, like `%b` in Lua's `string.find`. This flag only applies if\n `chars` consists of two different characters (e.g. '()').\n@param forbidden Optional string of characters forbidden in a delimited\n range. Each character is part of the set.\n@usage local sq_str_noescapes = delimited_range("'")\n@usage local sq_str_escapes = delimited_range("'", '\\', true)\n@usage local unbalanced_parens = delimited_range('()', '\\', true)\n@usage local balanced_parens = delimited_range('()', '\\', true, true) -dialog gui.dialog(kind, ...)\nDisplays a gtdialog of a specified type with the given string arguments.\nEach argument is like a string in Lua's `arg` table. Tables of strings are\nallowed as arguments and are expanded in place. This is useful for\nfilteredlist dialogs with many items.\n@param kind The kind of gtdialog.\n@param ... Parameters to the gtdialog.\n@return string gtdialog result. +dialog gui.dialog(kind, ...)\nDisplays a gtdialog of a specified type with the given string arguments.\nEach argument is like a string in Lua's `arg` table. Tables of strings are\nallowed as arguments and are expanded in place. This is useful for\nfilteredlist dialogs with many items.\nFor more information on gtdialog, see http://foicica.com/gtdialog.\n@param kind The kind of gtdialog.\n@param ... Parameters to the gtdialog.\n@return string gtdialog result. difftime os.difftime(t2, t1)\nReturns the number of seconds from time `t1` to time `t2`. In POSIX,\nWindows, and some other systems, this value is exactly `t2`*-*`t1`. digit lexer.digit\nMatches any digit (`0-9`). dir lfs.dir(path)\nLua iterator over the entries of a given directory. Each time the iterator is\ncalled with dir_obj it returns a directory entry's name as a string, or nil\nif there are no more entries. You can also iterate by calling dir_obj:next(),\nand explicitly close the directory before the iteration finished with\ndir_obj:close(). Raises an error if path is not a directory. @@ -1076,7 +1075,7 @@ gmatch string.gmatch(s, pattern)\nReturns an iterator function that, each time i goto_bookmark _M.textadept.bookmarks.goto_bookmark()\nGoes to selected bookmark from a filtered list. goto_buffer view:goto_buffer(n, relative)\nGoes to the specified buffer in the indexed view.\nGenerates `BUFFER_BEFORE_SWITCH` and `BUFFER_AFTER_SWITCH` events.\n@param n A relative or absolute buffer index. An absolute index of `-1` goes\n to the last buffer.\n@param relative Flag indicating if `n` is a relative index or not. The\n default value is `false`. goto_ctag _M.textadept.adeptsense.goto_ctag(sense, k, title)\nDisplays a filteredlist of all known symbols of the given kind (classes,\nfunctions, fields, etc.) and jumps to the source of the selected one.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param k The ctag character kind (e.g. `'f'` for a Lua function).\n@param title The title for the filteredlist dialog. -goto_error _M.textadept.run.goto_error(pos, line_num)\nWhen the user double-clicks an error message, go to the line in the file\nthe error occured at and display a calltip with the error message.\n@param pos The position of the caret.\n@param line_num The line double-clicked.\n@see error_detail +goto_error _M.textadept.run.goto_error(pos, line_num)\nGoes to the line in the file an error occured at and displays a calltip with\nthe error message.\nThis is typically called when the user double-clicks an error message,\n@param pos The position of the caret.\n@param line_num The line the error occurs on.\n@see error_detail goto_file gui.goto_file(filename, split, preferred_view, sloppy)\nGoes to the buffer with the given filename.\nIf the desired buffer is open in a view, goes to that view. Otherwise, opens\nthe buffer in either the `preferred_view` if given, the first view that is\nnot the current one, a split view if `split` is `true`, or the current view.\n@param filename The filename of the buffer to go to.\n@param split If there is only one view, split it and open the buffer in the\n other view.\n@param preferred_view When multiple views exist and the desired buffer is not\n open in any of them, open it in this one.\n@param sloppy Flag indicating whether or not to not match `filename` to\n `buffer.filename` exactly. When `true`, matches `filename` to only the last\n part of `buffer.filename` This is useful for run and compile commands which\n output relative filenames and paths instead of full ones and it is likely\n that the file in question is already open. The default value is `false`. goto_file_in_list gui.find.goto_file_in_list(next)\nGoes to the next or previous file found relative to the file\non the current line.\n@param next Flag indicating whether or not to go to the next file. goto_line _M.textadept.editing.goto_line(line)\nGoes to the requested line.\n@param line Optional line number to go to. If `nil`, the user is prompted for\n one. @@ -1084,9 +1083,6 @@ goto_line buffer.goto_line(buffer, line)\nSet caret to start of a line and ensur goto_next _M.textadept.bookmarks.goto_next()\nGoes to the next bookmark in the current buffer. goto_pos buffer.goto_pos(buffer, pos)\nSet caret to a position and ensure it is visible.\nThe anchor position is set the same as the current position.\n@param buffer The global buffer.\n@param pos The position. goto_prev _M.textadept.bookmarks.goto_prev()\nGoes to the previous bookmark in the current buffer. -goto_required _M.lua.goto_required()\nDetermines the Lua file being 'require'd, searches through package.path for\nthat file, and opens it in Textadept. -goto_required _M.php.goto_required()\nDetermines the PHP file being 'require'd or 'include'd, and opens it in\nTextadept. -goto_required _M.ruby.goto_required()\nDetermine the Ruby file being 'require'd, and search through the RUBYPATH\nfor that file and open it in Textadept. goto_view gui.goto_view(n, relative)\nGoes to the specified view.\nGenerates `VIEW_BEFORE_SWITCH` and `VIEW_AFTER_SWITCH` events.\n@param n A relative or absolute view index.\n@param relative Flag indicating if n is a relative index or not. The default\n value is `false`. grab_focus buffer.grab_focus(buffer)\nSet the focus to this view.\n@param buffer The global buffer. graph lexer.graph\nMatches any graphical character (`!` to `~`). @@ -1115,7 +1111,7 @@ huge math.huge (number)\nThe value `HUGE_VAL`, a value larger than or equal to a hypertext _G.keys.hypertext (table)\nContainer for HTML-specific key commands. hypertext _G.snippets.hypertext (table)\nContainer for HTML-specific snippets. hypertext _M.hypertext (module)\nThe hypertext module.\nIt provides utilities for editing HTML code.\nUser tags are loaded from `_USERHOME/modules/hypertext/tags` and user apis\nare loaded from `_USERHOME/modules/hypertext/api`. -iconv string.iconv(text, to, from)\nConverts a string from one character set to another using iconv.\nValid character sets are ones GLib's `g_convert()` accepts, typically GNU\niconv's character sets.\n@param text The text to convert.\n@param to The character set to convert to.\n@param from The character set to convert from. +iconv string.iconv(text, to, from)\nConverts a string from one character set to another using iconv.\nValid character sets are GNU iconv's character sets.\n@param text The text to convert.\n@param to The character set to convert to.\n@param from The character set to convert from. in_files gui.find.in_files (bool)\nSearch for the text in a list of files. in_files_label_text gui.find.in_files_label_text (string, Write-only)\nThe text of the 'In files' label.\nThis is primarily used for localization. indent buffer.indent (number)\nIhe number of spaces used for one level of indentation.\nFor a width of `0`, the indent size is the same as the tab size. @@ -1193,7 +1189,7 @@ lines_on_screen buffer.lines_on_screen (number, Read-only)\nThe number of lines lines_split buffer.lines_split(buffer, pixel_width)\nSplit the lines in the target into lines that are less wide than\n`pixel_width` where possible.\n@param buffer The global buffer.\n@param pixel_width The pixel width. When `0`, the width of the view is used. lines_visible buffer.lines_visible (bool, Read-only)\nAre all lines visible? load _G.load(ld [, source [, mode [, env]]])\nLoads a chunk.\n\nIf `ld` is a string, the chunk is this string. If `ld` is a function, `load`\ncalls it repeatedly to get the chunk pieces. Each call to `ld` must return a\nstring that concatenates with previous results. A return of an empty string,\nnil, or no value signals the end of the chunk.\n\nIf there are no syntactic errors, returns the compiled chunk as a function;\notherwise, returns <b>nil</b> plus the error message.\n\nIf the resulting function has upvalues, the first upvalue is set to the value\nof the global environment or to `env`, if that parameter is given. When\nloading main chunks, the first upvalue will be the `_ENV` variable\n(see §2.2).\n\n`source` is used as the source of the chunk for error messages and debug\ninformation (see §4.9). When absent, it defaults to `ld`, if `ld` is a\nstring, or to "`=(load)`" otherwise.\n\nThe string `mode` controls whether the chunk can be text or binary (that is,\na precompiled chunk). It may be the string "`b`" (only binary chunks), "`t`"\n(only text chunks), or "`bt`" (both binary and text). The default is "`bt`". -load _M.textadept.session.load(filename)\nLoads a Textadept session file.\nTextadept restores split views, opened buffers, cursor information, and\nproject manager details.\n@param filename The absolute path to the session file to load. The default\n value is `DEFAULT_SESSION`.\n@usage _M.textadept.session.load(filename)\n@return `true` if the session file was opened and read; `false` otherwise.\n@see DEFAULT_SESSION +load _M.textadept.session.load(filename)\nLoads a Textadept session file.\nTextadept restores split views, opened buffers, cursor information, and\nrecent files.\n@param filename The absolute path to the session file to load. If `nil`, the\n user is prompted for one.\n@usage _M.textadept.session.load(filename)\n@return `true` if the session file was opened and read; `false` otherwise.\n@see DEFAULT_SESSION load lexer.load(lexer_name)\nInitializes the specified lexer.\n@param lexer_name The name of the lexing language. load_ctags _M.textadept.adeptsense.load_ctags(sense, tag_file, nolocations)\nLoads the given ctags file for autocompletion.\nIt is recommended to pass `-n` to ctags in order to use line numbers instead\nof text patterns to locate tags. This will greatly reduce memory usage for a\nlarge number of symbols if `nolocations` is not `true`.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@param tag_file The path of the ctags file to load.\n@param nolocations If `true`, does not store the locations of the tags for\n use by `goto_ctag()`. The default value is `false`. load_project _M.rails.load_project(utf8_dir)\nSets keys.al.o to snapopen a Rails project.\nIf not directory is provided, the user is prompted for one.\n@param utf8_dir The UTF-8 Rails project directory. @@ -1258,7 +1254,7 @@ max_line_state buffer.max_line_state (number, Read-only)\nThe last line number t menu _M.textadept.menu (module)\nProvides dynamic menus for Textadept.\nThis module should be `require`d last, after `_M.textadept.keys` since it\nlooks up defined key commands to show them in menus. menu gui.menu(menu_table)\nCreates a menu, returning the userdata.\n@param menu_table A table defining the menu. It is an ordered list of tables\n with a string menu item, integer menu ID, and optional GDK keycode and\n modifier mask. The latter two are used to display key shortcuts in the\n menu. `_` characters are treated as a menu mnemonics. If the menu item is\n empty, a menu separator item is created. Submenus are just nested\n menu-structure tables. Their title text is defined with a `title` key.\n@usage gui.menu{ { '_New', 1 }, { '_Open', 2 }, { '' }, { '_Quit', 4 } }\n@usage gui.menu{ { '_New', 1, keys.get_gdk_key('cn') } }\n@see keys.get_gdk_key menubar _M.textadept.menu.menubar (table)\nContains the main menubar. -menubar gui.menubar (table)\nA table of GTK menus defining a menubar. (Write-only) +menubar gui.menubar (table)\nA table of menus defining a menubar. (Write-only) mime_types _M.textadept.mime_types (module)\nHandles file-specific settings. min math.min(x, ···)\nReturns the minimum value among its arguments. mkdir lfs.mkdir(dirname)\nCreates a new directory. The argument is the name of the new directory.\n\nReturns true if the operation was successful; in case of error, it returns\nnil plus an error string. @@ -1322,7 +1318,6 @@ position_from_point buffer.position_from_point(buffer, x, y)\nFind the position position_from_point_close buffer.position_from_point_close(buffer, x, y)\nReturns the position from a point within the window, but return `-1` if not\nclose to text.\n@param buffer The global buffer.\n@return number pow math.pow(x, y)\nReturns *x^y*. (You can also use the expression `x^y` to compute this\nvalue.) preload package.preload (table)\nA table to store loaders for specific modules (see `require`).\nThis variable is only a reference to the real table; assignments to this\nvariable do not change the table used by `require`. -prepare_for_save _M.textadept.editing.prepare_for_save()\nPrepares the buffer for saving to a file.\nStrips trailing whitespace off of every line if `STRIP_WHITESPACE_ON_SAVE` is\n`true`, ensures an ending newline, and converts non-consistent EOLs.\n@see STRIP_WHITESPACE_ON_SAVE print _G.print(···)\nReceives any number of arguments and prints their values to `stdout`, using\nthe `tostring` function to convert each argument to a string. `print` is not\nintended for formatted output, but only as a quick way to show a value,\nfor instance for debugging. For complete control over the output, use\n`string.format` and `io.write`. print gui.print(...)\nPrints messages to the Textadept message buffer.\nOpens a new buffer (if one has not already been opened) for printing\nmessages.\n@param ... Message strings. print lexer.print\nMatches any printable character (space to `~`). @@ -1331,8 +1326,6 @@ print_magnification buffer.print_magnification (number)\nThe print magnification print_wrap_mode buffer.print_wrap_mode (number)\nPrinting line wrap mode.\n\n* `_SCINTILLA.constants.SC_WRAP_NONE` (0)\n Each line of text generates one line of output and the line is truncated\n if it is too long to fit into the print area.\n* `_SCINTILLA.constants.SC_WRAP_WORD` (1)\n Wraps printed output so that all characters fit into the print rectangle.\n Tries to wrap only between words as indicated by white space or style\n changes although if a word is longer than a line, it will be wrapped\n before the line end. This is the default.\n* `_SCINTILLA.constants.SC_WRAP_CHAR` (2). private_lexer_call buffer.private_lexer_call(buffer, operation, data)\nFor private communication between an application and a known lexer.\n@param buffer The global buffer.\n@param operation An operation number.\n@param data Number data. process args.process(arg)\nProcesses command line arguments.\nAdd command line switches with `args.register()`. Any unrecognized arguments\nare treated as filepaths and opened.\nGenerates an `'arg_none'` event when no args are present.\n@param arg Argument table.\n@see register -prompt_load _M.textadept.session.prompt_load()\nPrompts the user for a Textadept session to load. -prompt_save _M.textadept.session.prompt_save()\nPrompts the user to save the current Textadept session to a file. properties _SCINTILLA.properties (table)\nScintilla properties. property buffer.property (table)\nTable of keyword:value string pairs used by a lexer for some optional\nfeatures. property_expanded buffer.property_expanded (table)\nTable of keyword:value string pairs used by a lexer for some optional\nfeatures with `$()` variable replacement on returned string. @@ -1400,7 +1393,7 @@ run _M.textadept.run (module)\nModule for running/executing source files.\nTypic run _M.textadept.run.run()\nRuns/executes the file as specified by its extension in the `run_command`\ntable.\n@see run_command run_command _M.textadept.run.run_command (table)\nFile extensions and their associated 'go' actions.\nEach key is a file extension whose value is either a command line string to\nexecute or a function returning one.\nThis table is typically populated by language-specific modules. running coroutine.running()\nReturns the running coroutine plus a boolean, true when the running coroutine\nis the main one. -save _M.textadept.session.save(filename)\nSaves a Textadept session to a file.\nSaves split views, opened buffers, cursor information, and project manager\ndetails.\n@param filename The absolute path to the session file to save. The default\n value is either the current session file or `DEFAULT_SESSION`.\n@usage _M.textadept.session.save(filename)\n@see DEFAULT_SESSION +save _M.textadept.session.save(filename)\nSaves a Textadept session to a file.\nSaves split views, opened buffers, cursor information, and recent files.\n@param filename The absolute path to the session file to save. If `nil`, the\n user is prompted for one.\n@usage _M.textadept.session.save(filename)\n@see DEFAULT_SESSION save buffer.save(buffer)\nSaves the current buffer to a file.\n@param buffer The global buffer. save_all io.save_all()\nSaves all dirty buffers to their respective files.\n@usage io.save_all() save_as buffer.save_as(buffer, utf8_filename)\nSaves the current buffer to a file different than its filename property.\n@param buffer The global buffer.\n@param utf8_filename The new filepath to save the buffer to. Must be UTF-8\n encoded. @@ -1494,9 +1487,8 @@ setupvalue debug.setupvalue(f, up, value)\nThis function assigns the value `valu setuservalue debug.setuservalue(udata, value)\nSets the given `value` as the Lua value associated to the given `udata`.\n`value` must be a table or nil; `udata` must be a full userdata.\n\nReturns `udata`. setvbuf file:setvbuf(mode [, size])\nSets the buffering mode for an output file. There are three available\nmodes:\n "no": no buffering; the result of any output operation appears immediately.\n "full": full buffering; output operation is performed only when the\n buffer is full or when you explicitly `flush` the file (see\n `io.flush`).\n "line": line buffering; output is buffered until a newline is output or\n there is any input from some special files (such as a terminal\n device).\n\nFor the last two cases, `size` specifies the size of the buffer, in\nbytes. The default is an appropriate size. shebangs _M.textadept.mime_types.shebangs (table)\nShebang words and their associated lexers. -show_apidoc _M.textadept.adeptsense.show_apidoc(sense)\nShows a calltip with API documentation for the symbol behind the caret.\n@param sense The Adeptsense returned by `adeptsense.new()`.\n@return `true` on success or `false`.\n@see get_symbol\n@see get_apidoc +show_apidoc _M.textadept.adeptsense.show_apidoc(sense)\nShows a calltip with API documentation for the symbol behind the caret.\nIf documentation is already being shown, cycles through multiple definitions.\n@param sense The Adeptsense returned by `adeptsense.new()`. If `nil`, uses\n the current language's Adeptsense (if it exists).\n@return list of api docs on success or `nil`.\n@see get_symbol\n@see get_apidoc show_completions gui.command_entry.show_completions(completions)\nShows the given list of completions for the current word prefix.\nOn selection, the current word prefix is replaced with the completion.\n@param completions The table of completions to show. Non-string values are\n ignored. -show_documentation _M.textadept.adeptsense.show_documentation()\nShows API documentation for the symbol at the current position based on the\ncurrent lexer's Adeptsense.\nThis should be called by key commands and menus instead of `show_apidoc()`. show_lines buffer.show_lines(buffer, start_line, end_line)\nMake a range of lines visible.\nThis has no effect on fold levels or fold flags. `start_line` can not be\nhidden.\n@param buffer The global buffer.\n@param start_line The start line.\n@param end_line The end line. sin math.sin(x)\nReturns the sine of `x` (assumed to be in radians). singular _M.rails.singular\nA map of plural controller names to their singulars. Add key-value pairs to\nthis if singularize() is incorrectly converting your plural\ncontroller name to its singular model name. @@ -1625,7 +1617,6 @@ upvalueid debug.upvalueid(f, n)\nReturns an unique identifier (as a light userda upvaluejoin debug.upvaluejoin(f1, n1, f2, n2)\nMake the `n1`-th upvalue of the Lua closure `f1` refer to the `n2`-th upvalue\nof the Lua closure `f2`. use_pop_up buffer.use_pop_up(buffer, allow_popup)\nSets whether a pop up menu is displayed automatically when the user presses\nthe wrong mouse button.\n@param buffer The global buffer.\n@param allow_popup Allow popup menu. use_tabs buffer.use_tabs (bool)\nWhether tabs will be used in indentation.\nThe default is `true`. `false` will only use space characters. -user_dofile _G.user_dofile(filename)\nCalls `dofile()` on the given filename in the user's Textadept directory.\nErrors are printed to the Textadept message buffer.\n@param filename The name of the file (not path).\n@return `true` if successful; `false` otherwise.\n@see dofile user_list_show buffer.user_list_show(buffer, list_type, item_list)\nDisplay a list of strings and send notification when user chooses one.\n@param buffer The global buffer.\n@param list_type A list identifier number greater than zero.\n@param item_list List of words separated by separator characters (initially\n spaces).\n@see _SCINTILLA.next_user_list_type v_scroll_bar buffer.v_scroll_bar (bool)\nWhether the vertical scroll bar is visible.\nSet to `false` to never see it and `true` to enable it again. The default\nstate is to display it when required. vc_home buffer.vc_home(buffer)\nMove caret to before first visible character on line.\nIf already there move to first character on line.\n@param buffer The global buffer. diff --git a/modules/lua/tags b/modules/lua/tags index 954525c4..675cb8a9 100644 --- a/modules/lua/tags +++ b/modules/lua/tags @@ -747,6 +747,7 @@ WIN32 _ 0;" F _BUFFERS _ 0;" t _CHARSET _ 0;" F _EMBEDDEDRULES _ 0;" t class:lexer +_EXISTS _ 0;" f class:_L _G _ 0;" F _G _ 0;" m _HOME _ 0;" F @@ -776,7 +777,6 @@ _M.textadept.run _ 0;" m _M.textadept.session _ 0;" m _M.textadept.snapopen _ 0;" m _M.textadept.snippets _ 0;" m -_NIL _ 0;" F class:_L _RELEASE _ 0;" F _RULES _ 0;" t class:lexer _SCINTILLA _ 0;" m @@ -936,7 +936,6 @@ comment_string _ 0;" t class:_M.textadept.editing compile _ 0;" f class:_M.textadept.run compile_command _ 0;" t class:_M.textadept.run complete _ 0;" f class:_M.textadept.adeptsense -complete_symbol _ 0;" f class:_M.textadept.adeptsense completions _ 0;" t class:_M.textadept.adeptsense concat _ 0;" f class:table config _ 0;" F class:package @@ -1114,9 +1113,6 @@ goto_line _ 0;" f class:buffer goto_next _ 0;" f class:_M.textadept.bookmarks goto_pos _ 0;" f class:buffer goto_prev _ 0;" f class:_M.textadept.bookmarks -goto_required _ 0;" f class:_M.lua -goto_required _ 0;" f class:_M.php -goto_required _ 0;" f class:_M.ruby goto_view _ 0;" f class:gui grab_focus _ 0;" f class:buffer graph _ 0;" F class:lexer @@ -1363,7 +1359,6 @@ position_from_point _ 0;" f class:buffer position_from_point_close _ 0;" f class:buffer pow _ 0;" f class:math preload _ 0;" F class:package -prepare_for_save _ 0;" f class:_M.textadept.editing print _ 0;" F class:lexer print _ 0;" f print _ 0;" f class:gui @@ -1372,8 +1367,6 @@ print_magnification _ 0;" F class:buffer print_wrap_mode _ 0;" F class:buffer private_lexer_call _ 0;" f class:buffer process _ 0;" f class:args -prompt_load _ 0;" f class:_M.textadept.session -prompt_save _ 0;" f class:_M.textadept.session properties _ 0;" t class:_SCINTILLA property _ 0;" F class:buffer property_expanded _ 0;" F class:buffer @@ -1537,7 +1530,6 @@ setvbuf _ 0;" f class:file shebangs _ 0;" t class:_M.textadept.mime_types show_apidoc _ 0;" f class:_M.textadept.adeptsense show_completions _ 0;" f class:gui.command_entry -show_documentation _ 0;" f class:_M.textadept.adeptsense show_lines _ 0;" f class:buffer sin _ 0;" f class:math singular _ 0;" F class:_M.rails @@ -1668,7 +1660,6 @@ upvalueid _ 0;" f class:debug upvaluejoin _ 0;" f class:debug use_pop_up _ 0;" f class:buffer use_tabs _ 0;" F class:buffer -user_dofile _ 0;" f user_list_show _ 0;" f class:buffer v_scroll_bar _ 0;" F class:buffer vc_home _ 0;" f class:buffer |