[geany/geany-plugins] dca203: geanylua: Update Scintilla symbols for Geany 1.34

Colomban Wendling git-noreply at xxxxx
Fri Sep 21 08:54:19 UTC 2018


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 21 Sep 2018 08:54:19 UTC
Commit:      dca2038da5bf824e8325630f99cedab276726945
             https://github.com/geany/geany-plugins/commit/dca2038da5bf824e8325630f99cedab276726945

Log Message:
-----------
geanylua: Update Scintilla symbols for Geany 1.34

Geany 1.34 broke API by using Scintilla 3.10 that removes some
long-deprecated messages. Update the list of available messages
and version dependency accordingly.


Modified Paths:
--------------
    geanylua/glspi_sci.h
    geanylua/glspi_ver.h

Modified: geanylua/glspi_sci.h
13 lines changed, 8 insertions(+), 5 deletions(-)
===================================================================
@@ -173,8 +173,6 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"SETWHITESPACEBACK", SLT_VOID, SCI_SETWHITESPACEBACK, SLT_BOOL, SLT_INT},
 	{"SETWHITESPACESIZE", SLT_VOID, SCI_SETWHITESPACESIZE, SLT_INT, SLT_VOID},
 	{"GETWHITESPACESIZE", SLT_INT, SCI_GETWHITESPACESIZE, SLT_VOID, SLT_VOID},
-	{"SETSTYLEBITS", SLT_VOID, SCI_SETSTYLEBITS, SLT_INT, SLT_VOID},
-	{"GETSTYLEBITS", SLT_INT, SCI_GETSTYLEBITS, SLT_VOID, SLT_VOID},
 	{"SETLINESTATE", SLT_VOID, SCI_SETLINESTATE, SLT_INT, SLT_INT},
 	{"GETLINESTATE", SLT_INT, SCI_GETLINESTATE, SLT_INT, SLT_VOID},
 	{"GETMAXLINESTATE", SLT_INT, SCI_GETMAXLINESTATE, SLT_VOID, SLT_VOID},
@@ -470,9 +468,10 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"SELECTIONISRECTANGLE", SLT_BOOL, SCI_SELECTIONISRECTANGLE, SLT_VOID, SLT_VOID},
 	{"SETZOOM", SLT_VOID, SCI_SETZOOM, SLT_INT, SLT_VOID},
 	{"GETZOOM", SLT_INT, SCI_GETZOOM, SLT_VOID, SLT_VOID},
-	{"CREATEDOCUMENT", SLT_INT, SCI_CREATEDOCUMENT, SLT_VOID, SLT_VOID},
+	{"CREATEDOCUMENT", SLT_INT, SCI_CREATEDOCUMENT, SLT_INT, SLT_INT},
 	{"ADDREFDOCUMENT", SLT_VOID, SCI_ADDREFDOCUMENT, SLT_VOID, SLT_INT},
 	{"RELEASEDOCUMENT", SLT_VOID, SCI_RELEASEDOCUMENT, SLT_VOID, SLT_INT},
+	{"GETDOCUMENTOPTIONS", SLT_INT, SCI_GETDOCUMENTOPTIONS, SLT_VOID, SLT_VOID},
 	{"GETMODEVENTMASK", SLT_INT, SCI_GETMODEVENTMASK, SLT_VOID, SLT_VOID},
 	{"SETFOCUS", SLT_VOID, SCI_SETFOCUS, SLT_BOOL, SLT_VOID},
 	{"GETFOCUS", SLT_BOOL, SCI_GETFOCUS, SLT_VOID, SLT_VOID},
@@ -520,6 +519,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"COPYTEXT", SLT_VOID, SCI_COPYTEXT, SLT_INT, SLT_STRING},
 	{"SETSELECTIONMODE", SLT_VOID, SCI_SETSELECTIONMODE, SLT_INT, SLT_VOID},
 	{"GETSELECTIONMODE", SLT_INT, SCI_GETSELECTIONMODE, SLT_VOID, SLT_VOID},
+	{"GETMOVEEXTENDSSELECTION", SLT_BOOL, SCI_GETMOVEEXTENDSSELECTION, SLT_VOID, SLT_VOID},
 	{"GETLINESELSTARTPOSITION", SLT_INT, SCI_GETLINESELSTARTPOSITION, SLT_INT, SLT_VOID},
 	{"GETLINESELENDPOSITION", SLT_INT, SCI_GETLINESELENDPOSITION, SLT_INT, SLT_VOID},
 	{"LINEDOWNRECTEXTEND", SLT_VOID, SCI_LINEDOWNRECTEXTEND, SLT_VOID, SLT_VOID},
@@ -688,7 +688,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"SCROLLTOEND", SLT_VOID, SCI_SCROLLTOEND, SLT_VOID, SLT_VOID},
 	{"SETTECHNOLOGY", SLT_VOID, SCI_SETTECHNOLOGY, SLT_INT, SLT_VOID},
 	{"GETTECHNOLOGY", SLT_INT, SCI_GETTECHNOLOGY, SLT_VOID, SLT_VOID},
-	{"CREATELOADER", SLT_INT, SCI_CREATELOADER, SLT_INT, SLT_VOID},
+	{"CREATELOADER", SLT_INT, SCI_CREATELOADER, SLT_INT, SLT_INT},
 	{"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},
@@ -714,7 +714,6 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"GETPROPERTY", SLT_INT, SCI_GETPROPERTY, SLT_STRING, SLT_STRINGRESULT},
 	{"GETPROPERTYEXPANDED", SLT_INT, SCI_GETPROPERTYEXPANDED, SLT_STRING, SLT_STRINGRESULT},
 	{"GETPROPERTYINT", SLT_INT, SCI_GETPROPERTYINT, SLT_STRING, SLT_INT},
-	{"GETSTYLEBITSNEEDED", SLT_INT, SCI_GETSTYLEBITSNEEDED, SLT_VOID, SLT_VOID},
 	{"GETLEXERLANGUAGE", SLT_INT, SCI_GETLEXERLANGUAGE, SLT_VOID, SLT_STRINGRESULT},
 	{"PRIVATELEXERCALL", SLT_INT, SCI_PRIVATELEXERCALL, SLT_INT, SLT_INT},
 	{"PROPERTYNAMES", SLT_INT, SCI_PROPERTYNAMES, SLT_VOID, SLT_STRINGRESULT},
@@ -731,5 +730,9 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"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},
+	{"GETNAMEDSTYLES", SLT_INT, SCI_GETNAMEDSTYLES, SLT_VOID, SLT_VOID},
+	{"NAMEOFSTYLE", SLT_INT, SCI_NAMEOFSTYLE, SLT_INT, SLT_STRINGRESULT},
+	{"TAGSOFSTYLE", SLT_INT, SCI_TAGSOFSTYLE, SLT_INT, SLT_STRINGRESULT},
+	{"DESCRIPTIONOFSTYLE", SLT_INT, SCI_DESCRIPTIONOFSTYLE, SLT_INT, 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 238
+#define MY_GEANY_API_VER 239
 
 #define LUA_MODULE_NAME "geany"
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list