diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-13 00:45:18 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-13 00:45:18 +0100 |
| commit | 08121e466c07d72345e50c501762adc36f566d9a (patch) | |
| tree | da057a7b29a65477027800afc59d256cdf4bee34 /sciteco.h | |
| parent | 3bb56ae078e80b3d228be092dc66962760d9a892 (diff) | |
<x[,y]>S...$ command (only regexp searching at the moment)
Diffstat (limited to 'sciteco.h')
| -rw-r--r-- | sciteco.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -26,6 +26,12 @@ sptr_t editor_msg(unsigned int iMessage, uptr_t wParam = 0, sptr_t lParam = 0); #define CTL_ECHO(C) ((C) | 0x40) #define CTL_KEY(C) ((C) & ~0x40) +#define SUCCESS (-1) +#define FAILURE (0) + +#define IS_SUCCESS(X) ((X) < 0) +#define IS_FAILURE(X) (!IS_SUCCESS(X)) + /* TECO uses only lower 7 bits for commands */ #define MAX_TRANSITIONS 127 |
