|
ezprocs: Miscellaneous Proctable Entries for ez
What ezprocs Is
Ezprocs is a set of "proctable entries", which may be bound to popup menus or keystrokes in initfiles . If you only want to make use of these occasionally, you may wish to call them manually using metax instead of binding them to a key or menu.
Quick Reference
ezprocs-change-template is identical to textview-change-template, with the exception of its ability to take a string parameter from the init file. (example: addkey ezprocs-change-template \ee textview ezprocs inherit "memo")
ezprocs-multi will execute a whole series of other procs with a single menu selection or keystroke. Each proc should be separated by a comma in the string passed to this proc. If the procs in the list take parameters, they can be delimited by parentheses (for char parameters) or apostrophes (for string parameters). (example: addmenu ezprocs-multi "def.tpl and P at start of line~20" textview ezprocs inherit "ezprocs-change-template'default',textview-beginning-of-line,textview-self-insert(P)")
ezprocs-set-attributes will take a parameter (or prompt for one) of the same format as the options specified in initfiles' "addfiletype" lines. Useful for changing "level-indent" and the like, on-the-fly.
ezprocs-select-entire-file will make the entire file, top to bottom, become the selected region. Useful in conjunction with ezprocs-multi, immediately before running a filter on the file.
ezprocs-insert-file takes a filename as a parameter. It must be specified in .ezinit (if you want a PROMPT, use the normal textview-insert-file). Useful for inserting things like pre-written code constructs, empty block comments, signatures, or letterheads.
ezprocs-destroy-styles wipes out any information in the buffer that would cause it to be written as a datastream file. All styles and insets are removed from the text, all custom style definitions are obliterated, and the name of the template used is forgotten.
ezprocs-toggle-nowrap will turn the "No Wrap" attribute on or off. When on, long paragraphs will be truncated with a triangle instead of wrapped. Passing a "1"/"0" parameter will force it on/off instead of toggling.
ezprocs-set-fontsize will change the size of the global style. An absolute value, or a relative value with a "+" or "-" in front of it, can be passed as parameter.
Related Topics
|