 +};
 +
 +LexerModule lmLPeg(SCLEX_LPEG, LexerLPeg::LexerFactoryLPeg, "llpeg");
-diff -r ffde119d297e lexlib/LexAccessor.h
---- scintilla/lexlib/LexAccessor.h	Wed Jul 28 17:54:24 2010 +1000
-+++ scintilla/lexlib/LexAccessor.h	Tue Aug 17 00:13:24 2010 -0400
-@@ -166,6 +166,15 @@
- 	void ChangeLexerState(int start, int end) {
- 		pAccess->ChangeLexerState(start, end);
- 	}
-+
-+	// added by Mitchell
-+	char *GetCharRange(int position, int lengthRetrieve) {
-+		char *buffer = static_cast<char *>(malloc(lengthRetrieve + 1));
-+		pAccess->GetCharRange(buffer, position, lengthRetrieve);
-+		buffer[lengthRetrieve] = '\0';
-+		return buffer;
-+	}
-+	// end added by Mitchell
- };
- 
- #ifdef SCI_NAMESPACE
 diff -r ffde119d297e src/Catalogue.cxx
 --- scintilla/src/Catalogue.cxx	Wed Jul 28 17:54:24 2010 +1000
-+++ scintilla/src/Catalogue.cxx	Tue Aug 17 00:13:24 2010 -0400
++++ scintilla/src/Catalogue.cxx	Tue Aug 17 22:27:08 2010 -0400
 @@ -79,6 +79,8 @@
  
  //++Autogenerated -- run src/LexGen.py to regenerate

 
diff -r ffde119d297e lexers/LexLPeg.cxx
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ scintilla/lexers/LexLPeg.cxx	Tue Aug 17 00:13:24 2010 -0400
@@ -0,0 +1,469 @@
+/*
+	Mitchell's Lua-powered dynamic lexer
+	Copyright (c) 2006-2010 Mitchell mitchell<att>caladbolg.net.
+
+	Permission to use, copy, modify, and distribute this file is granted,
+	provided credit is given to Mitchell.
+
+	Implementation:
+	Only one lexer is used: SCLEX_LPEG. Any Scintilla calls to SetLexer or
+	SetLexerLanguage create a new Lua state and pass the desired lexer name to
+	LexLPeg's InitDoc function where it is loaded. Afterwards, the Scintilla
+	styles are read and set. The dynamic lexer is now ready to style the text
+	when Scintilla calls ColouriseDoc.
+	Folding works similarly.
+	Lexer documentation can be read in /lexers/lexer.lua
+*/
+
+#include <assert.h> // for Accessor.h
+#include <ctype.h>

 			</File>
diff -r 77399602f8dc gtk/makefile
--- scite/gtk/makefile	Wed Jul 28 10:38:18 2010 +1000
+++ scite/gtk/makefile	Tue Aug 17 22:27:08 2010 -0400
@@ -55,7 +55,7 @@
 		ltable.o ltm.o lundump.o lvm.o lzio.o
 
