SF.net SVN: geany: [2014] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Nov 4 10:12:15 UTC 2007


Revision: 2014
          http://geany.svn.sourceforge.net/geany/?rev=2014&view=rev
Author:   eht16
Date:     2007-11-04 02:12:15 -0800 (Sun, 04 Nov 2007)

Log Message:
-----------
Add document_set_text_changed() to the plugin API.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/plugindata.h
    trunk/src/plugins.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-11-04 10:06:06 UTC (rev 2013)
+++ trunk/ChangeLog	2007-11-04 10:12:15 UTC (rev 2014)
@@ -7,6 +7,8 @@
    spaces(Linux and Windows).
  * src/filetypes.c: Add support for env wrapper in shebang detection
                     (inspired by a patch from Yura Siamashka).
+ * src/plugindata.h, src/plugins.c:
+   Add document_set_text_changed() to the plugin API.
 
 
 2007-11-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h	2007-11-04 10:06:06 UTC (rev 2013)
+++ trunk/src/plugindata.h	2007-11-04 10:12:15 UTC (rev 2014)
@@ -71,7 +71,7 @@
 
 /* The API version should be incremented whenever any plugin data types below are
  * modified or appended to. */
-static const gint api_version = 26;
+static const gint api_version = 27;
 
 /* The ABI version should be incremented whenever existing fields in the plugin
  * data types below have to be changed or reordered. It should stay the same if fields
@@ -196,6 +196,7 @@
 	gboolean (*remove)(guint page_num);
 	gboolean (*reload_file)(gint idx, const gchar *forced_enc);
 	void	(*set_encoding)(gint idx, const gchar *new_encoding);
+	void	(*set_text_changed)(gint idx);
 }
 DocumentFuncs;
 

Modified: trunk/src/plugins.c
===================================================================
--- trunk/src/plugins.c	2007-11-04 10:06:06 UTC (rev 2013)
+++ trunk/src/plugins.c	2007-11-04 10:12:15 UTC (rev 2014)
@@ -87,7 +87,8 @@
 	&document_open_files,
 	&document_remove,
 	&document_reload_file,
-	&document_set_encoding
+	&document_set_encoding,
+	&document_set_text_changed
 };
 
 static ScintillaFuncs sci_funcs = {


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