gtksourceview r2249 - in branches/gtksourcecompletion: . docs/reference gtksourceview



Author: icq
Date: Fri Apr 10 13:30:07 2009
New Revision: 2249
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=2249&view=rev

Log:
2009-04-10  Ignacio Casal Quinteiro  <nacho resa gmail com>

        * docs/reference/gtksourceview-2.0-sections.txt:
        * docs/reference/gtksourceview-docs.sgml:
        * gtksourceview/gtksourcecompletiontriggerkey.h:
        * gtksourceview/gtksourcecompletion.c:
        * gtksourceview/gtksourcecompletion.h:
        * gtksourceview/gtksourcecompletionprovider.c:
        * gtksourceview/gtksourcecompletioninfo.c:
        * gtksourceview/gtksourcecompletionproposal.c:
        * gtksourceview/gtksourcecompletionprovider.h:
        * gtksourceview/gtksourcecompletioninfo.h:
        * gtksourceview/gtksourcecompletiontrigger.c:
        * gtksourceview/gtksourcecompletiontriggerkey.c:
        Updated docs and use proper includes.



Modified:
   branches/gtksourcecompletion/ChangeLog
   branches/gtksourcecompletion/docs/reference/gtksourceview-2.0-sections.txt
   branches/gtksourcecompletion/docs/reference/gtksourceview-docs.sgml
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletion.c
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletion.h
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletioninfo.c
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletioninfo.h
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletionproposal.c
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletionprovider.c
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletionprovider.h
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontrigger.c
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontriggerkey.c
   branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontriggerkey.h

Modified: branches/gtksourcecompletion/docs/reference/gtksourceview-2.0-sections.txt
==============================================================================
--- branches/gtksourcecompletion/docs/reference/gtksourceview-2.0-sections.txt	(original)
+++ branches/gtksourcecompletion/docs/reference/gtksourceview-2.0-sections.txt	Fri Apr 10 13:30:07 2009
@@ -291,3 +291,137 @@
 GtkSourcePrintCompositorClass
 </SECTION>
 
+<SECTION>
+<FILE>completion</FILE>
+<TITLE>GtkSourceCompletion</TITLE>
+<INCLUDE>gtksourceview/gtksourcecompletion.h</INCLUDE>
+GtkSourceCompletion
+GtkSourceCompletionClass
+gtk_source_completion_get_view
+gtk_source_completion_get_trigger
+gtk_source_completion_get_provider
+gtk_source_completion_register_provider
+gtk_source_completion_unregister_provider
+gtk_source_completion_register_trigger
+gtk_source_completion_unregister_trigger
+gtk_source_completion_get_active_trigger
+gtk_source_completion_trigger_event
+gtk_source_completion_finish_completion
+gtk_source_completion_filter_proposals
+gtk_source_completion_set_active
+gtk_source_completion_get_active
+gtk_source_completion_get_bottom_bar
+gtk_source_completion_get_info_widget
+gtk_source_completion_get_page_pos
+gtk_source_completion_get_n_pages
+gtk_source_completion_set_page_pos
+<SUBSECTION Standard>
+GTK_IS_SOURCE_COMPLETION
+GTK_IS_SOURCE_COMPLETION_CLASS
+GTK_SOURCE_COMPLETION
+GTK_SOURCE_COMPLETION_CLASS
+GTK_SOURCE_COMPLETION_GET_CLASS
+GTK_TYPE_SOURCE_COMPLETION
+GtkSourceCompletionPrivate
+gtk_source_completion_get_type
+</SECTION>
+
+<SECTION>
+<FILE>completioninfo</FILE>
+<TITLE>GtkSourceCompletionInfo</TITLE>
+<INCLUDE>gtksourceview/gtksourcecompletioninfo.h</INCLUDE>
+GtkSourceCompletionInfo
+GtkSourceCompletionInfoClass
+gtk_source_completion_info_new
+gtk_source_completion_info_move_to_cursor
+gtk_source_completion_info_set_markup
+gtk_source_completion_info_set_adjust_height
+gtk_source_completion_info_set_adjust_width
+gtk_source_completion_info_set_custom
+gtk_source_completion_info_get_custom
+<SUBSECTION Standard>
+GTK_IS_SOURCE_COMPLETION_INFO
+GTK_IS_SOURCE_COMPLETION_INFO_CLASS
+GTK_SOURCE_COMPLETION_INFO
+GTK_SOURCE_COMPLETION_INFO_CLASS
+GTK_SOURCE_COMPLETION_INFO_GET_CLASS
+GTK_TYPE_SOURCE_COMPLETION_INFO
+GtkSourceCompletionInfoPrivate
+gtk_source_completion_info_get_type
+</SECTION>
+
+<SECTION>
+<FILE>completionproposal</FILE>
+<TITLE>GtkSourceCompletionProposal</TITLE>
+<INCLUDE>gtksourceview/gtksourcecompletionproposal.h</INCLUDE>
+GtkSourceCompletionProposal
+GtkSourceCompletionProposalClass
+gtk_source_completion_proposal_new
+gtk_source_completion_proposal_get_label
+gtk_source_completion_proposal_get_icon
+gtk_source_completion_proposal_set_page_name
+gtk_source_completion_proposal_get_page_name
+gtk_source_completion_proposal_get_info
+gtk_source_completion_proposal_apply
+<SUBSECTION Standard>
+GTK_IS_SOURCE_COMPLETION_PROPOSAL
+GTK_IS_SOURCE_COMPLETION_PROPOSAL_CLASS
+GTK_SOURCE_COMPLETION_PROPOSAL
+GTK_SOURCE_COMPLETION_PROPOSAL_CLASS
+GTK_SOURCE_COMPLETION_PROPOSAL_GET_CLASS
+GTK_TYPE_SOURCE_COMPLETION_PROPOSAL
+GtkSourceCompletionProposalPrivate
+gtk_source_completion_proposal_get_type
+</SECTION>
+
+<SECTION>
+<FILE>completionprovider</FILE>
+<TITLE>GtkSourceCompletionProvider</TITLE>
+<INCLUDE>gtksourceview/gtksourcecompletionprovider.h</INCLUDE>
+GtkSourceCompletionProvider
+GtkSourceCompletionProviderIface
+gtk_source_completion_provider_get_name
+gtk_source_completion_provider_get_proposals
+gtk_source_completion_provider_finish
+<SUBSECTION Standard>
+GTK_IS_SOURCE_COMPLETION_PROVIDER
+GTK_SOURCE_COMPLETION_PROVIDER
+GTK_SOURCE_COMPLETION_PROVIDER_GET_INTERFACE
+GTK_TYPE_SOURCE_COMPLETION_PROVIDER
+gtk_source_completion_provider_get_type
+</SECTION>
+
+<SECTION>
+<FILE>completiontrigger</FILE>
+<TITLE>GtkSourceCompletionTrigger</TITLE>
+<INCLUDE>gtksourceview/gtksourcecompletiontrigger.h</INCLUDE>
+GtkSourceCompletionTrigger
+GtkSourceCompletionTriggerIface
+gtk_source_completion_trigger_get_name
+gtk_source_completion_trigger_activate
+gtk_source_completion_trigger_deactivate
+<SUBSECTION Standard>
+GTK_IS_SOURCE_COMPLETION_TRIGGER
+GTK_SOURCE_COMPLETION_TRIGGER
+GTK_SOURCE_COMPLETION_TRIGGER_GET_INTERFACE
+GTK_TYPE_SOURCE_COMPLETION_TRIGGER
+gtk_source_completion_trigger_get_type
+</SECTION>
+
+<SECTION>
+<FILE>completiontriggerkey</FILE>
+<TITLE>GtkSourceCompletionTriggerKey</TITLE>
+<INCLUDE>gtksourceview/gtksourcecompletiontriggerkey.h</INCLUDE>
+GtkSourceCompletionTriggerKey
+GtkSourceCompletionTriggerKeyClass
+gtk_source_completion_trigger_key_new
+gtk_source_completion_trigger_key_set_keys
+<SUBSECTION Standard>
+GTK_IS_SOURCE_COMPLETION_TRIGGER_KEY
+GTK_IS_SOURCE_COMPLETION_TRIGGER_KEY_CLASS
+GTK_SOURCE_COMPLETION_TRIGGER_KEY
+GTK_SOURCE_COMPLETION_TRIGGER_KEY_CLASS
+GTK_SOURCE_COMPLETION_TRIGGER_KEY_GET_CLASS
+GTK_TYPE_SOURCE_COMPLETION_TRIGGER_KEY
+gtk_source_completion_trigger_key_get_type
+</SECTION>

Modified: branches/gtksourcecompletion/docs/reference/gtksourceview-docs.sgml
==============================================================================
--- branches/gtksourcecompletion/docs/reference/gtksourceview-docs.sgml	(original)
+++ branches/gtksourcecompletion/docs/reference/gtksourceview-docs.sgml	Fri Apr 10 13:30:07 2009
@@ -14,6 +14,12 @@
   <reference>
     <title>API reference</title>
     <xi:include href="xml/buffer.xml"/>
+    <xi:include href="xml/completion.xml"/>
+    <xi:include href="xml/completioninfo.xml"/>
+    <xi:include href="xml/completionproposal.xml"/>
+    <xi:include href="xml/completionprovider.xml"/>
+    <xi:include href="xml/completiontrigger.xml"/>
+    <xi:include href="xml/completiontriggerkey.xml"/>
     <xi:include href="xml/iter.xml"/>
     <xi:include href="xml/mark.xml"/>
     <xi:include href="xml/view.xml"/>

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletion.c
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletion.c	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletion.c	Fri Apr 10 13:30:07 2009
@@ -32,7 +32,7 @@
 #include <gdk/gdkkeysyms.h> 
 #include "gtksourcecompletionutils.h"
 #include "gtksourceview-marshal.h"
-#include "gtksourcecompletion.h"
+#include <gtksourceview/gtksourcecompletion.h>
 #include "gtksourceview-i18n.h"
 #include <string.h>
 

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletion.h
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletion.h	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletion.h	Fri Apr 10 13:30:07 2009
@@ -24,8 +24,8 @@
 #define GTK_SOURCE_COMPLETION_H
 
 #include <gtk/gtk.h>
-#include "gtksourcecompletionprovider.h"
-#include "gtksourcecompletioninfo.h"
+#include <gtksourceview/gtksourcecompletionprovider.h>
+#include <gtksourceview/gtksourcecompletioninfo.h>
 
 G_BEGIN_DECLS
 

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletioninfo.c
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletioninfo.c	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletioninfo.c	Fri Apr 10 13:30:07 2009
@@ -28,7 +28,7 @@
  * This object can be used to show a calltip or help. 
  */
   
-#include "gtksourcecompletioninfo.h"
+#include <gtksourceview/gtksourcecompletioninfo.h>
 #include "gtksourcecompletionutils.h"
 #include "gtksourceview-i18n.h"
 

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletioninfo.h
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletioninfo.h	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletioninfo.h	Fri Apr 10 13:30:07 2009
@@ -57,7 +57,7 @@
 GType		 gtk_source_completion_info_get_type		(void) G_GNUC_CONST;
 
 GtkSourceCompletionInfo
-		*gtk_source_completion_info_new			(void);
+		*gtk_source_completion_info_new		(void);
 
 void		 gtk_source_completion_info_move_to_cursor	(GtkSourceCompletionInfo* self,
 								 GtkTextView *view);

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletionproposal.c
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletionproposal.c	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletionproposal.c	Fri Apr 10 13:30:07 2009
@@ -29,7 +29,7 @@
  * shown, the help (info) and the apply when the user selects the proposal.
  */
   
-#include "gtksourcecompletionproposal.h"
+#include <gtksourceview/gtksourcecompletionproposal.h>
 #include "gtksourcecompletionutils.h"
 #include "gtksourceview-i18n.h"
 

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletionprovider.c
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletionprovider.c	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletionprovider.c	Fri Apr 10 13:30:07 2009
@@ -31,7 +31,7 @@
  */
 
 
-#include "gtksourcecompletionprovider.h"
+#include <gtksourceview/gtksourcecompletionprovider.h>
 
 /**
  * gtk_source_completion_provider_get_name:

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletionprovider.h
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletionprovider.h	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletionprovider.h	Fri Apr 10 13:30:07 2009
@@ -26,8 +26,8 @@
 #include <glib.h>
 #include <glib-object.h>
 #include <gtk/gtk.h>
-#include "gtksourcecompletionproposal.h"
-#include "gtksourcecompletiontrigger.h"
+#include <gtksourceview/gtksourcecompletionproposal.h>
+#include <gtksourceview/gtksourcecompletiontrigger.h>
 
 G_BEGIN_DECLS
 

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontrigger.c
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontrigger.c	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontrigger.c	Fri Apr 10 13:30:07 2009
@@ -29,7 +29,7 @@
  * 
  */
  
-#include "gtksourcecompletiontrigger.h"
+#include <gtksourceview/gtksourcecompletiontrigger.h>
 
 /**
  * gtk_source_completion_trigger_get_name:

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontriggerkey.c
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontriggerkey.c	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontriggerkey.c	Fri Apr 10 13:30:07 2009
@@ -33,7 +33,7 @@
 #include <glib/gprintf.h>
 #include <string.h>
 #include <ctype.h>
-#include "gtksourcecompletiontriggerkey.h"
+#include <gtksourceview/gtksourcecompletiontriggerkey.h>
 
 #define GTK_SOURCE_COMPLETION_TRIGGER_KEY_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), \
 							GTK_TYPE_SOURCE_COMPLETION_TRIGGER_KEY, \
@@ -77,7 +77,7 @@
 	s = event->state & gtk_accelerator_get_default_mod_mask ();
 	key = gdk_keyval_to_lower (self->priv->key);
 	
-	if (s == self->priv->mod && gdk_keyval_to_lower(event->keyval) == key)
+	if (s == self->priv->mod && gdk_keyval_to_lower (event->keyval) == key)
 	{
 		gtk_source_completion_trigger_event (self->priv->completion,
 						     GTK_SOURCE_COMPLETION_TRIGGER (self));

Modified: branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontriggerkey.h
==============================================================================
--- branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontriggerkey.h	(original)
+++ branches/gtksourcecompletion/gtksourceview/gtksourcecompletiontriggerkey.h	Fri Apr 10 13:30:07 2009
@@ -25,8 +25,8 @@
 
 #include <glib.h>
 #include <glib-object.h>
-#include "gtksourcecompletiontrigger.h"
-#include "gtksourcecompletion.h"
+#include <gtksourceview/gtksourcecompletiontrigger.h>
+#include <gtksourceview/gtksourcecompletion.h>
 
 G_BEGIN_DECLS
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]