SF.net SVN: geany:[3381] trunk/src/editor.c

eht16 at users.sourceforge.net eht16 at xxxxx
Mon Dec 15 21:20:54 UTC 2008


Revision: 3381
          http://geany.svn.sourceforge.net/geany/?rev=3381&view=rev
Author:   eht16
Date:     2008-12-15 21:20:53 +0000 (Mon, 15 Dec 2008)

Log Message:
-----------
Use wrapper instead of SCI_BRACEMATCH.

Modified Paths:
--------------
    trunk/src/editor.c

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2008-12-15 21:20:34 UTC (rev 3380)
+++ trunk/src/editor.c	2008-12-15 21:20:53 UTC (rev 3381)
@@ -1013,7 +1013,7 @@
 	gint end_pos = -1;
 
 	if (utils_isbrace(c, 0))
-		end_pos = SSM(sci, SCI_BRACEMATCH, pos - 1, 0);
+		end_pos = sci_find_matching_brace(sci, pos - 1);
 
 	switch (c)
 	{


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list