[geany/geany-plugins] 83f492: Merge pull request #814 from Skif-off/upd-sci-api

Frank Lanitz git-noreply at xxxxx
Sun Mar 31 14:32:09 UTC 2019


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   GitHub <noreply at github.com>
Date:        Sun, 31 Mar 2019 14:32:09 UTC
Commit:      83f492898cf8ed4b1973ea8e07eb2ebb10671e8a
             https://github.com/geany/geany-plugins/commit/83f492898cf8ed4b1973ea8e07eb2ebb10671e8a

Log Message:
-----------
Merge pull request #814 from Skif-off/upd-sci-api

GeanyLua: Update to match latest Geany's Scintilla API 3


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

Modified: geanylua/glspi_sci.h
9 lines changed, 9 insertions(+), 0 deletions(-)
===================================================================
@@ -221,6 +221,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"GETLINEINDENTPOSITION", SLT_INT, SCI_GETLINEINDENTPOSITION, SLT_INT, SLT_VOID},
 	{"GETCOLUMN", SLT_INT, SCI_GETCOLUMN, SLT_INT, SLT_VOID},
 	{"COUNTCHARACTERS", SLT_INT, SCI_COUNTCHARACTERS, SLT_INT, SLT_INT},
+	{"COUNTCODEUNITS", SLT_INT, SCI_COUNTCODEUNITS, SLT_INT, SLT_INT},
 	{"SETHSCROLLBAR", SLT_VOID, SCI_SETHSCROLLBAR, SLT_BOOL, SLT_VOID},
 	{"GETHSCROLLBAR", SLT_BOOL, SCI_GETHSCROLLBAR, SLT_VOID, SLT_VOID},
 	{"SETINDENTATIONGUIDES", SLT_VOID, SCI_SETINDENTATIONGUIDES, SLT_INT, SLT_VOID},
@@ -473,6 +474,8 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"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},
+	{"SETCOMMANDEVENTS", SLT_VOID, SCI_SETCOMMANDEVENTS, SLT_BOOL, SLT_VOID},
+	{"GETCOMMANDEVENTS", SLT_BOOL, SCI_GETCOMMANDEVENTS, SLT_VOID, SLT_VOID},
 	{"SETFOCUS", SLT_VOID, SCI_SETFOCUS, SLT_BOOL, SLT_VOID},
 	{"GETFOCUS", SLT_BOOL, SCI_GETFOCUS, SLT_VOID, SLT_VOID},
 	{"SETSTATUS", SLT_VOID, SCI_SETSTATUS, SLT_INT, SLT_VOID},
@@ -515,6 +518,7 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"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},
+	{"POSITIONRELATIVECODEUNITS", SLT_INT, SCI_POSITIONRELATIVECODEUNITS, 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},
@@ -734,5 +738,10 @@ static SciCmdHashEntry sci_cmd_hash_entries[] = {
 	{"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},
+	{"GETLINECHARACTERINDEX", SLT_INT, SCI_GETLINECHARACTERINDEX, SLT_VOID, SLT_VOID},
+	{"ALLOCATELINECHARACTERINDEX", SLT_VOID, SCI_ALLOCATELINECHARACTERINDEX, SLT_INT, SLT_VOID},
+	{"RELEASELINECHARACTERINDEX", SLT_VOID, SCI_RELEASELINECHARACTERINDEX, SLT_INT, SLT_VOID},
+	{"LINEFROMINDEXPOSITION", SLT_INT, SCI_LINEFROMINDEXPOSITION, SLT_INT, SLT_INT},
+	{"INDEXPOSITIONFROMLINE", SLT_INT, SCI_INDEXPOSITIONFROMLINE, SLT_INT, SLT_INT},
 	{NULL, SLT_LAST, 0, SLT_LAST, SLT_LAST}
 };



--------------
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