Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: Frank Lanitz frank@frank.uvena.de Date: Thu, 23 Apr 2015 05:06:41 UTC Commit: 8cd78d45fb89da8f26f1fca5b9803398ebff1193 https://github.com/geany/geany-plugins/commit/8cd78d45fb89da8f26f1fca5b98033...
Log Message: ----------- Merge pull request #218 from b4n/geanylua/mkiface
geanylua: Update to match latest Geany's Scintilla API
Modified Paths: -------------- geanylua/glspi_sci.h geanylua/glspi_ver.h geanylua/util/mkiface.lua
Modified: geanylua/glspi_sci.h 62 lines changed, 60 insertions(+), 2 deletions(-) =================================================================== @@ -37,6 +37,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"ADDTEXT", SLT_VOID, SCI_ADDTEXT, SLT_INT, SLT_STRING}, {"ADDSTYLEDTEXT", SLT_VOID, SCI_ADDSTYLEDTEXT, SLT_INT, SLT_CELLS}, {"INSERTTEXT", SLT_VOID, SCI_INSERTTEXT, SLT_INT, SLT_STRING}, + {"CHANGEINSERTION", SLT_VOID, SCI_CHANGEINSERTION, SLT_INT, SLT_STRING}, {"CLEARALL", SLT_VOID, SCI_CLEARALL, SLT_VOID, SLT_VOID}, {"DELETERANGE", SLT_VOID, SCI_DELETERANGE, SLT_INT, SLT_INT}, {"CLEARDOCUMENTSTYLE", SLT_VOID, SCI_CLEARDOCUMENTSTYLE, SLT_VOID, SLT_VOID}, @@ -72,7 +73,12 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"SETBUFFEREDDRAW", SLT_VOID, SCI_SETBUFFEREDDRAW, SLT_BOOL, SLT_VOID}, {"SETTABWIDTH", SLT_VOID, SCI_SETTABWIDTH, SLT_INT, SLT_VOID}, {"GETTABWIDTH", SLT_INT, SCI_GETTABWIDTH, SLT_VOID, SLT_VOID}, + {"CLEARTABSTOPS", SLT_VOID, SCI_CLEARTABSTOPS, SLT_INT, SLT_VOID}, + {"ADDTABSTOP", SLT_VOID, SCI_ADDTABSTOP, SLT_INT, SLT_INT}, + {"GETNEXTTABSTOP", SLT_INT, SCI_GETNEXTTABSTOP, SLT_INT, SLT_INT}, {"SETCODEPAGE", SLT_VOID, SCI_SETCODEPAGE, SLT_INT, SLT_VOID}, + {"GETIMEINTERACTION", SLT_INT, SCI_GETIMEINTERACTION, SLT_VOID, SLT_VOID}, + {"SETIMEINTERACTION", SLT_VOID, SCI_SETIMEINTERACTION, SLT_INT, SLT_VOID}, {"MARKERDEFINE", SLT_VOID, SCI_MARKERDEFINE, SLT_INT, SLT_INT}, {"MARKERSETFORE", SLT_VOID, SCI_MARKERSETFORE, SLT_INT, SLT_INT}, {"MARKERSETBACK", SLT_VOID, SCI_MARKERSETBACK, SLT_INT, SLT_INT}, @@ -142,6 +148,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"GETCARETPERIOD", SLT_INT, SCI_GETCARETPERIOD, SLT_VOID, SLT_VOID}, {"SETCARETPERIOD", SLT_VOID, SCI_SETCARETPERIOD, SLT_INT, SLT_VOID}, {"SETWORDCHARS", SLT_VOID, SCI_SETWORDCHARS, SLT_VOID, SLT_STRING}, + {"GETWORDCHARS", SLT_INT, SCI_GETWORDCHARS, SLT_VOID, SLT_STRINGRESULT}, {"BEGINUNDOACTION", SLT_VOID, SCI_BEGINUNDOACTION, SLT_VOID, SLT_VOID}, {"ENDUNDOACTION", SLT_VOID, SCI_ENDUNDOACTION, SLT_VOID, SLT_VOID}, {"INDICSETSTYLE", SLT_VOID, SCI_INDICSETSTYLE, SLT_INT, SLT_INT}, @@ -150,6 +157,12 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"INDICGETFORE", SLT_INT, SCI_INDICGETFORE, SLT_INT, SLT_VOID}, {"INDICSETUNDER", SLT_VOID, SCI_INDICSETUNDER, SLT_INT, SLT_BOOL}, {"INDICGETUNDER", SLT_BOOL, SCI_INDICGETUNDER, SLT_INT, SLT_VOID}, + {"INDICSETHOVERSTYLE", SLT_VOID, SCI_INDICSETHOVERSTYLE, SLT_INT, SLT_INT}, + {"INDICGETHOVERSTYLE", SLT_INT, SCI_INDICGETHOVERSTYLE, SLT_INT, SLT_VOID}, + {"INDICSETHOVERFORE", SLT_VOID, SCI_INDICSETHOVERFORE, SLT_INT, SLT_INT}, + {"INDICGETHOVERFORE", SLT_INT, SCI_INDICGETHOVERFORE, SLT_INT, SLT_VOID}, + {"INDICSETFLAGS", SLT_VOID, SCI_INDICSETFLAGS, SLT_INT, SLT_INT}, + {"INDICGETFLAGS", SLT_INT, SCI_INDICGETFLAGS, SLT_INT, SLT_VOID}, {"SETWHITESPACEFORE", SLT_VOID, SCI_SETWHITESPACEFORE, SLT_BOOL, SLT_INT}, {"SETWHITESPACEBACK", SLT_VOID, SCI_SETWHITESPACEBACK, SLT_BOOL, SLT_INT}, {"SETWHITESPACESIZE", SLT_VOID, SCI_SETWHITESPACESIZE, SLT_INT, SLT_VOID}, @@ -242,6 +255,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"POSITIONFROMLINE", SLT_INT, SCI_POSITIONFROMLINE, SLT_INT, SLT_VOID}, {"LINESCROLL", SLT_VOID, SCI_LINESCROLL, SLT_INT, SLT_INT}, {"SCROLLCARET", SLT_VOID, SCI_SCROLLCARET, SLT_VOID, SLT_VOID}, + {"SCROLLRANGE", SLT_VOID, SCI_SCROLLRANGE, SLT_INT, SLT_INT}, {"REPLACESEL", SLT_VOID, SCI_REPLACESEL, SLT_VOID, SLT_STRING}, {"SETREADONLY", SLT_VOID, SCI_SETREADONLY, SLT_BOOL, SLT_VOID}, {"NULL", SLT_VOID, SCI_NULL, SLT_VOID, SLT_VOID}, @@ -266,6 +280,8 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"GETTARGETSTART", SLT_INT, SCI_GETTARGETSTART, SLT_VOID, SLT_VOID}, {"SETTARGETEND", SLT_VOID, SCI_SETTARGETEND, SLT_INT, SLT_VOID}, {"GETTARGETEND", SLT_INT, SCI_GETTARGETEND, SLT_VOID, SLT_VOID}, + {"SETTARGETRANGE", SLT_VOID, SCI_SETTARGETRANGE, SLT_INT, SLT_INT}, + {"GETTARGETTEXT", SLT_INT, SCI_GETTARGETTEXT, SLT_VOID, SLT_STRINGRESULT}, {"REPLACETARGET", SLT_INT, SCI_REPLACETARGET, SLT_INT, SLT_STRING}, {"REPLACETARGETRE", SLT_INT, SCI_REPLACETARGETRE, SLT_INT, SLT_STRING}, {"SEARCHINTARGET", SLT_INT, SCI_SEARCHINTARGET, SLT_INT, SLT_STRING}, @@ -275,6 +291,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"CALLTIPCANCEL", SLT_VOID, SCI_CALLTIPCANCEL, SLT_VOID, SLT_VOID}, {"CALLTIPACTIVE", SLT_BOOL, SCI_CALLTIPACTIVE, SLT_VOID, SLT_VOID}, {"CALLTIPPOSSTART", SLT_INT, SCI_CALLTIPPOSSTART, SLT_VOID, SLT_VOID}, + {"CALLTIPSETPOSSTART", SLT_VOID, SCI_CALLTIPSETPOSSTART, SLT_INT, SLT_VOID}, {"CALLTIPSETHLT", SLT_VOID, SCI_CALLTIPSETHLT, SLT_INT, SLT_INT}, {"CALLTIPSETBACK", SLT_VOID, SCI_CALLTIPSETBACK, SLT_INT, SLT_VOID}, {"CALLTIPSETFORE", SLT_VOID, SCI_CALLTIPSETFORE, SLT_INT, SLT_VOID}, @@ -295,7 +312,13 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"SETFOLDEXPANDED", SLT_VOID, SCI_SETFOLDEXPANDED, SLT_INT, SLT_BOOL}, {"GETFOLDEXPANDED", SLT_BOOL, SCI_GETFOLDEXPANDED, SLT_INT, SLT_VOID}, {"TOGGLEFOLD", SLT_VOID, SCI_TOGGLEFOLD, SLT_INT, SLT_VOID}, + {"FOLDLINE", SLT_VOID, SCI_FOLDLINE, SLT_INT, SLT_INT}, + {"FOLDCHILDREN", SLT_VOID, SCI_FOLDCHILDREN, SLT_INT, SLT_INT}, + {"EXPANDCHILDREN", SLT_VOID, SCI_EXPANDCHILDREN, SLT_INT, SLT_INT}, + {"FOLDALL", SLT_VOID, SCI_FOLDALL, SLT_INT, SLT_VOID}, {"ENSUREVISIBLE", SLT_VOID, SCI_ENSUREVISIBLE, SLT_INT, SLT_VOID}, + {"SETAUTOMATICFOLD", SLT_VOID, SCI_SETAUTOMATICFOLD, SLT_INT, SLT_VOID}, + {"GETAUTOMATICFOLD", SLT_INT, SCI_GETAUTOMATICFOLD, SLT_VOID, SLT_VOID}, {"SETFOLDFLAGS", SLT_VOID, SCI_SETFOLDFLAGS, SLT_INT, SLT_VOID}, {"ENSUREVISIBLEENFORCEPOLICY", SLT_VOID, SCI_ENSUREVISIBLEENFORCEPOLICY, SLT_INT, SLT_VOID}, {"SETTABINDENTS", SLT_VOID, SCI_SETTABINDENTS, SLT_BOOL, SLT_VOID}, @@ -331,6 +354,8 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"APPENDTEXT", SLT_VOID, SCI_APPENDTEXT, SLT_INT, SLT_STRING}, {"GETTWOPHASEDRAW", SLT_BOOL, SCI_GETTWOPHASEDRAW, SLT_VOID, SLT_VOID}, {"SETTWOPHASEDRAW", SLT_VOID, SCI_SETTWOPHASEDRAW, SLT_BOOL, SLT_VOID}, + {"GETPHASESDRAW", SLT_INT, SCI_GETPHASESDRAW, SLT_VOID, SLT_VOID}, + {"SETPHASESDRAW", SLT_VOID, SCI_SETPHASESDRAW, SLT_INT, SLT_VOID}, {"SETFONTQUALITY", SLT_VOID, SCI_SETFONTQUALITY, SLT_INT, SLT_VOID}, {"GETFONTQUALITY", SLT_INT, SCI_GETFONTQUALITY, SLT_VOID, SLT_VOID}, {"SETFIRSTVISIBLELINE", SLT_VOID, SCI_SETFIRSTVISIBLELINE, SLT_INT, SLT_VOID}, @@ -469,6 +494,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"PARAUPEXTEND", SLT_VOID, SCI_PARAUPEXTEND, SLT_VOID, SLT_VOID}, {"POSITIONBEFORE", SLT_INT, SCI_POSITIONBEFORE, SLT_INT, SLT_VOID}, {"POSITIONAFTER", SLT_INT, SCI_POSITIONAFTER, SLT_INT, SLT_VOID}, + {"POSITIONRELATIVE", SLT_INT, SCI_POSITIONRELATIVE, SLT_INT, SLT_INT}, {"COPYRANGE", SLT_VOID, SCI_COPYRANGE, SLT_INT, SLT_INT}, {"COPYTEXT", SLT_VOID, SCI_COPYTEXT, SLT_INT, SLT_STRING}, {"SETSELECTIONMODE", SLT_VOID, SCI_SETSELECTIONMODE, SLT_INT, SLT_VOID}, @@ -493,11 +519,18 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"WORDRIGHTEND", SLT_VOID, SCI_WORDRIGHTEND, SLT_VOID, SLT_VOID}, {"WORDRIGHTENDEXTEND", SLT_VOID, SCI_WORDRIGHTENDEXTEND, SLT_VOID, SLT_VOID}, {"SETWHITESPACECHARS", SLT_VOID, SCI_SETWHITESPACECHARS, SLT_VOID, SLT_STRING}, + {"GETWHITESPACECHARS", SLT_INT, SCI_GETWHITESPACECHARS, SLT_VOID, SLT_STRINGRESULT}, + {"SETPUNCTUATIONCHARS", SLT_VOID, SCI_SETPUNCTUATIONCHARS, SLT_VOID, SLT_STRING}, + {"GETPUNCTUATIONCHARS", SLT_INT, SCI_GETPUNCTUATIONCHARS, SLT_VOID, SLT_STRINGRESULT}, {"SETCHARSDEFAULT", SLT_VOID, SCI_SETCHARSDEFAULT, SLT_VOID, SLT_VOID}, {"AUTOCGETCURRENT", SLT_INT, SCI_AUTOCGETCURRENT, SLT_VOID, SLT_VOID}, {"AUTOCGETCURRENTTEXT", SLT_INT, SCI_AUTOCGETCURRENTTEXT, SLT_VOID, SLT_STRINGRESULT}, {"AUTOCSETCASEINSENSITIVEBEHAVIOUR", SLT_VOID, SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR, SLT_INT, SLT_VOID}, {"AUTOCGETCASEINSENSITIVEBEHAVIOUR", SLT_INT, SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR, SLT_VOID, SLT_VOID}, + {"AUTOCSETMULTI", SLT_VOID, SCI_AUTOCSETMULTI, SLT_INT, SLT_VOID}, + {"AUTOCGETMULTI", SLT_INT, SCI_AUTOCGETMULTI, SLT_VOID, SLT_VOID}, + {"AUTOCSETORDER", SLT_VOID, SCI_AUTOCSETORDER, SLT_INT, SLT_VOID}, + {"AUTOCGETORDER", SLT_INT, SCI_AUTOCGETORDER, SLT_VOID, SLT_VOID}, {"ALLOCATE", SLT_VOID, SCI_ALLOCATE, SLT_INT, SLT_VOID}, {"TARGETASUTF8", SLT_INT, SCI_TARGETASUTF8, SLT_VOID, SLT_STRINGRESULT}, {"SETLENGTHFORENCODE", SLT_VOID, SCI_SETLENGTHFORENCODE, SLT_INT, SLT_VOID}, @@ -529,8 +562,6 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"GETCHARACTERPOINTER", SLT_INT, SCI_GETCHARACTERPOINTER, SLT_VOID, SLT_VOID}, {"GETRANGEPOINTER", SLT_INT, SCI_GETRANGEPOINTER, SLT_INT, SLT_INT}, {"GETGAPPOSITION", SLT_INT, SCI_GETGAPPOSITION, SLT_VOID, SLT_VOID}, - {"SETKEYSUNICODE", SLT_VOID, SCI_SETKEYSUNICODE, SLT_BOOL, SLT_VOID}, - {"GETKEYSUNICODE", SLT_BOOL, SCI_GETKEYSUNICODE, SLT_VOID, SLT_VOID}, {"INDICSETALPHA", SLT_VOID, SCI_INDICSETALPHA, SLT_INT, SLT_INT}, {"INDICGETALPHA", SLT_INT, SCI_INDICGETALPHA, SLT_INT, SLT_VOID}, {"INDICSETOUTLINEALPHA", SLT_VOID, SCI_INDICSETOUTLINEALPHA, SLT_INT, SLT_INT}, @@ -563,9 +594,13 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"ANNOTATIONGETVISIBLE", SLT_INT, SCI_ANNOTATIONGETVISIBLE, SLT_VOID, SLT_VOID}, {"ANNOTATIONSETSTYLEOFFSET", SLT_VOID, SCI_ANNOTATIONSETSTYLEOFFSET, SLT_INT, SLT_VOID}, {"ANNOTATIONGETSTYLEOFFSET", SLT_INT, SCI_ANNOTATIONGETSTYLEOFFSET, SLT_VOID, SLT_VOID}, + {"RELEASEALLEXTENDEDSTYLES", SLT_VOID, SCI_RELEASEALLEXTENDEDSTYLES, SLT_VOID, SLT_VOID}, + {"ALLOCATEEXTENDEDSTYLES", SLT_INT, SCI_ALLOCATEEXTENDEDSTYLES, SLT_INT, SLT_VOID}, {"ADDUNDOACTION", SLT_VOID, SCI_ADDUNDOACTION, SLT_INT, SLT_INT}, {"CHARPOSITIONFROMPOINT", SLT_INT, SCI_CHARPOSITIONFROMPOINT, SLT_INT, SLT_INT}, {"CHARPOSITIONFROMPOINTCLOSE", SLT_INT, SCI_CHARPOSITIONFROMPOINTCLOSE, SLT_INT, SLT_INT}, + {"SETMOUSESELECTIONRECTANGULARSWITCH", SLT_VOID, SCI_SETMOUSESELECTIONRECTANGULARSWITCH, SLT_BOOL, SLT_VOID}, + {"GETMOUSESELECTIONRECTANGULARSWITCH", SLT_BOOL, SCI_GETMOUSESELECTIONRECTANGULARSWITCH, SLT_VOID, SLT_VOID}, {"SETMULTIPLESELECTION", SLT_VOID, SCI_SETMULTIPLESELECTION, SLT_BOOL, SLT_VOID}, {"GETMULTIPLESELECTION", SLT_BOOL, SCI_GETMULTIPLESELECTION, SLT_VOID, SLT_VOID}, {"SETADDITIONALSELECTIONTYPING", SLT_VOID, SCI_SETADDITIONALSELECTIONTYPING, SLT_BOOL, SLT_VOID}, @@ -575,9 +610,11 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"SETADDITIONALCARETSVISIBLE", SLT_VOID, SCI_SETADDITIONALCARETSVISIBLE, SLT_BOOL, SLT_VOID}, {"GETADDITIONALCARETSVISIBLE", SLT_BOOL, SCI_GETADDITIONALCARETSVISIBLE, SLT_VOID, SLT_VOID}, {"GETSELECTIONS", SLT_INT, SCI_GETSELECTIONS, SLT_VOID, SLT_VOID}, + {"GETSELECTIONEMPTY", SLT_BOOL, SCI_GETSELECTIONEMPTY, SLT_VOID, SLT_VOID}, {"CLEARSELECTIONS", SLT_VOID, SCI_CLEARSELECTIONS, SLT_VOID, SLT_VOID}, {"SETSELECTION", SLT_INT, SCI_SETSELECTION, SLT_INT, SLT_INT}, {"ADDSELECTION", SLT_INT, SCI_ADDSELECTION, SLT_INT, SLT_INT}, + {"DROPSELECTIONN", SLT_VOID, SCI_DROPSELECTIONN, SLT_INT, SLT_VOID}, {"SETMAINSELECTION", SLT_VOID, SCI_SETMAINSELECTION, SLT_INT, SLT_VOID}, {"GETMAINSELECTION", SLT_INT, SCI_GETMAINSELECTION, SLT_VOID, SLT_VOID}, {"SETSELECTIONNCARET", SLT_VOID, SCI_SETSELECTIONNCARET, SLT_INT, SLT_INT}, @@ -621,6 +658,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"GETIDENTIFIER", SLT_INT, SCI_GETIDENTIFIER, SLT_VOID, SLT_VOID}, {"RGBAIMAGESETWIDTH", SLT_VOID, SCI_RGBAIMAGESETWIDTH, SLT_INT, SLT_VOID}, {"RGBAIMAGESETHEIGHT", SLT_VOID, SCI_RGBAIMAGESETHEIGHT, SLT_INT, SLT_VOID}, + {"RGBAIMAGESETSCALE", SLT_VOID, SCI_RGBAIMAGESETSCALE, SLT_INT, SLT_VOID}, {"MARKERDEFINERGBAIMAGE", SLT_VOID, SCI_MARKERDEFINERGBAIMAGE, SLT_INT, SLT_STRING}, {"REGISTERRGBAIMAGE", SLT_VOID, SCI_REGISTERRGBAIMAGE, SLT_INT, SLT_STRING}, {"SCROLLTOSTART", SLT_VOID, SCI_SCROLLTOSTART, SLT_VOID, SLT_VOID}, @@ -631,6 +669,16 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"FINDINDICATORSHOW", SLT_VOID, SCI_FINDINDICATORSHOW, SLT_INT, SLT_INT}, {"FINDINDICATORFLASH", SLT_VOID, SCI_FINDINDICATORFLASH, SLT_INT, SLT_INT}, {"FINDINDICATORHIDE", SLT_VOID, SCI_FINDINDICATORHIDE, SLT_VOID, SLT_VOID}, + {"VCHOMEDISPLAY", SLT_VOID, SCI_VCHOMEDISPLAY, SLT_VOID, SLT_VOID}, + {"VCHOMEDISPLAYEXTEND", SLT_VOID, SCI_VCHOMEDISPLAYEXTEND, SLT_VOID, SLT_VOID}, + {"GETCARETLINEVISIBLEALWAYS", SLT_BOOL, SCI_GETCARETLINEVISIBLEALWAYS, SLT_VOID, SLT_VOID}, + {"SETCARETLINEVISIBLEALWAYS", SLT_VOID, SCI_SETCARETLINEVISIBLEALWAYS, SLT_BOOL, SLT_VOID}, + {"SETLINEENDTYPESALLOWED", SLT_VOID, SCI_SETLINEENDTYPESALLOWED, SLT_INT, SLT_VOID}, + {"GETLINEENDTYPESALLOWED", SLT_INT, SCI_GETLINEENDTYPESALLOWED, SLT_VOID, SLT_VOID}, + {"GETLINEENDTYPESACTIVE", SLT_INT, SCI_GETLINEENDTYPESACTIVE, SLT_VOID, SLT_VOID}, + {"SETREPRESENTATION", SLT_VOID, SCI_SETREPRESENTATION, SLT_STRING, SLT_STRING}, + {"GETREPRESENTATION", SLT_INT, SCI_GETREPRESENTATION, SLT_STRING, SLT_STRINGRESULT}, + {"CLEARREPRESENTATION", SLT_VOID, SCI_CLEARREPRESENTATION, SLT_STRING, SLT_VOID}, {"STARTRECORD", SLT_VOID, SCI_STARTRECORD, SLT_VOID, SLT_VOID}, {"STOPRECORD", SLT_VOID, SCI_STOPRECORD, SLT_VOID, SLT_VOID}, {"SETLEXER", SLT_VOID, SCI_SETLEXER, SLT_INT, SLT_VOID}, @@ -650,5 +698,15 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = { {"PROPERTYTYPE", SLT_INT, SCI_PROPERTYTYPE, SLT_STRING, SLT_VOID}, {"DESCRIBEPROPERTY", SLT_INT, SCI_DESCRIBEPROPERTY, SLT_STRING, SLT_STRINGRESULT}, {"DESCRIBEKEYWORDSETS", SLT_INT, SCI_DESCRIBEKEYWORDSETS, SLT_VOID, SLT_STRINGRESULT}, + {"GETLINEENDTYPESSUPPORTED", SLT_INT, SCI_GETLINEENDTYPESSUPPORTED, SLT_VOID, SLT_VOID}, + {"ALLOCATESUBSTYLES", SLT_INT, SCI_ALLOCATESUBSTYLES, SLT_INT, SLT_INT}, + {"GETSUBSTYLESSTART", SLT_INT, SCI_GETSUBSTYLESSTART, SLT_INT, SLT_VOID}, + {"GETSUBSTYLESLENGTH", SLT_INT, SCI_GETSUBSTYLESLENGTH, SLT_INT, SLT_VOID}, + {"GETSTYLEFROMSUBSTYLE", SLT_INT, SCI_GETSTYLEFROMSUBSTYLE, SLT_INT, SLT_VOID}, + {"GETPRIMARYSTYLEFROMSTYLE", SLT_INT, SCI_GETPRIMARYSTYLEFROMSTYLE, SLT_INT, SLT_VOID}, + {"FREESUBSTYLES", SLT_VOID, SCI_FREESUBSTYLES, SLT_VOID, SLT_VOID}, + {"SETIDENTIFIERS", SLT_VOID, SCI_SETIDENTIFIERS, SLT_INT, SLT_STRING}, + {"DISTANCETOSECONDARYSTYLES", SLT_INT, SCI_DISTANCETOSECONDARYSTYLES, SLT_VOID, SLT_VOID}, + {"GETSUBSTYLEBASES", SLT_INT, SCI_GETSUBSTYLEBASES, SLT_VOID, SLT_STRINGRESULT}, {NULL, SLT_LAST, 0, SLT_LAST, SLT_LAST} };
Modified: geanylua/glspi_ver.h 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -12,7 +12,7 @@
#define PLUGIN_AUTHOR "Jeff Pohlmeyer"
-#define MY_GEANY_API_VER 159 +#define MY_GEANY_API_VER 224
#define LUA_MODULE_NAME "geany"
Modified: geanylua/util/mkiface.lua 7 lines changed, 3 insertions(+), 4 deletions(-) =================================================================== @@ -69,16 +69,15 @@ do rvtype=line:gsub("...%s+([^%s]+).*", "%1") rvtype=translate_typename(rvtype) arglist=line:gsub("^.*%(", "(") - wparam=arglist:gsub("%(([^,]-),.*","%1") + wparam=arglist:gsub("%(%s*([^,]-),.*","%1") if (wparam~="") then - wparam=wparam:gsub("^%s*","") wparam=wparam:gsub("%s.*$","") wparam=translate_typename(wparam) else wparam="void" end - lparam=arglist:gsub("^[^,]*,%s*","") - if (lparam~=")") then + lparam=arglist:gsub("^[^,]*,%s*([^)]-)%).*","%1") + if (lparam~="") then lparam=lparam:gsub("%s.*","") lparam=translate_typename(lparam) else
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org