Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   Changes from Older Versions
      . . .
      New Features in Epsilon 11
         Highlights of Epsilon 11
         More Programming Enhancements in Epsilon 11
         File Enhancements in Epsilon 11
         . . .
         New Customization Options in Epsilon 11
      EEL Programming Changes in Epsilon 11
         New EEL Primitives and Subroutines in Epsilon 11
         Changes to EEL Primitives and Subroutines in Epsilon 11
      New Features in Epsilon 10
         Documentation Enhancements in Epsilon 10
         More Platforms in Epsilon 10
         Perl Support in Epsilon 10
         . . .
         New CUA Keyboard Support in Epsilon 10
      . . .

Previous   Up    Next
New EEL Primitives and Subroutines in Epsilon 11  Changes from Older Versions   Documentation Enhancements in Epsilon 10


Epsilon User's Manual and Reference > Changes from Older Versions > EEL Programming Changes in Epsilon 11 >

Changes to EEL Primitives and Subroutines in Epsilon 11

int buf_pipe_text(int inputb, int outputb, char *cmdline,
                  char *curdir, int flags, ?int errorb)

The buf_pipe_text( ) primitive now accepts an additional, optional, parameter errorb. If nonzero, any output of the program sent to standard error will be sent to the errorb buffer instead of the outputb buffer. If errorb is zero, such output will appear in outputb along with standard output. Only Epsilon for Unix supports this capability; other versions ignore this parameter.

short print_line(char *str, ?int scheme)

The print_line( ) primitive now recognizes an additional, optional parameter scheme, which forces that line of text to be printed using the text color class of the specified color scheme. If zero or omitted, the current color scheme is used.

int drag_drop_result(char *file)

The drag_drop_result( ) primitive is used to retrieve files sent to Epsilon via the -add or -wait flags, or (for MS-Windows) via DDE, the SendEps program, the Visual Studio extension, or via drag and drop. It now returns a value of 2 to indicate that the sent file was sent as the result of a -wait flag, not some other method. A return value of 1 indicates some method other than -wait was used, and 0 indicates there are no more files, as before.

int has_feature;

Epsilon provides the has_feature variable so an EEL function can determine which facilities are available in the current environment. This version defines some additional bits.

 FEAT_EEL_COMPILE  eel_compile( ) is implemented.
 FEAT_LCS_PRIMITIVES  lcs( ) and related are implemented.
 FEAT_PROC_SEND_TEXT  process_send_text( ) is implemented.

int show_text(int column, int time, char *fmt, ...)

The show_text( ) primitive understands some additional parameter values. The call show_text(-2, 1, fmt) records the specified message in the #messages# buffer without displaying anything. The call show_text(0, 1, fmt) displays a message ephemerally, like note(msg), but unlike note( ), it also records the message in #messages#.

delay(int hundredths, int condition)

The delay( ) primitive now accepts an additional condition flag COND_RETURN_ABORT. Normally if the user presses the abort key during the delay, the function aborts by calling the check_abort( ) primitive. With this flag, it returns if the user presses the abort key. (Note that if you don't specify COND_KEY as well, the primitive ignores all keys, including the abort key.)



Previous   Up    Next
New EEL Primitives and Subroutines in Epsilon 11  Changes from Older Versions   Documentation Enhancements in Epsilon 10


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.