Module modules.scite.functions

Source language functions functions for the scite module. There are a couple options variables used: USER_LIST_NUM: The integer to use for SciTE's UserListShow function. KEYWORD_STYLE: The integer style for keywords.

Functions

_G.OnUserListSelection (list, text) SciTE Lua OnUserListSelection extension function.
get_line (name) If the function declaration specified exists, return its line number.
show (func_def) Displays all identified functions in the current source file as a user list the user can select from to 'jump' to a specific function.
show_args (func_def) If possible, display the arguments of the function to the left of the caret.
update_function_table (func_def) [Local function] Searches through the current buffer to identify functions to 'jump' to.


Functions

_G.OnUserListSelection (list, text)
SciTE Lua OnUserListSelection extension function. Jumps to the function the user has chosen from a list of functions.

Parameters

  • list:
  • text:
get_line (name)
If the function declaration specified exists, return its line number.

Parameters

  • name: The function declaration. This function is generally called by OnUserListSelection to 'jump' to a function.
show (func_def)
Displays all identified functions in the current source file as a user list the user can select from to 'jump' to a specific function.

Parameters

  • func_def: The language-specific keyword used to define a function. ('def' for Ruby, 'function' for Lua, etc.)
show_args (func_def)
If possible, display the arguments of the function to the left of the caret. (FIXME: this is not very reliable.)

Parameters

  • func_def: The language-specific keyword used to define a function. ('def' for Ruby, 'function' for Lua, etc.)
update_function_table (func_def)
[Local function] Searches through the current buffer to identify functions to 'jump' to.

Parameters

  • func_def: The language-specific keyword used to define a function. ('def' for Ruby, 'function' for Lua, etc.)

Valid XHTML 1.0!