Revision: 177 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=177&view=rev Author: eht16 Date: 2008-09-17 19:08:33 +0000 (Wed, 17 Sep 2008)
Log Message: ----------- Fix to work with Geany API v93.
Modified Paths: -------------- trunk/geanylua/ChangeLog trunk/geanylua/glspi_sci.c
Modified: trunk/geanylua/ChangeLog =================================================================== --- trunk/geanylua/ChangeLog 2008-09-17 18:14:55 UTC (rev 176) +++ trunk/geanylua/ChangeLog 2008-09-17 19:08:33 UTC (rev 177) @@ -1,3 +1,6 @@ +September 17, 2008 (eht16) + Fix to work with Geany API v93. + September 11, 2008 (ntrel) Fix wrong argument for "project-close" signal. Fix document signal callbacks to use document pointers. @@ -6,7 +9,7 @@ Fix to work with Geany API v86.
August 7, 2008 (ntrel) - Use $(mkdir_p) instead of $(MKDIR_P) in Makefile, so it works with + Use $(mkdir_p) instead of $(MKDIR_P) in Makefile, so it works with automake <= 1.96.
July 17, 2008 (ntrel)
Modified: trunk/geanylua/glspi_sci.c =================================================================== --- trunk/geanylua/glspi_sci.c 2008-09-17 18:14:55 UTC (rev 176) +++ trunk/geanylua/glspi_sci.c 2008-09-17 19:08:33 UTC (rev 177) @@ -532,7 +532,7 @@ if ( !lua_isnumber(L,1) ) {return FAIL_NUMERIC_ARG(1);} pos=lua_tonumber(L,1); } - push_number(L,p_sci->find_bracematch(doc->editor->sci,pos)); + push_number(L,p_sci->find_matching_brace(doc->editor->sci,pos)); return 1; }
@@ -707,7 +707,7 @@ lparam=lua_toboolean(L,3); break; case SLT_TEXTRANGE: return FAIL_API; - case SLT_STRINGRESULT: + case SLT_STRINGRESULT: if ((he->msgid==SCI_GETTEXT)&&(wparam==0)) { wparam=sci_send_message(doc->editor->sci, SCI_GETLENGTH, 0,0); } @@ -749,7 +749,7 @@ } return 1; case SLT_BOOL: - lua_pushboolean(L, sci_send_message(doc->editor->sci, he->msgid, wparam, lparam)); + lua_pushboolean(L, sci_send_message(doc->editor->sci, he->msgid, wparam, lparam)); return 1; default:return FAIL_API; } @@ -797,7 +797,7 @@ lua_pushfstring(L, _("Error in module "%s" at function %s():\n" " invalid table in argument #%d:\n" " unknown flag "%s" for element #%d\n "), - LUA_MODULE_NAME, &__FUNCTION__[6], 4, + LUA_MODULE_NAME, &__FUNCTION__[6], 4, (strlen(flagname)>64)?_("<too large to display>"):flagname, i); lua_error(L); } @@ -812,7 +812,7 @@ return 2; } else { g_free(ttf.lpstrText); - return 0; + return 0; } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org