  	return 1;
  }
 --- scite-latest/scintilla/src/LexLPeg.cxx	1969-12-31 19:00:00.000000000 -0500
-+++ scintillua/scintilla/src/LexLPeg.cxx	2010-02-22 19:20:44.000000000 -0500
-@@ -0,0 +1,403 @@
++++ scintillua/scintilla/src/LexLPeg.cxx	2010-03-30 22:49:18.000000000 -0400
+@@ -0,0 +1,384 @@
 +/*
 +	Mitchell's Lua-powered dynamic lexer
 +	Copyright (c) 2006-2007 Mitchell Foral. All rights reserved.

+			}
+		} lua_pop(L, 1); // value
+	} lua_pop(L, 2); // Styles and Lexer
+	
+	// if the lexer is a child, it will have a parent in its 'EmbeddedIn' field
+	lua_getglobal(L, "Lexer");
+	lua_getfield(L, -1, "EmbeddedIn");

+	lua_getglobal(L, "RunFolder");
+	if (lua_isfunction(L, -1)) {
+		int currentLine = styler.GetLine(startPos);
+		long int p = Platform::SendScintilla(windowID, SCI_GETCHARACTERPOINTER);
+		lua_pushstring(L, reinterpret_cast<char *>(p) + startPos, length);
+		lua_pushnumber(L, startPos);
+		lua_pushnumber(L, currentLine);
+		lua_pushnumber(L, styler.LevelAt(currentLine) & SC_FOLDLEVELNUMBERMASK);
+		if (lua_pcall(L, 4, 1, 0) != 0) l_handle_error(L);
+		// fold the text from the fold table returned
+		if (lua_istable(L, -1)) {
+			lua_pushnil(L);
