aboutsummaryrefslogtreecommitdiff
path: root/src/tre.patch
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2016-07-04 21:44:50 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2016-07-04 21:44:50 -0400
commit5a6b12358d5013f294b962ccd0614dbf4447348b (patch)
tree65f59af15a421cdab6669b9008427ce4c40360b3 /src/tre.patch
parent64c8a0f0c1ce3ecb5576febe2b6d9aa46e06b6f7 (diff)
downloadtextadept-5a6b12358d5013f294b962ccd0614dbf4447348b.tar.gz
textadept-5a6b12358d5013f294b962ccd0614dbf4447348b.zip
Replaced Lua pattern matching with Regex via Scintilla and TRE.
As a result, changed `ui.find.lua` to `ui.find.regex` Also removed luautf8 dependency since it is no longer needed. Regex replacements cannot contain embedded Lua code. Jumping to "find in files" results selects those results instead of just jumping to their respective lines.
Diffstat (limited to 'src/tre.patch')
-rw-r--r--src/tre.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/tre.patch b/src/tre.patch
new file mode 100644
index 00000000..d2457d21
--- /dev/null
+++ b/src/tre.patch
@@ -0,0 +1,49 @@
+diff -r c8148182a381 lib/tre-config.h
+--- /dev/null Thu Jan 01 00:00:00 1970 +0000
++++ b/lib/tre-config.h Mon Jul 04 13:22:19 2016 -0400
+@@ -0,0 +1,45 @@
++/* tre-config.h.in. This file has all definitions that are needed in
++ `tre.h'. Note that this file must contain only the bare minimum
++ of definitions without the TRE_ prefix to avoid conflicts between
++ definitions here and definitions included from somewhere else. */
++
++/* Define to 1 if you have the <libutf8.h> header file. */
++#undef HAVE_LIBUTF8_H
++
++/* Define to 1 if the system has the type `reg_errcode_t'. */
++#undef HAVE_REG_ERRCODE_T
++
++/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H
++
++/* Define to 1 if you have the <wchar.h> header file. */
++#undef HAVE_WCHAR_H
++
++/* Define if you want to enable approximate matching functionality. */
++#undef TRE_APPROX
++
++/* Define to enable multibyte character set support. */
++#undef TRE_MULTIBYTE
++
++/* Define to the absolute path to the system tre.h */
++#undef TRE_SYSTEM_REGEX_H_PATH
++
++/* Define to include the system regex.h from tre.h */
++#undef TRE_USE_SYSTEM_REGEX_H
++
++/* Define to enable wide character (wchar_t) support. */
++#undef TRE_WCHAR
++
++/* TRE version string. */
++#define TRE_VERSION "0.8.0"
++
++/* TRE version level 1. */
++#undef TRE_VERSION_1
++
++/* TRE version level 2. */
++#undef TRE_VERSION_2
++
++/* TRE version level 3. */
++#undef TRE_VERSION_3
++
++#define TRE_REGEX_T_FIELD value