summaryrefslogtreecommitdiff
path: root/xedit.h
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-11 21:48:39 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-02 19:05:05 -0300
commit953664369cc66ba17c7b9c1939fd9d7f6c6137ad (patch)
tree1cb6eb5ec3a97d8e8ee0a250b74a32018a84f65e /xedit.h
parenta2c47d3487aaf4667926195ba3f5b05b94626daf (diff)
Fix several problems in the line edit mode.
Also allow replacing control characters in the replace pattern as well as nul characters.
Diffstat (limited to 'xedit.h')
-rw-r--r--xedit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xedit.h b/xedit.h
index 2f0291a..1c86f6b 100644
--- a/xedit.h
+++ b/xedit.h
@@ -49,6 +49,11 @@
#include <X11/Xmu/SysUtil.h>
+#define LSCAN(from, count, include) \
+ XawTextSourceScan(source, from, XawstEOL, XawsdLeft, count, include)
+#define RSCAN(from, count, include) \
+ XawTextSourceScan(source, from, XawstEOL, XawsdRight, count, include)
+
typedef struct _xedit_hints {
char *resource;
unsigned long interval;