| S | |
| save_keystroke_macro | |
| save_position | |
| Scope | |
| Scope Rules | |
| Scrap Buffer | |
| Scrap Buffers | |
| Scrap Primitives | |
| Screen Primitives | |
| screen_dump | |
| Search and Replace | |
| Search and Translate Primitives | |
| search_back | |
| search_case | |
| search_fwd | |
| search_list | |
| search_string | |
| searchpath | |
| Selection Statements | |
| self_insert | |
| send_signal | |
| set_attribute | |
| set_backup | |
| set_backup_option | |
| set_binary_size | |
| set_btn2_action | |
| set_buffer | |
| set_buffer_cmap | |
| set_buffer_flags | |
| set_buffer_title | |
| set_buffer_type | |
| set_calling_name | |
| set_char_timeout | |
| set_color | |
| set_color_pair | |
| set_ctrl_state | |
| set_ea | |
| set_echo_format | |
| set_encoding | |
| set_feature | |
| set_file_magic | |
| set_font | |
| set_idle_default | |
| set_indent | |
| set_kbd_name | |
| set_line_flags | |
| set_macro_history | |
| set_margins | |
| set_mouse_action | |
| set_mouse_type | |
| set_msg_level | |
| set_process_position | |
| set_property | |
| set_ruler | |
| set_scrap_info | |
| set_syntax_flags | |
| set_tab | |
| set_term_characters | |
| set_term_feature | |
| set_term_features | |
| set_term_keyboard | |
| set_terminator | |
| set_top_left | |
| set_window | |
| set_window_cmap | |
| set_window_flags | |
| set_window_priority | |
| set_wm_name | |
| Setup | |
| shell | |
| shift | |
| Signals | |
| sin | |
| sinh | |
| sleep | |
| sort_buffer | |
| sort_list | |
| Source Code | |
| Source Information | |
| Special Purpose Macros | |
| Spell Checker Primitives | |
| spell_buffer | |
| spell_control | |
| spell_dictionary | |
| spell_distance | |
| spell_string | |
| spell_suggest | |
| splice | |
| split | |
| split_arguments | |
| splitpath | |
| sprintf | |
| sqrt | |
| srand | |
| sscanf | |
| Startup and main | |
| stat | |
| Statements | |
| static | |
| Storage Class | |
| strcasecmp | |
| strcasestr | |
| strcmp | |
| strerror | |
| strfilecmp | |
| strftime | |
| string | |
| String Literals | |
| String Primitives | |
| String Types | |
| string_count | |
| strlen | |
| strnlen | |
| strpbrk | |
| strpop | |
| strrstr | |
| strsignal | |
| strstr | |
| strtod | |
| strtof | |
| strtol | |
| strverscmp | |
| substr | |
| suspend | |
| swap_anchor | |
| switch | |
| switch statement | |
| symlink | |
| Syntax Highlighting | |
| Syntax Highlighting Primitives | |
| syntax_build | |
| syntax_column_ruler | |
| syntax_rule | |
| syntax_token | |
| System Buffer |
Save the current keystroke macro.
int save_keystroke_macro( string filename )
Saves current cursor/buffer state.
void save_position()
Dump an image of the screen.
int screen_dump( string filename )
Backwards buffer search.
int search_back( string pattern, [int re], [int case], [int block], [int length] )
Set the search pattern case mode.
int search_case( [int case] )
Buffer search.
int search_fwd( string pattern, [int re], [int case], [int block], [int length] )
Search list contents.
int search_list( [int start], string pattern, list expr, [int re], [int case] )
Searches for a pattern in a string.
int search_string( string pattern, string text, [int &length], [int re], [int case] )
Searches for a given file in a specified path.
int searchpath( [string path], string filename, [string extension], string & result, [int mode], [int expand = FALSE] )
Insert a character as if it was typed.
void self_insert( [int character] )
Send signal to a process buffer.
int send_signal( int signal )
Set the color attributes.
int set_attribute( [int|string text], [int|string normal], [int bufnum] )
Set backup creation mode.
int set_backup( int mode, [int bufnum] )
Set backup options.
int set_backup_option( int what, [int bufnum], parameter )
Set binary chunk size.
int set_binary_size( [int size] )
Set the second button action.
int set_btn2_action( [int action] )
Set the current buffer.
int set_buffer( int bufnum )
Set a buffers character-map.
int set_buffer_cmap( [int mapid|string name], [int bufnum] )
Set buffer flags.
void set_buffer_flags( [int bufnum], [string|int or_mask], [string|int and_mask], [int set = 1] )
Set a buffers title.
int set_buffer_title( [int bufnum], [string title] )
Set the buffer storage type.
int set_buffer_type( [int bufnum], [int type = NULL], [string encoding = NULL] )
Set the name of the calling macro.
void set_calling_name( string name = NULL )
Set the escape delay.
void set_char_timeout( [int timeout] )
Set screen colors.
int set_color( [list|string spec], [int create = TRUE] )
Set a specific color.
void set_color_pair( string|int ident, [int|string fg], [int|string bg], [int|string sf] )
Set the state of a window control.
void set_ctrl_state( int ctrl, int state, [int winnum] )
Set file extended information.
int set_ea( string filename, ... )
Set the echo line format.
void set_echo_format( [string format = NULL] )
Set a buffers character encoding.
int set_encoding( [string encoding = NULL], [int bufnum = NULL] )
Config an editor feature.
int set_feature( [int|string feature], [string value] )
Define the file type detection rules.
int set_file_magic( [string encoding], [int cost] )
Set the current window fonts.
int set_font( [string normalfont], [string italicfont] )
Set idle interval.
int set_idle_default( int internal = 0 )
Set the buffers default indentation.
int set_indent( [int indent], [int bufnum] )
Set the keyboard name.
void set_kbd_name( string name, [int kbdid] )
Associate line flags.
int set_line_flags( [int bufnum], [int start], [int end], [int and_mask], [int or_value] )
Set the macro execution history.
string set_macro_history( [int index = 0], [string value] )
Set buffer formatting margins.
int set_margins( [int bufnum], [int left = NULL], [int right = NULL], [int style = NULL], [int colorcolumn = NULL] )
Set keyboard mouse handler.
int set_mouse_action( string name )
Sets the mouse type.
int set_mouse_type()
Set level of informational messages.
int set_msg_level( int level )
Set process insertion position.
int set_process_position( [int line], [int column] )
Set a dictionary item.
int set_property( int obj_id, string key, [declare value] )
Configure the buffer ruler.
int set_ruler( [int bufnum], [list|string|int ...] )
Set the scrap buffer details.
void set_scrap_info( [int last], [int type], [int bufnum] )
Set syntax flags.
int set_syntax_flags( int flags, [int|string syntable] )
Derive the buffer tab stops.
int set_tab( [int increment], [int bufnum] )
Set terminal special characters.
int set_term_characters( int value0, .... )
Set a terminal attribute.
int set_term_feature( int|string ident, [string|int value] )
Define terminal attributes.
int set_term_features( list features )
Define terminal keyboard definitions.
int set_term_keyboard( list kbd )
Set a buffers line terminator.
int set_terminator( [int bufnum], int|string term )
Manages window view port coordinates.
int set_top_left( [int line], [int column], [int winnum], [int csrline], [int csrcolumn], [int bufnum] )
Set the active window.
int set_window( int winnum )
Set a windows character-map.
int set_window_cmap( [int mapid|string name], [int winnum] )
Set window flags.
void set_window_flags( [int winnum], [string set|int or_mask], [string clear|int and_mask] )
Set the window display priority.
int set_window_priority( int priority, [int winnum] )
Set the window and/or icon name.
void set_wm_name( [string wname], [string iname] )
Spawn a sub-shell process.
int shell( [string cmd], [int use_shell], [string completion], [string stdin], [string stdout], [string stderr], [int mode], [string spec] )
Shift the first list element.
declare shift( list lst )
Sine function.
float sin( float val )
Hyperbolic sine function.
float sinh( float val )
Suspend execution for an interval of time.
void sleep( [int seconds = 1], [int milliseconds = 0] )
Sort buffer content.
int sort_buffer( [int bufnum], [string|int comparator = 0], [int start], [int end], [int type = 3] )
Sort list.
list sort_list( list lst, [string|int comparator = 0], [int type = 3] )
Spell the specified buffer.
list spell_buffer( int start_line, [int end_line], [int tokenize = 1], [int suggest] )
Spell control.
declare spell_control( int action, ... )
Spell dictionary modifications.
int spell_dictionary( int, string|list )
Edit distance.
int spell_distance( string a, string b )
Spell the specified word or line.
int spell_string( string word, [int length], [int tokenize = 0], [int suggest = FALSE] )
Suggest spelling of the the specified word.
list spell_suggest( string word, [int length] )
Splice a list, removing and/or adding elements.
int splice( list lst, int offset = 0, [int length], [declare value] )
Split a string into tokens.
list split( string expr, string|integer delims, [int numeric = FALSE], [int noquoting = FALSE], [int empties = FALSE], [int limit = NULL] )
Argument split.
list split_arguments( string arguments )
Searches for a given file in a specified path.
int splithpath( string path, [string &dir], [string &name], [string &ext], [string &drive] )
Formatted printing to a string.
int sprintf( string & buffer, string format, ... )
Square root function.
float sqrt( float val )
Seed the random number generator.
int srand( [int seed = time()], [int depth] )
Read formatted data from string.
int sscanf( string str, string format, ... )
Obtain file information.
int stat( [string path], [int size], [int mtime], [int ctime], [int atime], [int mode], [int uid], [string uid2name], [int gid], [string gid2name], [int nlink], [int inode] )
Define a function or module scope.
static var1, var2, ..;
String case insensitive compare.
int strcasecmp( string s1, string s2, [int length] )
Locate first occurrence of a case insensitive.
sub-string. int strcasestr( string haystack, string needle )
String compare.
int strcmp( string s1, string s2, [ int length] )
String error.
string strerror( [int errnum = errno], [string &manifest], [int multi = FALSE] )
Filename comparison.
int strfilecmp( string file1, string file2, [int length] )
Format time and date.
string strftime( [string format = NULL], [int time = NULL] )
Declare a string symbol.
string sym1, sym2 ...;
Count occurrences of characters in a string.
int string_count( string haystack, int needle|string needles )
String length.
int strlen( string|list arg, [int step = 1] )
String length limited to an explicit maximum.
int strnlen( string|list arg, int maxlen, [int step = 1] )
Search a string for any of a set of characters.
int strpbrk( string str, string characters )
Pop the leading character(s).
string strpop( string str, [int length = 1] )
Locate last occurrence of a sub-string.
int strrstr( string haystack, string needle )
Return string describing signal.
int strsignal( int signo, [string &manifest], [int multi = FALSE] )
Locate first occurrence of a sub-string.
int strstr( string haystack, string needle )
String to double.
int strtod( string str, [int &endofoffset] )
String to float.
int strtof( string str, [int &endofoffset] )
Convert a string into its numeric value.
int strtol( string str, [int &endoffset], [int base] )
Version string compare.
int strverscmp( string s1, string s2 )
Extract a sub-string.
string substr( string str, [int offset], [int length] )
Suspend current process.
void suspend()
Swaps the mark with the current position.
int swap_anchor()
Switch statement.
switch( expr ) statement
Create a symbolic link.
int symlink( string path1, string path2 )
Build a syntax hiliting engine.
void syntax_build( [int timestamp], [string cache], [int|string syntable] )
Column syntax coloriser.
int syntax_column_ruler( list ruler, [string attribute], [int|string syntable] )
Define a syntax hilite rule.
void syntax_rule( string pattern, string attribute, [int|string syntable] )
Define a syntax token.
void syntax_token( int type, [<type1> param1], [<type2> param2], [int|string syntable] )