|  |  |  | Anjuta Developers Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Prerequisites | ||||
#include <libanjuta/interfaces/ianjuta-editor-search.h> #define IANJUTA_EDITOR_SEARCH_ERROR IAnjutaEditorSearch; IAnjutaEditorSearchIface; GQuark ianjuta_editor_search_error_quark (void); gboolean ianjuta_editor_search_backward (IAnjutaEditorSearch *obj, const gchar *search, gboolean case_sensitive, IAnjutaEditorCell *start, IAnjutaEditorCell *end, IAnjutaEditorCell **result_start, IAnjutaEditorCell **result_end, GError **err); gboolean ianjuta_editor_search_forward (IAnjutaEditorSearch *obj, const gchar *search, gboolean case_sensitive, IAnjutaEditorCell *start, IAnjutaEditorCell *end, IAnjutaEditorCell **result_start, IAnjutaEditorCell **result_end, GError **err);
typedef struct {
	IAnjutaEditorIface g_iface;
	
	gboolean (*backward) (IAnjutaEditorSearch *obj, const gchar* search,  gboolean case_sensitive,  IAnjutaEditorCell* start,  IAnjutaEditorCell* end,  IAnjutaEditorCell** result_start,  IAnjutaEditorCell** result_end, GError **err);
	gboolean (*forward) (IAnjutaEditorSearch *obj, const gchar* search,  gboolean case_sensitive,  IAnjutaEditorCell* start,  IAnjutaEditorCell* end,  IAnjutaEditorCell** result_start,  IAnjutaEditorCell** result_end, GError **err);
} IAnjutaEditorSearchIface;
gboolean ianjuta_editor_search_backward (IAnjutaEditorSearch *obj, const gchar *search, gboolean case_sensitive, IAnjutaEditorCell *start, IAnjutaEditorCell *end, IAnjutaEditorCell **result_start, IAnjutaEditorCell **result_end, GError **err);
Search backward from end to start
| 
 | Self | 
| 
 | String to search for | 
| 
 | |
| 
 | Where to search from | 
| 
 | Where to stop searching | 
| 
 | Will be set to the start of the search_result (or NULL) | 
| 
 | Will be set to the end of the search_result (or NULL) | 
| 
 | Error propagation and reporting | 
| Returns : | 
gboolean ianjuta_editor_search_forward (IAnjutaEditorSearch *obj, const gchar *search, gboolean case_sensitive, IAnjutaEditorCell *start, IAnjutaEditorCell *end, IAnjutaEditorCell **result_start, IAnjutaEditorCell **result_end, GError **err);
Search forward from start to end
| 
 | Self | 
| 
 | String to search for | 
| 
 | |
| 
 | Where to search from | 
| 
 | Where to stop searching | 
| 
 | Will be set to the start of the search_result (or NULL) | 
| 
 | Will be set to the end of the search_result (or NULL) | 
| 
 | Error propagation and reporting | 
| Returns : |