From 69daddeb2a241af212edca89f6a7422e6f8a5053 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 4 Mar 2003 10:53:59 +0000 Subject: Patch from Jakub to optionally implement more POSIX compatible regular expressions. \(..\) changes to (..) Fixes problem where find previous would not find earlier matches on same line. --- include/Scintilla.h | 1 + include/Scintilla.iface | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index ecdda8de1..a04dc6c50 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -285,6 +285,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCFIND_MATCHCASE 4 #define SCFIND_WORDSTART 0x00100000 #define SCFIND_REGEXP 0x00200000 +#define SCFIND_POSIX 0x00400000 #define SCI_FINDTEXT 2150 #define SCI_FORMATRANGE 2151 #define SCI_GETFIRSTVISIBLELINE 2152 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 984b4a3d8..a0c73053e 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -701,6 +701,7 @@ val SCFIND_WHOLEWORD=2 val SCFIND_MATCHCASE=4 val SCFIND_WORDSTART=0x00100000 val SCFIND_REGEXP=0x00200000 +val SCFIND_POSIX=0x00400000 # Find some text in the document. fun position FindText=2150(int flags, findtext ft) -- cgit v1.2.3