  	{"GetLine", 2153, iface_int, {iface_int, iface_stringresult}},
  	{"GetLineSelEndPosition", 2425, iface_position, {iface_int, iface_void}},
  	{"GetLineSelStartPosition", 2424, iface_position, {iface_int, iface_void}},
-@@ -2214,6 +890,7 @@
+ 	{"GetProperty", 4008, iface_int, {iface_string, iface_stringresult}},
+ 	{"GetPropertyExpanded", 4009, iface_int, {iface_string, iface_stringresult}},
  	{"GetSelText", 2161, iface_int, {iface_void, iface_stringresult}},
- 	{"GetSelectionNEnd", 2587, iface_position, {iface_void, iface_void}},
- 	{"GetSelectionNStart", 2585, iface_position, {iface_void, iface_void}},
+-	{"GetSelectionNEnd", 2587, iface_position, {iface_void, iface_void}},
+-	{"GetSelectionNStart", 2585, iface_position, {iface_void, iface_void}},
 +	{"GetStyleName", 4013, iface_int, {iface_int, iface_stringresult}},
  	{"GetStyledText", 2015, iface_int, {iface_void, iface_textrange}},
  	{"GetText", 2182, iface_int, {iface_length, iface_stringresult}},
  	{"GetTextRange", 2162, iface_int, {iface_void, iface_textrange}},
-@@ -2325,6 +1002,7 @@
+@@ -2325,13 +1016,12 @@
  	{"SetHotspotActiveBack", 2411, iface_void, {iface_bool, iface_colour}},
  	{"SetHotspotActiveFore", 2410, iface_void, {iface_bool, iface_colour}},
  	{"SetLengthForEncode", 2448, iface_void, {iface_int, iface_void}},

 	functionDefinition = 0;
 	indentOpening = true;
 	indentClosing = true;
@@ -940,11 +940,13 @@
 		braceAtCaret = caretPos - 1;
 	}
 	bool colonMode = false;

 LUA_CORE_OBJS = lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
 		lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o \
 		ltable.o ltm.o lundump.o lvm.o lzio.o
@@ -38,17 +53,20 @@
 LUA_LIB_OBJS =	lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o \
 		lstrlib.o loadlib.o loslib.o linit.o
 
-LUA_OBJS = LuaExtension.o SingleThreadExtension.o $(LUA_CORE_OBJS) $(LUA_LIB_OBJS)
+LUA_OBJS = LuaExtension.o SingleThreadExtension.o # modified by Mitchell
+LUA_LDFLAGS = -L ../../scintilla/bin -lSciLexer --export-all-symbols
 
 vpath %.c ../lua/src ../lua/src/lib
 
 LUA_INCLUDES = -I ../lua/include
